◆ HandleDummy()
void spell_gen_gadgetzan_transporter_backfire::HandleDummy |
( |
SpellEffIndex |
| ) |
|
|
inlineprivate |
2691 {
2694 if (r < 20)
2696 else if (r < 100)
2698 else
2700 }
std::int32_t int32
Definition Define.h:103
int32 irand(int32 min, int32 max)
Definition Random.cpp:37
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_TRANSPORTER_EVIL_TWIN
Definition spell_generic.cpp:2671
@ SPELL_TRANSPORTER_MALFUNCTION_MISS
Definition spell_generic.cpp:2672
@ SPELL_TRANSPORTER_MALFUNCTION_POLYMORPH
Definition spell_generic.cpp:2670
References Unit::CastSpell(), SpellScript::GetCaster(), irand(), SPELL_TRANSPORTER_EVIL_TWIN, SPELL_TRANSPORTER_MALFUNCTION_MISS, and SPELL_TRANSPORTER_MALFUNCTION_POLYMORPH.
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
void spell_gen_gadgetzan_transporter_backfire::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: