Exemplo n.º 1
0
 public void AddBuff(TimedBuff buff)
 {
     if (_buffs.ContainsKey(buff.Buff))
     {
         _buffs[buff.Buff].Activate();
     }
     else
     {
         _buffs.Add(buff.Buff, buff);
         buff.Activate();
     }
 }
Exemplo n.º 2
0
 public void AddBuff(TimedBuff buff)
 {
     if (buffList.ContainsKey(buff.ScriptedBuff))
     {
         buffList[buff.ScriptedBuff].Activate();
     }
     else
     {
         buffList.Add(buff.ScriptedBuff, buff);
         buff.Activate();
     }
 }
 public void AddBuff(TimedBuff buff)
 {
     CurrentBuffs.Add(buff);
     buff.Activate();
 }