Correction to previous commit (Use proper way to delete from spell_script_names)
This commit is contained in:
1 parent
61979f8591
commit
fb7a544d84
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id`=72221;
|
||||
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_gen_luck_of_the_draw';
|
||||
@@ -102,7 +102,7 @@ void LFGPlayerScript::OnMapChanged(Player* player)
|
||||
if (sLFGMgr->selectedRandomLfgDungeon(player->GetGUID()))
|
||||
player->CastSpell(player, LFG_SPELL_LUCK_OF_THE_DRAW, true);
|
||||
}
|
||||
else // if (player->HasAura(lfg:LFG_SPELL_LUCK_OF_THE_DRAW))
|
||||
else
|
||||
player->RemoveAurasDueToSpell(LFG_SPELL_LUCK_OF_THE_DRAW);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user