mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
Scripts/TotFW: fixed some minor codestyle and typo parts
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user