private void RunBonus(BaseBonus bonus) { if (bonus.IsConstant) { bonus.RunEffect(); return; } if (!bonus.IsActive) { bonus.RunEffect(); } else { bonus.ResetDuration(); } }
private void RunBonus(BaseBonus bonus) { if (bonus.IsConstant) { bonus.RunEffect(); return; } if (!bonus.IsCurrentlyExecuting) { bonus.RunEffect(); } else { bonus.ResetDuration(); } }