public override bool UseItem(Player player)
 {
     if (Negadium.IsInHell(player.position))
     {
         NPC.SpawnOnPlayer(Main.myPlayer, mod.NPCType("SatansServant"));
         Main.PlaySound(15, (int)player.position.X, (int)player.position.Y, 0);
     }
     else
     {
         Main.NewText("This action can only be performed in hell!", 255, 255, 0, true);
         item.stack++;
     }
     return(true);
 }
Beispiel #2
0
 public override bool UseItem(Player player)
 {
     Negadium.SpawnOnPlayer(player.whoAmI, mod.NPCType("HydraBody"), true);
     return(true);
 }