![]() |
TrinityCore
|
Inheritance diagram for spell_pilgrims_bounty_on_plate:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| Vehicle * | GetTable (Unit *target) |
| Unit * | GetPlateInSeat (Vehicle *table, uint8 seat) |
| void | HandleDummy (SpellEffIndex) |
| void | Register () override |
Private Attributes | |
| uint32 | _triggeredSpellId1 |
| uint32 | _triggeredSpellId2 |
| uint32 | _triggeredSpellId3 |
| uint32 | _triggeredSpellId4 |
Definition at line 266 of file pilgrims_bounty.cpp.
|
inline |
Definition at line 274 of file pilgrims_bounty.cpp.
Definition at line 305 of file pilgrims_bounty.cpp.
References Vehicle::GetPassenger(), and SEAT_PLATE_HOLDER.
Referenced by HandleDummy().
Definition at line 289 of file pilgrims_bounty.cpp.
References BaseEntity::GetTypeId(), Unit::GetVehicle(), Unit::GetVehicleBase(), NPC_BOUNTIFUL_TABLE, and TYPEID_PLAYER.
Referenced by HandleDummy().
|
inlineprivate |
Definition at line 315 of file pilgrims_bounty.cpp.
References _triggeredSpellId1, _triggeredSpellId2, _triggeredSpellId3, _triggeredSpellId4, WorldObject::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), GetPlateInSeat(), GetTable(), WorldObject::GetTransSeat(), BaseEntity::GetTypeId(), Unit::GetVehicleBase(), Unit::GetVehicleKit(), SEAT_PLAYER, and TYPEID_PLAYER.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 354 of file pilgrims_bounty.cpp.
References EFFECT_0, HandleDummy(), SpellScript::OnEffectHitTarget, SPELL_EFFECT_DUMMY, and SpellEffectFn.
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 278 of file pilgrims_bounty.cpp.
References _triggeredSpellId1, _triggeredSpellId2, _triggeredSpellId3, _triggeredSpellId4, and SpellScriptBase::ValidateSpellInfo().
|
private |
Definition at line 268 of file pilgrims_bounty.cpp.
Referenced by HandleDummy(), and Validate().
|
private |
Definition at line 269 of file pilgrims_bounty.cpp.
Referenced by HandleDummy(), and Validate().
|
private |
Definition at line 270 of file pilgrims_bounty.cpp.
Referenced by HandleDummy(), and Validate().
|
private |
Definition at line 271 of file pilgrims_bounty.cpp.
Referenced by HandleDummy(), and Validate().