mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Fix client SetAttackTimer issue
Moved the call to the end of Client::CalcBonuses() since it depends on Client::CalcHaste() which requires a bunch of others to be called before it.
This commit is contained in:
+2
-2
@@ -104,6 +104,8 @@ void Client::CalcBonuses()
|
||||
CalcMaxMana();
|
||||
CalcMaxEndurance();
|
||||
|
||||
SetAttackTimer();
|
||||
|
||||
rooted = FindType(SE_Root);
|
||||
|
||||
XPRate = 100 + spellbonuses.XPRateMod;
|
||||
@@ -174,8 +176,6 @@ void Client::CalcItemBonuses(StatBonuses* newbon) {
|
||||
|
||||
if(newbon->EnduranceRegen > CalcEnduranceRegenCap())
|
||||
newbon->EnduranceRegen = CalcEnduranceRegenCap();
|
||||
|
||||
SetAttackTimer();
|
||||
}
|
||||
|
||||
void Client::AddItemBonuses(const ItemInst *inst, StatBonuses* newbon, bool isAug, bool isTribute) {
|
||||
|
||||
Reference in New Issue
Block a user