void spell_item_create_heart_candy::spell_item_create_heart_candy_SpellScript::HandleScript |
( |
SpellEffIndex |
effIndex | ) |
|
|
inlineprivate |
1415 target->AddItem(items[
urand(0, 7)], 1);
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:583
Definition: spell_item.cpp:1391
Player * GetHitPlayer()
Definition: SpellScript.cpp:464
Definition: spell_item.cpp:1397
Definition: spell_item.cpp:1394
Definition: spell_item.cpp:1393
Definition: spell_item.cpp:1392
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
Definition: spell_item.cpp:1390
uint32_t uint32
Definition: Define.h:150
Definition: spell_item.cpp:1395
Definition: spell_item.cpp:1396
void spell_item_create_heart_candy::spell_item_create_heart_candy_SpellScript::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition: SharedDefines.h:28
void HandleScript(SpellEffIndex effIndex)
Definition: spell_item.cpp:1409
#define SpellEffectFn(F, I, N)
Definition: SpellScript.h:297
HookList< EffectHandler > OnEffectHitTarget
Definition: SpellScript.h:295
Definition: SharedDefines.h:1087
The documentation for this class was generated from the following file: