mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 09:39:11 +00:00
refactor(Core): DespawnOrUnsummon (#23141)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user