refactor(Core): DespawnOrUnsummon (#23141)
This commit is contained in:
parent
8e2e30328f
commit
53238a68d3
148 changed files with 363 additions and 366 deletions
|
|
@ -3706,7 +3706,7 @@ class spell_gen_despawn_self : public SpellScript
|
|||
void HandleDummy(SpellEffIndex effIndex)
|
||||
{
|
||||
if (GetSpellInfo()->Effects[effIndex].Effect == SPELL_EFFECT_DUMMY || GetSpellInfo()->Effects[effIndex].Effect == SPELL_EFFECT_SCRIPT_EFFECT)
|
||||
GetCaster()->ToCreature()->DespawnOrUnsummon(1);
|
||||
GetCaster()->ToCreature()->DespawnOrUnsummon(1ms);
|
||||
}
|
||||
|
||||
void Register() override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue