Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. using Terraria;
  2. using Terraria.ID;
  3. using Terraria.ModLoader;
  4.  
  5. namespace Cataclysm.NPCs.TheHallow
  6. {
  7. public class SpectralPixie : ModNPC
  8. {
  9. public override void SetStaticDefaults()
  10. {
  11. Main.npcFrameCount[npc.type] = Main.npcFrameCount[NPCID.Pixie];
  12. }
  13.  
  14. public override void SetDefaults()
  15. {
  16. npc.width = 18;
  17. npc.height = 40;
  18. npc.damage = 160;
  19. npc.defense = 40;
  20. npc.lifeMax = 400;
  21. npc.HitSound = SoundID.NPCHit5;
  22. npc.DeathSound = SoundID.NPCDeath7;
  23. npc.value = 60f;
  24. npc.knockBackResist = 0.5f;
  25. npc.aiStyle = 75;
  26. aiType = NPCID.Pixie;
  27. animationType = NPCID.Pixie;
  28. }
  29.  
  30. //public override float SpawnChance(NPCSpawnInfo spawnInfo)
  31. //=> Main.hardMode && spawnInfo.player.ZoneHallow && spawnInfo.spawnTileY ? 0.01f : 0f;
  32. }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement