![]() |
TrinityCore
|
Inheritance diagram for spell_item_defibrillate::spell_item_defibrillate_SpellScript:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandleScript (SpellEffIndex effIndex) |
| void | Register () override |
Private Attributes | |
| uint8 | _chance |
| uint32 | _failSpell |
Definition at line 749 of file spell_item.cpp.
|
inline |
Definition at line 752 of file spell_item.cpp.
|
inlineprivate |
Definition at line 760 of file spell_item.cpp.
References _chance, _failSpell, WorldObject::CastSpell(), SpellScript::GetCaster(), SpellScript::GetCastItem(), SpellScript::PreventHitDefaultEffect(), and roll_chance().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 770 of file spell_item.cpp.
References EFFECT_0, HandleScript(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_RESURRECT, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 755 of file spell_item.cpp.
References _failSpell, and SpellScriptBase::ValidateSpellInfo().
|
private |
Definition at line 775 of file spell_item.cpp.
Referenced by HandleScript().
|
private |
Definition at line 776 of file spell_item.cpp.
Referenced by HandleScript(), and Validate().