Scripts/TotFW: fixed some minor codestyle and typo parts
This commit is contained in:
1 parent
efe8d3e1c5
commit
776a69eb8b
2 files changed
+3
-3
No files matched your search
@@ -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
|
||||
|
||||
+2
-2
@@ -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