Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public override void AI()
- {
- if(npc.life <= 50) //Basically when he is under 50 HP he will shoot a projectile rapidly at the player
- {
- Projectile.NewProjectile(npc.center, (“TestProjectile”));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement