101 {
103 {
105 return false;
106
109 {
112 break;
115 break;
118 break;
121 break;
122 default:
123 break;
124 }
125
126 if (form)
127 {
133 }
134 }
135
136 return false;
137 }
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_SHADOW_FORM
Definition: the_botanica.h:53
@ SPELL_ARCANE_FORM
Definition: the_botanica.h:50
@ SPELL_FROST_FORM
Definition: the_botanica.h:52
@ SPELL_FIRE_FORM
Definition: the_botanica.h:51
@ SPELL_SCHOOL_SHADOW
Definition: SharedDefines.h:288
@ SPELL_SCHOOL_FROST
Definition: SharedDefines.h:287
@ SPELL_SCHOOL_ARCANE
Definition: SharedDefines.h:289
@ SPELL_SCHOOL_FIRE
Definition: SharedDefines.h:285
SpellSchools GetFirstSchoolInMask(SpellSchoolMask mask)
Definition: SharedDefines.h:318
Seconds GetGameTime()
Definition: GameTime.cpp:38
SpellInfo const * GetSpellInfo() const
Definition: Unit.cpp:184
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: SpellInfo.h:316
Unit * GetUnitOwner() const
Definition: SpellScript.cpp:1030
uint32 _lastForm
Definition: instance_the_botanica.cpp:146
uint32 _swapTime
Definition: instance_the_botanica.cpp:147
uint32 _lastSchool
Definition: instance_the_botanica.cpp:145