◆ HandleScript()
void spell_gen_netherbloom::HandleScript |
( |
SpellEffIndex |
effIndex | ) |
|
|
inlineprivate |
1493 {
1495
1497 {
1498
1500 return;
1501
1502
1503
1504
1505
1506
1507 for (
uint8 i = 0; i < 5; ++i)
1509 return;
1510
1512 }
1513 }
std::uint8_t uint8
Definition Define.h:109
uint32 urand(uint32 min, uint32 max)
Definition Random.cpp:44
bool roll_chance_i(int chance)
Definition Random.h:63
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition SpellScript.cpp:590
Unit * GetHitUnit()
Definition SpellScript.cpp:448
@ SPELL_NETHERBLOOM_POLLEN_1
Definition spell_generic.cpp:1476
References SpellScript::GetHitUnit(), SpellScript::PreventHitDefaultEffect(), roll_chance_i(), SPELL_NETHERBLOOM_POLLEN_1, and urand().
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
void spell_gen_netherbloom::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ Validate()
bool spell_gen_netherbloom::Validate |
( |
SpellInfo const * |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: