Exemplo n.º 1
0
        public override void RightClick(Player player)
        {
            player.QuickSpawnItem(item.type);
            PlayerChanges modPlayer = (PlayerChanges)player.GetModPlayer(mod, "PlayerChanges");

            if (modPlayer.activeMark != markId)
            {
                modPlayer.activeMark   = markId;
                modPlayer.markDuration = itemDuration;
                Main.NewText("<" + player.name + "> just set it mark to " + DisplayName.GetDefault() + ".", 255, 0, 255);
            }
        }