◆ HandleDummy()
void spell_item_nigh_invulnerability::HandleDummy |
( |
SpellEffIndex |
| ) |
|
|
inlineprivate |
2932 {
2935 {
2938 else
2940 }
2941 }
bool roll_chance_i(int chance)
Definition Random.h:60
Item * GetCastItem()
Definition SpellScript.cpp:620
Unit * GetCaster()
Definition SpellScript.cpp:401
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition Unit.cpp:1178
@ SPELL_COMPLETE_VULNERABILITY
Definition spell_item.cpp:2919
@ SPELL_NIGH_INVULNERABILITY
Definition spell_item.cpp:2918
References Unit::CastSpell(), SpellScript::GetCaster(), SpellScript::GetCastItem(), roll_chance_i(), SPELL_COMPLETE_VULNERABILITY, and SPELL_NIGH_INVULNERABILITY.
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
void spell_item_nigh_invulnerability::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ Validate()
bool spell_item_nigh_invulnerability::Validate |
( |
SpellInfo const * |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: