diff options
author | Shauren <shauren.trinity@gmail.com> | 2011-10-11 09:33:33 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2011-10-11 09:33:33 +0200 |
commit | 8540b367de5ada283b42080049132b40fe80bc51 (patch) | |
tree | c6dc4f542a38fe9c3425bdc1dadb2e1f19f70abe /src | |
parent | 8ce5177f74404ef3a4b55f879da35a2f4afb66bb (diff) |
Scripts/Icecrown Citadel: Fixed Professor Putricide's ooze puddle growth
Diffstat (limited to 'src')
-rwxr-xr-x | src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp index a6e3e78c96a..d5186833364 100755 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp @@ -78,6 +78,7 @@ enum Spells // Slime Puddle SPELL_GROW_STACKER = 70345, + SPELL_GROW = 70347, SPELL_SLIME_PUDDLE_AURA = 70343, // Gas Cloud @@ -253,6 +254,9 @@ class boss_professor_putricide : public CreatureScript case NPC_GROWING_OOZE_PUDDLE: summon->CastSpell(summon, SPELL_GROW_STACKER, true); summon->CastSpell(summon, SPELL_SLIME_PUDDLE_AURA, true); + // blizzard casts this spell 7 times initially (confirmed in sniff) + for (uint8 i = 0; i < 7; ++i) + summon->CastSpell(summon, SPELL_GROW, true); break; case NPC_GAS_CLOUD: // no possible aura seen in sniff adding the aurastate @@ -1110,14 +1114,14 @@ class spell_putricide_eat_ooze : public SpellScriptLoader if (Aura* grow = target->GetAura(uint32(GetEffectValue()))) { - if (grow->GetStackAmount() < 4) + if (grow->GetStackAmount() < 3) { target->RemoveAurasDueToSpell(SPELL_GROW_STACKER); target->RemoveAura(grow); - target->DespawnOrUnsummon(); + target->DespawnOrUnsummon(1); } else - grow->ModStackAmount(-4); + grow->ModStackAmount(-3); } } |