Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Terraria;
- using Terraria.ID;
- using Terraria.ModLoader;
- using Terraria.GameContent.Generation;
- using Terraria.World.Generation;
- using System.Collections.Generic;
- using System;
- using Terraria.ModLoader.IO;
- using System.IO;
- namespace OmegasArsenal.Enemies
- {
- public class EnchantedCopperPickaxe : ModNPC // ModNPC is used for Custom NPCs
- {
- public override void SetStaticDefaults()
- {
- DisplayName.SetDefault("Enchanted Copper Pickaxe");
- }
- public override void SetDefaults()
- {
- /* Removed as of 0.10
- //npc.name = "Tutorial Zombie";
- //npc.displayName = "Tutorial Zombie";
- */
- npc.width = 68;
- npc.height = 82;
- npc.damage = 9;
- npc.defense = 24;
- npc.lifeMax = 200;
- npc.HitSound = SoundID.NPCHit4;
- npc.DeathSound = SoundID.NPCDeath6;
- npc.value = 100f;
- npc.boss = false;
- npc.knockBackResist = 0.35f;
- npc.aiStyle = 23;
- aiType = NPCID.EnchantedSword; // aiType = 3;
- }
- public override float SpawnChance(NPCSpawnInfo spawnInfo) {
- return Main.hardMode SpawnCondition.Overworld.Chance * 0.15f;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement