Created
November 1, 2011 15:01
-
-
Save Retriman/1330713 to your computer and use it in GitHub Desktop.
Master Call Fix 1
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
@@ -301,11 +301,11 @@ class spell_hun_masters_call : public SpellScriptLoader | |
// it's more likely that on on retail it's possible to call target selector based on dbc values | |
// anyways, we're using GetTargetUnit() here and it's ok | |
if (Unit* ally = GetTargetUnit()) | |
{ | |
target->CastSpell(ally, GetEffectValue(), castMask); | |
- target->CastSpell(ally, GetSpellInfo()->Effects[EFFECT_0].CalcValue(), castMask); | |
+ target->CastSpell(ally, GetSpellInfo()->Effects[EFFECT_1].CalcValue(), castMask); | |
} | |
} | |
} | |
void Register() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment