1598 {
1600
1601 if (aurEff->GetTickNumber() == 1)
1602 {
1605 else
1607 }
1608 else if (aurEff->GetTickNumber() == 2)
1609 {
1613 aura->SetDuration(4500);
1614
1617 }
1618 }
@ 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:1798
Creature * ToCreature()
Definition: Object.h:205
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:1167
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:4909
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