Exemplo n.º 1
0
 public void IncreaseCurrentStacks()
 {
     if (!IsAtMaximumStacks())
     {
         SourceAbilityBuff.RemoveBuffFromAffectedUnit(affectedUnit, this);
         CurrentStacks++;
         SourceAbilityBuff.ApplyBuffToAffectedUnit(affectedUnit, this);
         HasStacksToUpdate = true;
     }
 }
Exemplo n.º 2
0
 public void RemoveBuff()
 {
     SourceAbilityBuff.RemoveBuffFromAffectedUnit(affectedUnit, this);
 }
Exemplo n.º 3
0
 private void UpdateBuffOnaffectedUnit(float oldValue, float newValue)
 {
     SourceAbilityBuff.RemoveBuffFromAffectedUnit(affectedUnit, this);
     SourceAbilityBuff.ApplyBuffToAffectedUnit(affectedUnit, this);
 }