diff options
author | maximius <none@none> | 2009-10-31 16:32:18 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-31 16:32:18 -0700 |
commit | 548ba65cf2df2b7c69d1ea24b425235d31e46bdf (patch) | |
tree | 6dd6bbdfa5fef9f160b335f1b6eafae27e74a623 /src | |
parent | 743578b81f297734162785fe2e2daa32eb5d8aad (diff) |
*Correct Sapphiron's Blizzard spell DoSummon parameters
*Glyph of Blocking, thanks Sisif
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/bindings/scripts/scripts/northrend/naxxramas/boss_sapphiron.cpp | 4 | ||||
-rw-r--r-- | src/game/Unit.cpp | 8 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/bindings/scripts/scripts/northrend/naxxramas/boss_sapphiron.cpp b/src/bindings/scripts/scripts/northrend/naxxramas/boss_sapphiron.cpp index 0d240d2a49a..00733c68032 100644 --- a/src/bindings/scripts/scripts/northrend/naxxramas/boss_sapphiron.cpp +++ b/src/bindings/scripts/scripts/northrend/naxxramas/boss_sapphiron.cpp @@ -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; } diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 21de3d3780b..c3cbb57045f 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -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: { |