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