mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[9457] Implement spell/attack power bonus for 59547 and similar spells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com> Also fix build in prev. rev. in result my not added changes.
This commit is contained in:
parent
1e05a737bd
commit
530be51dc5
3 changed files with 26 additions and 2 deletions
|
|
@ -1155,7 +1155,7 @@ bool SpellMgr::IsSpellProcEventCanTriggeredBy(SpellProcEventEntry const * spellP
|
|||
if (procEvent_procEx & PROC_EX_EX_TRIGGER_ALWAYS)
|
||||
return true;
|
||||
// Passive spells can`t trigger if need hit (exclude cases when procExtra include non-active flags)
|
||||
((procEvent_procEx & PROC_EX_NORMAL_HIT & procExtra) && !active)
|
||||
if ((procEvent_procEx & PROC_EX_NORMAL_HIT & procExtra) && !active)
|
||||
return false;
|
||||
// Check Extra Requirement like (hit/crit/miss/resist/parry/dodge/block/immune/reflect/absorb and other)
|
||||
if (procEvent_procEx & procExtra)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue