687 {
688
689
691 return;
692
694 {
695 uint8 newStack =
uint8(unstable->GetStackAmount() + 1);
696 unstable->SetStackAmount(newStack);
697
698
699 if (newStack >= 4)
701
702
703 if (newStack >= 5)
704 {
709 if (rotface->IsAlive())
710 {
714 }
715
721 }
722 }
723
726 }
std::uint8_t uint8
Definition: Define.h:109
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_LARGE_OOZE_COMBINE
Definition: boss_rotface.cpp:58
@ SPELL_UNSTABLE_OOZE_EXPLOSION
Definition: boss_rotface.cpp:65
@ SPELL_UNSTABLE_OOZE
Definition: boss_rotface.cpp:63
@ SPELL_LITTLE_OOZE_COMBINE
Definition: boss_rotface.cpp:57
@ SPELL_LARGE_OOZE_BUFF_COMBINE
Definition: boss_rotface.cpp:59
@ SAY_UNSTABLE_EXPLOSION
Definition: boss_rotface.cpp:33
@ EMOTE_UNSTABLE_EXPLOSION
Definition: boss_rotface.cpp:32
@ EVENT_STICKY_OOZE
Definition: boss_rotface.cpp:88
@ DATA_OOZE_DANCE_ACHIEVEMENT
Definition: icecrown_citadel.h:112
@ DATA_ROTFACE
Definition: icecrown_citadel.h:97
Creature * GetCreature(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:213
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr, Milliseconds delay=0s)
Causes the creature to talk/say the text assigned to their entry in the creature_text database table.
Definition: CreatureAI.cpp:50
Definition: Creature.h:46
void DespawnOrUnsummon(Milliseconds msTimeToDespawn, Seconds forcedRespawnTimer)
Definition: Creature.cpp:2173
CreatureAI * AI() const
Definition: Creature.h:143
Creature * ToCreature()
Definition: Object.h:202
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1168
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:4891
Definition: InstanceScript.h:142
Definition: SpellAuras.h:87
Creature * GetHitCreature()
Definition: SpellScript.cpp:458
Unit * GetCaster()
Definition: SpellScript.cpp:401