Jump to content

xXxRRLxXx

Members
  • Posts

    5
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by xXxRRLxXx

  1. What repair this patch: Apply Debuff "Unrelenting Assault" when Overpower hit a caster (Casting healing or Damage Spell). Reduces 25/50% damage or heal for 6 seconds. Autor of this patch: QAston from Trinity Unrelenting Assault http://www.wowhead.com/?spell=46860 http://www.wowhead.com/?spell=46859 diff --git a/src/game/game/SpellAuras.cpp b/src/game/SpellAuras.cpp --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2109,6 +2109,29 @@ void Aura::HandleAuraDummy(bool ap // AT APPLY if(apply) { + // Overpower + if (caster && m_spellProto->SpellFamilyName == SPELLFAMILY_WARRIOR && + m_spellProto->SpellFamilyFlags[0] & 0x4) + { + // Must be casting target + if (!m_target->IsNonMeleeSpellCasted(false)) + return; + if (AuraEffect * aurEff = caster->GetAuraEffect(SPELL_AURA_ADD_FLAT_MODIFIER, SPELLFAMILY_WARRIOR, 2775, 0)) + { + switch (aurEff->GetId()) + { + // Unrelenting Assault, rank 1 + case 46859: + caster->CastSpell(m_target,64849,true,NULL,aurEff); + break; + // Unrelenting Assault, rank 2 + case 46860: + caster->CastSpell(m_target,64850,true,NULL,aurEff); + break; + } + } + return; + } switch(GetId()) {
  2. Hello... I am looking for a way to add an Aura#xxx to a spell. Example: Add Aura#280 Value: 10 to Battle Stance: http://www.wowhead.com/?spell=2457 WoWHead: Effect #1 Apply Aura: Shapeshift (17) Effect #2 Apply Aura: ?? (Aura #280) Value: 10 Thanks for your help
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use