![]() |
TrinityCore
|
Inheritance diagram for spell_rog_deadly_poison:Private Member Functions | |
| PrepareSpellScript (spell_rog_deadly_poison) | |
| bool | Load () override |
| void | HandleBeforeHit (SpellMissInfo missInfo) |
| void | HandleAfterHit () |
| void | Register () override |
Private Attributes | |
| uint8 | _stackAmount = 0 |
Definition at line 222 of file spell_rogue.cpp.
|
inlineprivate |
Definition at line 243 of file spell_rogue.cpp.
References _stackAmount, WorldObject::CastSpell(), SpellInfo::Dispel, DISPEL_POISON, SpellItemEnchantmentEntry::Effect, SpellItemEnchantmentEntry::EffectArg, EQUIPMENT_SLOT_MAINHAND, EQUIPMENT_SLOT_OFFHAND, SpellScript::GetCaster(), SpellScript::GetCastItem(), Item::GetEnchantmentId(), Object::GetGUID(), SpellScript::GetHitUnit(), Player::GetItemByPos(), WorldObject::GetName(), SpellItemEnchantmentEntry::ID, INVENTORY_SLOT_BAG_0, SpellInfo::IsPositive(), ITEM_ENCHANTMENT_TYPE_COMBAT_SPELL, MAX_ENCHANTMENT_SLOT, SPELLFAMILY_ROGUE, SpellInfo::SpellFamilyFlags, SpellInfo::SpellFamilyName, sSpellItemEnchantmentStore, sSpellMgr, TC_LOG_ERROR, Object::ToPlayer(), and ObjectGuid::ToString().
Referenced by Register().
|
inlineprivate |
Definition at line 232 of file spell_rogue.cpp.
References _stackAmount, SpellScript::GetCaster(), SpellScript::GetHitUnit(), SPELL_AURA_PERIODIC_DAMAGE, SPELL_MISS_NONE, and SPELLFAMILY_ROGUE.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 226 of file spell_rogue.cpp.
References SpellScript::GetCaster(), SpellScript::GetCastItem(), Object::GetTypeId(), and TYPEID_PLAYER.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
Definition at line 297 of file spell_rogue.cpp.
References SpellScript::AfterHit, SpellScript::BeforeHit, BeforeSpellHitFn, HandleAfterHit(), HandleBeforeHit(), and SpellHitFn.
|
private |
Definition at line 303 of file spell_rogue.cpp.
Referenced by HandleAfterHit(), and HandleBeforeHit().