public override int Visit(GainCPAttack attack) { Caller.Mana += attack.Cp; foreach (CharacterEnum c in GameManager.UserDict.Keys.ToList()) { AddResponse(c, new PlayerModifiedResponse(Caller.Character, Caller.Mana, Caller.Health)); } return(attack.Power); }
public override int Visit(GainCPAttack attack) { return(0); }
// Attacks public abstract int Visit(GainCPAttack attack);