![]() |
TrinityCore
|
Inheritance diagram for spell_rokmora_razor_shards:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| Position | GetRandomRazorShardPosition (Unit *caster) const |
| void | OnPrecast () override |
| void | HandleCast () const |
| void | Register () override |
Private Attributes | |
| Position | _targetOrigin |
Definition at line 269 of file boss_rokmora.cpp.
|
inlineprivate |
Definition at line 276 of file boss_rokmora.cpp.
References _targetOrigin, frand(), Position::GetAbsoluteAngle(), Position::GetOrientation(), M_PI, and WorldObject::MovePosition().
Referenced by HandleCast().
|
inlineprivate |
Definition at line 293 of file boss_rokmora.cpp.
References WorldObject::CastSpell(), SpellScript::GetCaster(), GetRandomRazorShardPosition(), SpellScript::GetSpell(), SPELL_RAZOR_SHARDS_VISUAL, SPELL_RAZOR_SHARDS_VISUAL_2, TRIGGERED_DONT_REPORT_CAST_ERROR, TRIGGERED_IGNORE_CAST_IN_PROGRESS, and CastSpellExtraArgsInit::TriggerFlags.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScript.
Definition at line 287 of file boss_rokmora.cpp.
References _targetOrigin, SpellScript::GetExplTargetUnit(), and Position::GetPosition().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 309 of file boss_rokmora.cpp.
References SpellScript::AfterCast, HandleCast(), and SpellCastFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 271 of file boss_rokmora.cpp.
References SPELL_RAZOR_SHARDS_VISUAL, SPELL_RAZOR_SHARDS_VISUAL_2, and SpellScriptBase::ValidateSpellInfo().
|
private |
Definition at line 315 of file boss_rokmora.cpp.
Referenced by GetRandomRazorShardPosition(), and OnPrecast().