Advertisement
Guest User

Untitled

a guest
Apr 27th, 2012
8
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.15 KB | None | 0 0
  1. public void DealtNPC(NPC npc, double damage, Player player)
  2. {
  3.     if (Main.rand.Next(4) == 0) //50% chance to occur
  4.     {
  5.         npc.AddBuff(24, 300, false);
  6.     }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement