2000 {
2002 {
2005 if (roll < 2)
2007 else if (roll < 4)
2009
2011 }
2012 }
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:44
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_NET_O_MATIC_TRIGGERED2
Definition: spell_item.cpp:1981
@ SPELL_NET_O_MATIC_TRIGGERED1
Definition: spell_item.cpp:1980
@ SPELL_NET_O_MATIC_TRIGGERED3
Definition: spell_item.cpp:1982
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:1168
Unit * GetHitUnit()
Definition: SpellScript.cpp:448
Unit * GetCaster()
Definition: SpellScript.cpp:401