mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-16 00:22:25 +00:00
Merge pull request #369 from KayenEQ/Development
Should fix spell bonuses not being applied properly
This commit is contained in:
commit
20712ce0e6
@ -1443,7 +1443,7 @@ void Mob::CalcSpellBonuses(StatBonuses* newbon)
|
|||||||
int buff_count = GetMaxTotalSlots();
|
int buff_count = GetMaxTotalSlots();
|
||||||
for(i = 0; i < buff_count; i++) {
|
for(i = 0; i < buff_count; i++) {
|
||||||
if(buffs[i].spellid != SPELL_UNKNOWN){
|
if(buffs[i].spellid != SPELL_UNKNOWN){
|
||||||
ApplySpellsBonuses(buffs[i].spellid, buffs[i].casterlevel, newbon, buffs[i].casterid, false,0, buffs[i].ticsremaining,i);
|
ApplySpellsBonuses(buffs[i].spellid, buffs[i].casterlevel, newbon, buffs[i].casterid, 0, buffs[i].ticsremaining,i);
|
||||||
|
|
||||||
if (buffs[i].numhits > 0)
|
if (buffs[i].numhits > 0)
|
||||||
Numhits(true);
|
Numhits(true);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user