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