◆ HandleDummy()
2002 {
2004 {
2007 if (roll < 2)
2009 else if (roll < 4)
2011
2013 }
2014 }
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:1179
@ SPELL_NET_O_MATIC_TRIGGERED2
Definition spell_item.cpp:1983
@ SPELL_NET_O_MATIC_TRIGGERED1
Definition spell_item.cpp:1982
@ SPELL_NET_O_MATIC_TRIGGERED3
Definition spell_item.cpp:1984
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: