mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 08:22:17 +00:00
Added mod_spell_cast and various mod_functions fixes.
This commit is contained in:
1 parent
fa0196b987
commit
0ee54f1117
3 files changed
+50
-10
No files matched your search
@@ -3077,6 +3077,8 @@ bool Mob::SpellOnTarget(uint16 spell_id, Mob* spelltar, bool reflect, bool use_r
|
||||
parse->EventNPC(EVENT_CAST_ON, spelltar->CastToNPC(), this, temp1, 0);
|
||||
}
|
||||
|
||||
mod_spell_cast(spell_id, spelltar, reflect, use_resist_adjust, resist_adjust, isproc);
|
||||
|
||||
// now check if the spell is allowed to land
|
||||
|
||||
// invuln mobs can't be affected by any spells, good or bad
|
||||
|
||||
Reference in new issue
Block a user