Created
January 20, 2012 09:13
-
-
Save Nighoo/1646313 to your computer and use it in GitHub Desktop.
dont stack lacerate and moonfire
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
From 5f8cfba36f9c4a5bcd4e0ae56e0658341346461d Mon Sep 17 00:00:00 2001 | |
From: Nighoo <nighoo@gmail.com> | |
Date: Sat, 9 Apr 2011 20:26:32 +0200 | |
Subject: dont stack lacerate and moonfire | |
--- | |
src/game/SpellMgr.cpp | 5 +++++ | |
1 files changed, 5 insertions(+), 0 deletions(-) | |
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp | |
index 0246722..56ef6cf 100644 | |
--- a/src/game/SpellMgr.cpp | |
+++ b/src/game/SpellMgr.cpp | |
@@ -2137,6 +2137,11 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons | |
case SPELLFAMILY_DRUID: | |
if (spellInfo_2->SpellFamilyName == SPELLFAMILY_DRUID) | |
{ | |
+ // Lacerate and Moonfire | |
+ if (spellInfo_1->SpellIconID == 225 && spellInfo_2->SpellIconID == 2246 || | |
+ spellInfo_2->SpellIconID == 225 && spellInfo_1->SpellIconID == 2246) | |
+ return false; | |
+ | |
//Omen of Clarity and Blood Frenzy | |
if (((spellInfo_1->SpellFamilyFlags == UI64LIT(0x0) && spellInfo_1->SpellIconID == 108) && (spellInfo_2->SpellFamilyFlags & UI64LIT(0x20000000000000))) || | |
((spellInfo_2->SpellFamilyFlags == UI64LIT(0x0) && spellInfo_2->SpellIconID == 108) && (spellInfo_1->SpellFamilyFlags & UI64LIT(0x20000000000000)))) | |
-- | |
1.7.2.5 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment