mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[10956] Implement support triggered spells in SCRIPT_COMMAND_CAST_SPELL
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
9174e5d085
commit
883e88fad5
5 changed files with 6 additions and 5 deletions
|
|
@ -2397,7 +2397,7 @@ void Map::ScriptsProcess()
|
|||
Unit* spellSource = (Unit*)cmdSource;
|
||||
|
||||
//TODO: when GO cast implemented, code below must be updated accordingly to also allow GO spell cast
|
||||
spellSource->CastSpell(spellTarget, step.script->castSpell.spellId, false);
|
||||
spellSource->CastSpell(spellTarget, step.script->castSpell.spellId, step.script->castSpell.flags & 0x04);
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue