1532 {
1534
1535 if (aurEff->GetTickNumber() == 1)
1536 {
1539 else
1541 }
1542 else if (aurEff->GetTickNumber() == 2)
1543 {
1547 aura->SetDuration(4500);
1548
1551 }
1552 }
@ SPELL_DEMON_FORM
Definition: boss_illidan.cpp:84
@ SPELL_DEMON_TRANSFORM_3
Definition: boss_illidan.cpp:83
void LoadEquipment(int8 id=1, bool force=false)
Definition: Creature.cpp:1793
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: SpellAuras.h:87
void PreventDefaultAction()
Definition: SpellScript.cpp:985
void SetDuration(int32 duration, bool withMods=false)
Definition: SpellScript.cpp:1060
Aura * GetAura() const
Definition: SpellScript.cpp:1045