Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Terraria;
- using Terraria.ID;
- using Terraria.ModLoader;
- namespace GoodMod.NPCs
- {
- [AutoloadBossHead]
- class Cataridocy : ModNPC
- {
- public override void SetStaticDefaults()
- {
- DisplayName.SetDefault("Cataridocy");
- }
- public override void SetDefaults()
- {
- npc.CloneDefaults(NPCID.Retinazer);
- aiType = NPCID.Retinazer;
- npc.width = 42;
- npc.height = 76;
- npc.damage = 170;
- item.shoot = mod.ProjectileType ("BlueBall");
- }
- public override void ScaleExpertStats(int numPlayers, float bossLifeScale)
- {
- npc.lifeMax = (int)(npc.lifeMax * 0.5f * bossLifeScale);
- npc.damage = (int)(npc.damage * 0.55f);
- }
- public override float SpawnChance(NPCSpawnInfo spawnInfo)
- {
- if(NPC.downedMoonlord == true)
- {
- SpawnCondition.(npc.getRect(), mod.ItemType("TheThirdEye"));
- SpawnCondition.OverworldNight.Chance * 0.0f;
- return true;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement