From 776a69eb8bebebba5ffa2057e2fe2617eaf2f3a3 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Fri, 12 Oct 2018 15:12:10 +0200 Subject: [PATCH] Scripts/TotFW: fixed some minor codestyle and typo parts --- .../Kalimdor/ThroneOfTheFourWinds/boss_conclave_of_wind.cpp | 2 +- .../instance_throne_of_the_four_winds.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/server/scripts/Kalimdor/ThroneOfTheFourWinds/boss_conclave_of_wind.cpp b/src/server/scripts/Kalimdor/ThroneOfTheFourWinds/boss_conclave_of_wind.cpp index 8d130cee8be..d97ef29eb11 100644 --- a/src/server/scripts/Kalimdor/ThroneOfTheFourWinds/boss_conclave_of_wind.cpp +++ b/src/server/scripts/Kalimdor/ThroneOfTheFourWinds/boss_conclave_of_wind.cpp @@ -1213,7 +1213,7 @@ class spell_conclave_of_wind_toxic_spores : public SpellScript void HandleCast(SpellEffIndex effIndex) { PreventHitDefaultEffect(effIndex); - GetHitUnit()->CastSpell(GetHitUnit(), GetSpellInfo()->Effects[effIndex].TriggerSpell, false); + GetHitUnit()->CastSpell(GetHitUnit(), GetSpellInfo()->Effects[effIndex].TriggerSpell); } void Register() override diff --git a/src/server/scripts/Kalimdor/ThroneOfTheFourWinds/instance_throne_of_the_four_winds.cpp b/src/server/scripts/Kalimdor/ThroneOfTheFourWinds/instance_throne_of_the_four_winds.cpp index faebef2c018..95cbb82bce0 100644 --- a/src/server/scripts/Kalimdor/ThroneOfTheFourWinds/instance_throne_of_the_four_winds.cpp +++ b/src/server/scripts/Kalimdor/ThroneOfTheFourWinds/instance_throne_of_the_four_winds.cpp @@ -139,9 +139,9 @@ class instance_throne_of_the_four_winds : public InstanceMapScript { if (GameObject* effect1 = GetGameObject(DATA_SKYWALL_DJIN_TORNADO)) effect1->SetGoState(GO_STATE_READY); - if (GameObject* effect2 = GetGameObject(DATA_SKYWALL_DJIN_TORNADO)) + if (GameObject* effect2 = GetGameObject(DATA_SKYWALL_DJIN_FROST)) effect2->SetGoState(GO_STATE_READY); - if (GameObject* effect3 = GetGameObject(DATA_SKYWALL_DJIN_TORNADO)) + if (GameObject* effect3 = GetGameObject(DATA_SKYWALL_DJIN_HEALING)) effect3->SetGoState(GO_STATE_READY); events.CancelEvent(EVENT_ENERGIZE);