Jump to content

JPlady42

Members
  • Posts

    37
  • Joined

  • Last visited

  • Days Won

    2
  • Donations

    0.00 GBP 

Bug Comments posted by JPlady42

  1. 17 minutes ago, Olion said:

    Could you give here few examples of such creatures? To check a possible fix.

    First example: Go to Hellfire Peninsula and attack Bonechewer casters. If you interrupt them, they do nothing until they can cast again.

    Same for every other creature in the game.

     

  2. // Devastate
                if (m_spellInfo->SpellVisual == 671 && m_spellInfo->SpellIconID == 1508)
                {
                    customBonusDamagePercentMod = true;
                    bonusDamagePercentMod = 0.0f;               // only applied if auras found

                    // Sunder Armor
                    Aura* sunder = unitTarget->GetAura(SPELL_AURA_MOD_RESISTANCE, SPELLFAMILY_WARRIOR, UI64LIT(0x0000000000004000), m_caster->GetObjectGuid());

                    // Devastate bonus and sunder armor refresh, additional threat
                    if (sunder)
                    {
                        sunder->GetHolder()->RefreshHolder();

                        // 100% * stack
                        bonusDamagePercentMod += 1.0f * sunder->GetStackAmount();

                        // 25 * stack
                        unitTarget->AddThreat(m_caster, 25.0f * sunder->GetStackAmount(), false, GetSpellSchoolMask(m_spellInfo), m_spellInfo);

                      // Cast sunder armor

                      m_caster->CastSpell(unitTarget, 11597, true);
                    }
                    else
                        m_caster->CastSpell(unitTarget, 11597, true);
                }
                break;
            }

×
×
  • 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