mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Scripts/Spells: Remove a not needed cast in spell_q12372_cast_from_gossip_trigger
This commit is contained in:
@@ -1261,9 +1261,9 @@ class spell_q12372_cast_from_gossip_trigger : public SpellScriptLoader
|
||||
|
||||
void HandleScript(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
Player* caster = GetCaster()->ToPlayer();
|
||||
caster->CastSpell(caster, SPELL_SUMMON_WYRMREST_DEFENDER, true);
|
||||
GetCaster()->CastSpell(caster, SPELL_SUMMON_WYRMREST_DEFENDER, true);
|
||||
}
|
||||
|
||||
void Register()
|
||||
{
|
||||
OnEffectHitTarget += SpellEffectFn(spell_q12372_cast_from_gossip_trigger_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT);
|
||||
|
||||
Reference in New Issue
Block a user