mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 22:17:16 +00:00
Keep track of base spell id for SpellProcs/PermaProcs
This will fix numhits issue for procs from spells
This commit is contained in:
1 parent
808977f69a
commit
451d422b8a
5 files changed
+9
-9
No files matched your search
@@ -1695,9 +1695,9 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
|
||||
#endif
|
||||
|
||||
if(spells[spell_id].base2[i] == 0)
|
||||
AddProcToWeapon(procid, false, 100);
|
||||
AddProcToWeapon(procid, false, 100, spell_id);
|
||||
else
|
||||
AddProcToWeapon(procid, false, spells[spell_id].base2[i]+100);
|
||||
AddProcToWeapon(procid, false, spells[spell_id].base2[i]+100, spell_id);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user