mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
*Correct Sapphiron's Blizzard spell DoSummon parameters
*Glyph of Blocking, thanks Sisif --HG-- branch : trunk
This commit is contained in:
@@ -255,8 +255,8 @@ struct TRINITY_DLL_DECL boss_sapphironAI : public BossAI
|
||||
case EVENT_BLIZZARD:
|
||||
{
|
||||
//DoCastAOE(SPELL_SUMMON_BLIZZARD);
|
||||
if(Creature *summon = DoSummon(MOB_BLIZZARD, me, 25000+rand()%5000, TEMPSUMMON_TIMED_DESPAWN))
|
||||
summon->GetMotionMaster()->MoveRandom(40);
|
||||
if (Creature *pSummon = DoSummon(MOB_BLIZZARD, me, 0.0f, urand(25000,30000), TEMPSUMMON_TIMED_DESPAWN))
|
||||
pSummon->GetMotionMaster()->MoveRandom(40);
|
||||
events.ScheduleEvent(EVENT_BLIZZARD, HEROIC(20000,7000), 0, PHASE_GROUND);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -4859,7 +4859,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
||||
{
|
||||
switch (dummySpell->Id)
|
||||
{
|
||||
// BloodWorms Health Leech
|
||||
// Bloodworms Health Leech
|
||||
case 50453:
|
||||
{
|
||||
if (Unit *owner = this->GetOwner())
|
||||
@@ -4922,6 +4922,12 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
||||
triggered_spell_id = 26654;
|
||||
break;
|
||||
}
|
||||
// Glyph of Blocking
|
||||
case 58375:
|
||||
{
|
||||
triggered_spell_id = 58374;
|
||||
break;
|
||||
}
|
||||
// Unstable Power
|
||||
case 24658:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user