|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | HandleAfterHit () |
| void | HandleBeforeHit () |
| bool | Load () OVERRIDE |
| PrepareSpellScript (spell_rog_deadly_poison_SpellScript) | |
| void | Register () OVERRIDE |
Private Attributes | |
| uint8 | _stackAmount |
Definition at line 227 of file spell_rogue.cpp.
|
inlineprivate |
Definition at line 246 of file spell_rogue.cpp.
References _stackAmount, Unit::CastSpell(), SpellInfo::Dispel, DISPEL_POISON, EQUIPMENT_SLOT_MAINHAND, EQUIPMENT_SLOT_OFFHAND, SpellScript::GetCaster(), SpellScript::GetCastItem(), Item::GetEnchantmentId(), Object::GetGUIDLow(), SpellScript::GetHitUnit(), Player::GetItemByPos(), WorldObject::GetName(), SpellItemEnchantmentEntry::ID, INVENTORY_SLOT_BAG_0, flag128::IsEqual(), SpellInfo::IsPositive(), ITEM_ENCHANTMENT_TYPE_COMBAT_SPELL, MAX_ENCHANTMENT_SLOT, PRISMATIC_ENCHANTMENT_SLOT, PROP_ENCHANTMENT_SLOT_0, SF_LOG_ERROR, SPELLFAMILY_ROGUE, SpellInfo::SpellFamilyFlags, SpellInfo::SpellFamilyName, SpellItemEnchantmentEntry::spellid, sSpellItemEnchantmentStore, sSpellMgr, Object::ToPlayer(), and SpellItemEnchantmentEntry::type.
Referenced by Register().
|
inlineprivate |
Definition at line 238 of file spell_rogue.cpp.
References _stackAmount, SpellScript::GetCaster(), SpellScript::GetHitUnit(), SPELL_AURA_PERIODIC_DAMAGE, and SPELLFAMILY_ROGUE.
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 231 of file spell_rogue.cpp.
References _stackAmount, SpellScript::GetCaster(), SpellScript::GetCastItem(), Object::GetTypeId(), OVERRIDE, and TYPEID_PLAYER.
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 302 of file spell_rogue.cpp.
References SpellScript::AfterHit, SpellScript::BeforeHit, HandleAfterHit(), HandleBeforeHit(), OVERRIDE, and SpellHitFn.
|
private |
Definition at line 308 of file spell_rogue.cpp.
Referenced by HandleAfterHit(), HandleBeforeHit(), and Load().