Code
diff --git a/src/game/Map.cpp b/src/game/Map.cpp
index 7de4dfa..b5d228a 100644
--- a/src/game/Map.cpp
+++ b/src/game/Map.cpp
@@ -1644,6 +1644,9 @@ uint16 Map::GetAreaFlag(float x, float y, float z) const
case 2484: // The Twilight Rivulet (Crystalsong Forest)
case 2492: // Forlorn Woods (Crystalsong Forest)
if (x > 5568.0f && x < 6116.0f && y > 282.0f && y < 982.0f && z > 563.0f) areaflag = 2153; break;
+ // Vargoth's Retreat
+ case 2504:
+ if (x > 5747.0f && x < 5780.0f && y > 845.0f && y < 878.0f && z > 864.0f) areaflag = 2748; break;
// Maw of Neltharion (cave)
case 164: // Dragonblight
case 1797: // Obsidian Dragonshrine (Dragonblight)
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 8fbc3af..790b1f0 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -4890,6 +4890,16 @@ void Spell::EffectScriptEffect(uint32 effIndex)
return;
}
+ case 59317:
+ if(!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
+ return;
+ if(((Player*)unitTarget)->GetAreaId() == 4637 )
+ { unitTarget->CastSpell(unitTarget, 59316, true);}
+ else if(((Player*)unitTarget)->GetAreaId() != 4637 )
+ { unitTarget->CastSpell(unitTarget, 59314, true);};
+
+
+ break;
// random spell learn instead placeholder
case 60893: // Northrend Alchemy Research
case 61177: // Northrend Inscription Research