示例#1
0
 public AbilityInfo ToAbility()
 {
     return(new AbilityInfo(dmg, ap, range, cooldown, buff.ToBuff(), areaBuff.ToBuff()));
 }
示例#2
0
        public AreaBuff ToBuff()
        {
            var res = new AreaBuff(Coord, Radius, Effect.ToBuff());

            return(res.IsZero ? AreaBuff.ZeroBuff() : res);
        }