◆ HandleDummy()
void spell_gen_gnomish_transporter::HandleDummy |
( |
SpellEffIndex |
| ) |
|
|
inlineprivate |
2725 {
2727 }
bool roll_chance_i(int chance)
Definition Random.h:60
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_FAILURE
Definition spell_generic.cpp:2711
@ SPELL_TRANSPORTER_SUCCESS
Definition spell_generic.cpp:2710
References Unit::CastSpell(), SpellScript::GetCaster(), roll_chance_i(), SPELL_TRANSPORTER_FAILURE, and SPELL_TRANSPORTER_SUCCESS.
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
void spell_gen_gnomish_transporter::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: