Exemplo n.º 1
0
 public override bool UseItem(Player player)
 {
     if (item.owner == Main.myPlayer)
     {
         QwertyMethods.SpawnBoss(player, mod.NPCType("RuneSpector"));
     }
     Main.PlaySound(SoundID.Roar, player.position, 0);
     return(true);
 }
Exemplo n.º 2
0
 public override bool UseItem(Player player)
 {
     //NPC.SpawnOnPlayer(player.whoAmI, mod.NPCType("Hydra"));
     if (item.owner == Main.myPlayer)
     {
         QwertyMethods.SpawnBoss(player, mod.NPCType("Hydra"));
     }
     Main.PlaySound(SoundID.Roar, player.position, 0);
     return(true);
 }
Exemplo n.º 3
0
 public override bool UseItem(Player player)
 {
     //NPC.SpawnOnPlayer(player.whoAmI, mod.NPCType("BossFour"));
     //NPC npc = Main.npc[NPC.NewNPC((int)(player.position.X), (int)(player.position.Y - 3000), mod.NPCType("OLORDv2"))];
     if (item.owner == Main.myPlayer)
     {
         QwertyMethods.SpawnBoss(player, mod.NPCType("OLORDv2"));
     }
     Main.PlaySound(SoundID.Roar, player.position, 0);
     return(true);
 }