Jump to content

mifan

Members
  • Posts

    2
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by mifan

  1. the upper one of the two logs is correct, i tested and verified on official servers (3.2.2a). Divine Storm should proc seal exactly once on EVERY target it hits. so there should be no problem with my patch.
  2. first of all, thank you for your incredible works! ok, then, i find a way to solve this problem you addressed. here goes my patch: --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2573,6 +2573,14 @@ void Spell::cast(bool skipCheck) FillTargetMap(); + // let not attack nearby enemies when Seal of Command is triggered by Divine Storm + if (m_spellInfo->Id == 20424) { + if (m_caster->FindCurrentSpellBySpellId(53385)) { + for (int numTargets = m_UniqueTargetInfo.size(); numTargets > 1; numTargets--) + m_UniqueTargetInfo.pop_back(); + } + } + if(m_spellState == SPELL_STATE_FINISHED) // stop cast if spell marked as finish somewhere in FillTargetMap { SetExecutedCurrently(false);
×
×
  • 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