public AbilityInfo ToAbility() { return(new AbilityInfo(dmg, ap, range, cooldown, buff.ToBuff(), areaBuff.ToBuff())); }
public AreaBuff ToBuff() { var res = new AreaBuff(Coord, Radius, Effect.ToBuff()); return(res.IsZero ? AreaBuff.ZeroBuff() : res); }