- Todo:
- move out of here and rename - not a mage spell
◆ HandleDummy()
| void spell_mage_polymorph_cast_visual::HandleDummy |
( |
SpellEffIndex |
| ) |
|
|
inlineprivate |
896 {
898 if (target->IsCreature())
900 }
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:884
@ NPC_AUROSALIA
Definition spell_mage.cpp:875
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.
887 {
888
889 for (
uint32 i = 0; i < 6; ++i)
891 return false;
892 return true;
893 }
std::uint32_t uint32
Definition Define.h:107
#define sSpellMgr
Definition SpellMgr.h:847
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: