◆ HandleDummy()
2244 {
2246 {
2249 if (roll < 2)
2251 else if (roll < 4)
2253
2255 }
2256 }
std::uint32_t uint32
Definition Define.h:107
uint32 urand(uint32 min, uint32 max)
Definition Random.cpp:44
Unit * GetHitUnit()
Definition SpellScript.cpp:482
Unit * GetCaster()
Definition SpellScript.cpp:408
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition Unit.cpp:1430
@ SPELL_NET_O_MATIC_TRIGGERED2
Definition spell_item.cpp:2225
@ SPELL_NET_O_MATIC_TRIGGERED1
Definition spell_item.cpp:2224
@ SPELL_NET_O_MATIC_TRIGGERED3
Definition spell_item.cpp:2226
References Unit::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), SPELL_NET_O_MATIC_TRIGGERED1, SPELL_NET_O_MATIC_TRIGGERED2, SPELL_NET_O_MATIC_TRIGGERED3, and urand().
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
| void spell_item_net_o_matic::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ Validate()
| bool spell_item_net_o_matic::Validate |
( |
SpellInfo const * |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: