Ejemplo n.º 1
0
 public JsonAbility(int dmg, int ap, int range, int cooldown, JsonBuff buff, JsonAreaBuff areaBuff)
 {
     this.dmg      = dmg;
     this.ap       = ap;
     this.range    = range;
     this.cooldown = cooldown;
     this.buff     = buff;
     this.areaBuff = areaBuff;
 }
Ejemplo n.º 2
0
 public JsonAreaBuff(AreaBuff areaBuff)
 {
     Coord  = areaBuff.Coord;
     Radius = areaBuff.Radius;
     Effect = new JsonBuff(areaBuff.Effect);
 }