|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| PrepareSpellScript (spell_item_defibrillate_SpellScript) | |
Private Attributes | |
| uint8 | _chance |
| uint32 | _failSpell |
Additional Inherited Members | |
| Public Attributes inherited from SpellScript | |
| HookList< CastHandler > | AfterCast |
| HookList< HitHandler > | AfterHit |
| HookList< CastHandler > | BeforeCast |
| HookList< HitHandler > | BeforeHit |
| HookList< CastHandler > | OnCast |
| HookList< CheckCastHandler > | OnCheckCast |
| HookList< EffectHandler > | OnEffectHit |
| HookList< EffectHandler > | OnEffectHitTarget |
| HookList< EffectHandler > | OnEffectLaunch |
| HookList< EffectHandler > | OnEffectLaunchTarget |
| HookList< HitHandler > | OnHit |
| HookList< ObjectAreaTargetSelectHandler > | OnObjectAreaTargetSelect |
| HookList< ObjectTargetSelectHandler > | OnObjectTargetSelect |
| Protected Attributes inherited from _SpellScript | |
| uint8 | m_currentScriptState |
| std::string const * | m_scriptName |
| uint32 | m_scriptSpellId |
Definition at line 204 of file spell_item.cpp.
|
inline |
Definition at line 209 of file spell_item.cpp.
References _chance, and _failSpell.
Referenced by PrepareSpellScript().
|
inline |
Definition at line 218 of file spell_item.cpp.
References _chance, _failSpell, Unit::CastSpell(), SpellScript::GetCaster(), SpellScript::GetCastItem(), SpellScript::PreventHitDefaultEffect(), and roll_chance_i().
Referenced by Register().
|
private |
References spell_item_defibrillate_SpellScript().
|
inlinevirtual |
Implements _SpellScript.
Definition at line 228 of file spell_item.cpp.
References EFFECT_0, HandleScript(), SpellScript::OnEffectHitTarget, OVERRIDE, SPELL_EFFECT_RESURRECT, and SpellEffectFn.
|
inlinevirtual |
Reimplemented from _SpellScript.
Definition at line 211 of file spell_item.cpp.
References _failSpell, OVERRIDE, and sSpellMgr.
|
private |
Definition at line 234 of file spell_item.cpp.
Referenced by HandleScript(), and spell_item_defibrillate_SpellScript().
|
private |
Definition at line 235 of file spell_item.cpp.
Referenced by HandleScript(), spell_item_defibrillate_SpellScript(), and Validate().