AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareSpellScript (spell_item_worn_troll_dice) | |
bool | Validate (SpellInfo const *) override |
bool | Load () override |
void | HandleScript (SpellEffIndex) |
void | Register () override |
|
inlineprivate |
References Player::DoRandomRoll(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), TEXT_WORN_TROLL_DICE, Unit::TextEmote(), and Object::ToPlayer().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SpellScript::GetCaster(), and Object::IsPlayer().
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References EFFECT_0, HandleScript(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_SCRIPT_EFFECT, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References sObjectMgr, and TEXT_WORN_TROLL_DICE.