-
-
Save Demonid/9720333 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp | |
index 3e18213..23a2163 100644 | |
--- a/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp | |
+++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_icecrown_gunship_battle.cpp | |
@@ -2244,10 +2244,12 @@ class spell_igb_gunship_fall_teleport : public SpellScriptLoader | |
void RelocateDest(SpellEffIndex /*effIndex*/) | |
{ | |
+ Position offset1 = {0.0f, 0.0f, 36.0f, 0.0f}; | |
+ Position offset2 = {0.0f, 0.0f, 21.0f, 0.0f}; | |
if (GetCaster()->GetInstanceScript()->GetData(DATA_TEAM_IN_INSTANCE) == HORDE) | |
- GetHitDest()->RelocateOffset({ 0.0f, 0.0f, 36.0f, 0.0f }); | |
+ GetHitDest()->RelocateOffset(offset1); | |
else | |
- GetHitDest()->RelocateOffset({ 0.0f, 0.0f, 21.0f, 0.0f }); | |
+ GetHitDest()->RelocateOffset(offset2); | |
} | |
void Register() OVERRIDE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment