mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-25 04:22:26 +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:
parent
b05dd45d62
commit
e5822a0c4a
@ -6,6 +6,7 @@ Note: identifier is the stat field in spells_new, slot is used for certain effec
|
|||||||
Example $mob->GetSpellStat(121, "range"); //Returns spell range
|
Example $mob->GetSpellStat(121, "range"); //Returns spell range
|
||||||
Example $mob->GetSpellStat(121, "effectid", 1); //Returns the the value of effectid1
|
Example $mob->GetSpellStat(121, "effectid", 1); //Returns the the value of effectid1
|
||||||
This will allow you to pull almost all the data for any spell in quest files.
|
This will allow you to pull almost all the data for any spell in quest files.
|
||||||
|
demonstar55: Move the client's SetAttackTimer to the end of Client::CalcBonuses to keep the haste in sync
|
||||||
|
|
||||||
== 09/24/2014 ==
|
== 09/24/2014 ==
|
||||||
Uleat: Re-ordered server opcodes and handlers to give them some predictability of location (I need this for the inventory re-enumeration.)
|
Uleat: Re-ordered server opcodes and handlers to give them some predictability of location (I need this for the inventory re-enumeration.)
|
||||||
|
|||||||
@ -104,6 +104,8 @@ void Client::CalcBonuses()
|
|||||||
CalcMaxMana();
|
CalcMaxMana();
|
||||||
CalcMaxEndurance();
|
CalcMaxEndurance();
|
||||||
|
|
||||||
|
SetAttackTimer();
|
||||||
|
|
||||||
rooted = FindType(SE_Root);
|
rooted = FindType(SE_Root);
|
||||||
|
|
||||||
XPRate = 100 + spellbonuses.XPRateMod;
|
XPRate = 100 + spellbonuses.XPRateMod;
|
||||||
@ -174,8 +176,6 @@ void Client::CalcItemBonuses(StatBonuses* newbon) {
|
|||||||
|
|
||||||
if(newbon->EnduranceRegen > CalcEnduranceRegenCap())
|
if(newbon->EnduranceRegen > CalcEnduranceRegenCap())
|
||||||
newbon->EnduranceRegen = CalcEnduranceRegenCap();
|
newbon->EnduranceRegen = CalcEnduranceRegenCap();
|
||||||
|
|
||||||
SetAttackTimer();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Client::AddItemBonuses(const ItemInst *inst, StatBonuses* newbon, bool isAug, bool isTribute) {
|
void Client::AddItemBonuses(const ItemInst *inst, StatBonuses* newbon, bool isAug, bool isTribute) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user