TrinityCore icon indicating copy to clipboard operation
TrinityCore copied to clipboard

Volley, Rain of Fire & Blizzard

Open Wattiqelumes opened this issue 13 years ago • 6 comments

Volley: If you're autoshooting at your target, it does not stop when you cast Volley. Rain of Fire & Blizzard: If you're using wand at your target, it does not stop when you cast Rain of Fire or Blizzard.

Wattiqelumes avatar May 07 '11 16:05 Wattiqelumes

can't reproduce. I've created a mage, added a Wand to him, start shooting and then cast Blizzard - Wand attack was cancelled

tobmaps avatar May 07 '11 17:05 tobmaps

Seems like Rain of Fire and Blizzard started working. :)

Volley is still bugged though.

Wattiqelumes avatar May 07 '11 17:05 Wattiqelumes

Can you try the Volley one I described?

Wattiqelumes avatar May 07 '11 19:05 Wattiqelumes

okay, this a bug with Autoshot, not with Volley. Will try to fix it later

tobmaps avatar May 07 '11 19:05 tobmaps

Oh, I apologise. :)

Sorry for the constant closing, I didn't know I pressed "Comment & Close", haha.

Wattiqelumes avatar May 07 '11 19:05 Wattiqelumes

seems this isn't a bug at all. Volley has SPELL_ATTR2_NOT_RESET_AUTO_ACTIONS here the code that handles it, in bool Unit::IsNonMeleeSpellCasted

// channeled spells may be delayed, but they are still considered casted
else if (!skipChanneled && m_currentSpells[CURRENT_CHANNELED_SPELL] &&
    (m_currentSpells[CURRENT_CHANNELED_SPELL]->getState() != SPELL_STATE_FINISHED))
{
    if (!isAutoshoot || !(m_currentSpells[CURRENT_CHANNELED_SPELL]->m_spellInfo->AttributesEx2 & SPELL_ATTR2_NOT_RESET_AUTO_ACTIONS))
        return(true);
}

maybe it shouldn't interrupt it but at least should reset attack timer

tobmaps avatar May 08 '11 16:05 tobmaps