public override bool UseItem(Player player) { SGAmod.CalamityNoRevengenceNoDeathNoU(); NPC.SpawnOnPlayer(player.whoAmI, mod.NPCType("Harbinger")); //Main.PlaySound(15, (int)player.position.X, (int)player.position.Y, 0); return(true); }
public override bool UseItem(Player player) { if (item.consumable == true) { SGAmod.CalamityNoRevengenceNoDeathNoU(); NPC.SpawnOnPlayer(player.whoAmI, mod.NPCType("SPinky")); Main.PlaySound(15, (int)player.position.X, (int)player.position.Y, 0); //player.GetModPlayer<SGAPlayer>().Locked=new Vector2(player.Center.X-2000,4000); } return(true); }