public void SetPersistentPower_CommitChange(Card card, int power) { if(_LastPersistenPower == -1 || _LastPersistenPower != power) { _LastPersistenPower = power; card.SetPersistentPower(power); Game.SendPacket(GameAction.PERSISTENT_POWER, card.pos, power); } }
public void ResetPersistentPower(Card c) { c.SetPersistentPower(0); _Game.SendPacket(GameAction.PERSISTENT_POWER, c.pos, 0); }