aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMachiavelli <none@none>2010-05-11 18:43:47 +0200
committerMachiavelli <none@none>2010-05-11 18:43:47 +0200
commitbf9694a35408237320fdd26908a55f396999c24b (patch)
tree211373961ffa50a2dc37be3b23c92bc98df465e8
parent19010df80fca2389107ba161afcb6e7a733b4a61 (diff)
Spell custom attribute data for Northrend faction commendation badges (spells 61306,61308,61311,61312,69757). They now give proper reputation
--HG-- branch : trunk
-rw-r--r--src/game/SpellMgr.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 23910ba1d30..6c7ae5c98f8 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -3849,7 +3849,16 @@ void SpellMgr::LoadSpellCustomAttr()
break;
case 53651:
spellInfo->AttributesEx3 |= SPELL_ATTR_EX3_NO_INITIAL_AGGRO;
+ count++;
break;
+ case 61306: // Kirin Tor Commendation Badge
+ case 61308: // Wyrmrest Commendation Badge
+ case 61311: // Argent Crusade Commendation Badge
+ case 61312: // Ebon Blade Commendadtion Badge
+ case 69757: // Sons of Hodir Commendation Badge
+ spellInfo->EffectBasePoints[0] = 519; // Some suggest a global multiplier is used for rep gain
+ count++; // but basepoints * 1,3 hard coded in the tooltip says
+ break; // otherwise.
default:
break;
}