Example #1
0
 public void OnDiscard()
 {
     this.markToDestroy = false;
     this.battle        = null;
     this._caster       = null;
     this._target       = null;
     this._data         = null;
 }
Example #2
0
        public static BuffData GetBuffData(string id)
        {
            if (BUFF_DATA.TryGetValue(id, out BuffData data))
            {
                return(data);
            }

            data          = new BuffData(id);
            BUFF_DATA[id] = data;
            return(data);
        }