- Todo:
- move out of here and rename - not a mage spell
◆ HandleDummy()
void spell_mage_polymorph_cast_visual::HandleDummy |
( |
SpellEffIndex |
| ) |
|
|
inlineprivate |
885 {
887 if (target->IsCreature())
889 }
uint32 urand(uint32 min, uint32 max)
Definition Random.cpp:44
Unit * GetCaster()
Definition SpellScript.cpp:401
static const uint32 PolymorhForms[6]
Definition spell_mage.cpp:873
@ NPC_AUROSALIA
Definition spell_mage.cpp:864
References SpellScript::GetCaster(), NPC_AUROSALIA, PolymorhForms, and urand().
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
void spell_mage_polymorph_cast_visual::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ Validate()
bool spell_mage_polymorph_cast_visual::Validate |
( |
SpellInfo const * |
| ) |
|
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
876 {
877
878 for (
uint32 i = 0; i < 6; ++i)
880 return false;
881 return true;
882 }
std::uint32_t uint32
Definition Define.h:107
#define sSpellMgr
Definition SpellMgr.h:825
References PolymorhForms, and sSpellMgr.
◆ PolymorhForms
const uint32 spell_mage_polymorph_cast_visual::PolymorhForms[6] |
|
staticprivate |
The documentation for this class was generated from the following file: