Skip to content

Instantly share code, notes, and snippets.

@D4R4
Last active September 5, 2019 08:01
Show Gist options
  • Save D4R4/853f9521c7c1bf95614b to your computer and use it in GitHub Desktop.
Save D4R4/853f9521c7c1bf95614b to your computer and use it in GitHub Desktop.
Don't let grabbed players make Defile bigger
diff -r 5a94d526dd3a src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp
--- a/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp Mon Feb 09 10:51:06 2015 +0330
+++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp Thu Feb 12 15:42:01 2015 +0330
@@ -2848,6 +2848,7 @@
void CorrectRange(std::list<WorldObject*>& targets)
{
targets.remove_if(ExactDistanceCheck(GetCaster(), 10.0f * GetCaster()->GetObjectScale()));
+ targets.remove_if(Trinity::UnitAuraCheck(true, SPELL_HARVEST_SOUL_VALKYR));
}
void ChangeDamageAndGrow()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment