mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-16 21:12:26 +00:00
SUB EVENT CAST ON will now be parsed in player.pl
(note: exports $spell_id)
This commit is contained in:
parent
41cbe5fb01
commit
fc48a109fd
@ -3339,6 +3339,12 @@ bool Mob::SpellOnTarget(uint16 spell_id, Mob* spelltar, bool reflect, bool use_r
|
||||
sprintf(temp1, "%d", spell_id);
|
||||
parse->EventNPC(EVENT_CAST_ON, spelltar->CastToNPC(), this, temp1, 0);
|
||||
}
|
||||
else if (spelltar->IsClient())
|
||||
{
|
||||
char temp1[100];
|
||||
sprintf(temp1, "%d", spell_id);
|
||||
parse->EventPlayer(EVENT_CAST_ON, spelltar->CastToClient(),temp1, 0);
|
||||
}
|
||||
|
||||
mod_spell_cast(spell_id, spelltar, reflect, use_resist_adjust, resist_adjust, isproc);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user