◆ HandleScript()
void spell_gen_netherbloom::HandleScript |
( |
SpellEffIndex |
effIndex | ) |
|
|
inlineprivate |
1492 {
1494
1496 {
1497
1499 return;
1500
1501
1502
1503
1504
1505
1506 for (
uint8 i = 0; i < 5; ++i)
1508 return;
1509
1511 }
1512 }
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:60
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition SpellScript.cpp:590
Unit * GetHitUnit()
Definition SpellScript.cpp:448
@ SPELL_NETHERBLOOM_POLLEN_1
Definition spell_generic.cpp:1475
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: