Skip to content

Instantly share code, notes, and snippets.

@Retriman
Created November 1, 2011 15:01
Show Gist options
  • Save Retriman/1330713 to your computer and use it in GitHub Desktop.
Save Retriman/1330713 to your computer and use it in GitHub Desktop.
Master Call Fix 1
@@ -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