Update SpellProcess.cpp
This commit is contained in:
parent
82e94d0328
commit
0a52ab2933
@ -3027,7 +3027,7 @@ void SpellProcess::AddSelfAndPetToCharTargets(LuaSpell* spell, Spawn* caster, bo
|
|||||||
void SpellProcess::DeleteActiveSpell(LuaSpell* spell, bool skipRemoveCurrent) {
|
void SpellProcess::DeleteActiveSpell(LuaSpell* spell, bool skipRemoveCurrent) {
|
||||||
if(!skipRemoveCurrent)
|
if(!skipRemoveCurrent)
|
||||||
lua_interface->RemoveCurrentSpell(spell->state, spell, true);
|
lua_interface->RemoveCurrentSpell(spell->state, spell, true);
|
||||||
active_spells.Remove(spell, true, 2000);
|
active_spells.Remove(spell, true, 10000);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SpellProcess::AddLuaSpellTarget(LuaSpell* lua_spell, int32 id, bool lock_spell_targets) {
|
bool SpellProcess::AddLuaSpellTarget(LuaSpell* lua_spell, int32 id, bool lock_spell_targets) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user