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