Lukas04
Official Terrarian
Put this in the swords.cs
[doublepost=1463240110,1463239980][/doublepost] I'm pretty sure if you just return true for public override bool CanTownNPCSpawn(int numTownNPCs, int money), that town npc will move in when he can. Aka, only a table, wall and chairs are required.Code:public override void OnHitNPC(Player player, NPC target, int damage, float knockback, bool crit) { player.statLife += 6; //Heals by 6; Can be changed of course player.HealEffect(6); //Shows a green 6 above your head to show you've been healed; Can be changed of course }
I found it out myself C:
But i have an another Question
Do you know how to make an Item only Drop in an Specifik Biome?
also how the
if ()
whould looks like