All pastes #902046 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-02-13 03:02 UTC
rendered paste body
Index: src/game/ObjectMgr.cpp
===================================================================
--- src/game/ObjectMgr.cpp	(revision 4842)
+++ src/game/ObjectMgr.cpp	(working copy)
@@ -4814,6 +4814,13 @@
     if(spellInfo_2->Id==15007)
         return false;
 
+	// Battle Shout and Rampage
+    if( spellInfo_1->SpellFamilyName == SPELLFAMILY_WARRIOR &&
+        spellInfo_2->SpellFamilyName == SPELLFAMILY_WARRIOR &&
+      ((spellInfo_1->SpellIconID == 456 && spellInfo_2->SpellIconID == 2006) ||
+       (spellInfo_1->SpellIconID == 2006 && spellInfo_2->SpellIconID == 456) ))
+        return false;
+
     // Paladin Seals
     if( IsSealSpell(spellId_1) && IsSealSpell(spellId_2) )
         return true;