Advertisement
Guest User

Untitled

a guest
Dec 17th, 2012
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.23 KB | None | 0 0
  1. public static void Kill.NPC (int x, int y, Player player) {
  2.  
  3.     if (( (int) NPC[x,y].type = 3 ) && ( Main.rand.Next(10) < 5 )) {Item.NewItem((int)player.position.X,(int)player.position.Y -100,16,18,"Ancient Greatsword");
  4.   }
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement