◆ HandleDummy()
2001 {
2003 {
2006 if (roll < 2)
2008 else if (roll < 4)
2010
2012 }
2013 }
std::uint32_t uint32
Definition Define.h:107
uint32 urand(uint32 min, uint32 max)
Definition Random.cpp:44
Unit * GetHitUnit()
Definition SpellScript.cpp:448
Unit * GetCaster()
Definition SpellScript.cpp:401
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:1178
@ SPELL_NET_O_MATIC_TRIGGERED2
Definition spell_item.cpp:1982
@ SPELL_NET_O_MATIC_TRIGGERED1
Definition spell_item.cpp:1981
@ SPELL_NET_O_MATIC_TRIGGERED3
Definition spell_item.cpp:1983
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: