mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 04:42:10 +01:00
*[8508] Not assign boolean value to integer variable, expecting to always be 0. Also renaming member variables. Author: NoFantasy
*[8516] Implement spell 53271. Author: Shendor *[8519] Use RuneType enum where appropriate and more explicit data for rune init. Author: VladimirMangos Thanks to: Stryker *[8520] Limit telent 49182 and ranks triggering expected:wq runes cooldown case. Author: Shendor *Fix Herald Volazj wrongly targeting himself on Shadow Bolt Volley instead of randomly targeting on Shiver, by tlexii. --HG-- branch : trunk
This commit is contained in:
@@ -92,13 +92,14 @@ struct TRINITY_DLL_DECL boss_volazjAI : public ScriptedAI
|
||||
|
||||
if (uiShadowBoltVolleyTimer < diff)
|
||||
{
|
||||
DoCast(m_creature, HeroicMode ? H_SPELL_SHADOW_BOLT_VOLLEY : SPELL_SHADOW_BOLT_VOLLEY);
|
||||
DoCast(m_creature->getVictim(), HeroicMode ? H_SPELL_SHADOW_BOLT_VOLLEY : SPELL_SHADOW_BOLT_VOLLEY);
|
||||
uiShadowBoltVolleyTimer = 5000;
|
||||
} else uiShadowBoltVolleyTimer -= diff;
|
||||
|
||||
if (uiShiverTimer < diff)
|
||||
{
|
||||
DoCast(m_creature, HeroicMode ? H_SPELL_SHIVER : SPELL_SHIVER);
|
||||
if (Unit * target = SelectUnit(SELECT_TARGET_RANDOM, 0))
|
||||
DoCast(target, HeroicMode ? H_SPELL_SHIVER : SPELL_SHIVER);
|
||||
uiShiverTimer = 15000;
|
||||
} else uiShiverTimer -= diff;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user