◆ HandleScriptEffect()
| void spell_q12611_deathbolt::HandleScriptEffect |
( |
SpellEffIndex |
| ) |
|
|
inlineprivate |
1161 {
1164
1166 {
1168 }
1169 else
1170 {
1172 }
1173 }
Unit * GetHitUnit()
Definition SpellScript.cpp:448
Unit * GetCaster()
Definition SpellScript.cpp:401
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition Unit.cpp:5840
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:1194
@ SPELL_FREYAS_WARD
Definition zone_sholazar_basin.cpp:1151
@ SPELL_SEVENFOLD_RETRIBUTION
Definition zone_sholazar_basin.cpp:1152
@ SPELL_DEATHBOLT
Definition zone_sholazar_basin.cpp:1153
References Unit::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), Unit::HasAura(), SPELL_DEATHBOLT, SPELL_FREYAS_WARD, and SPELL_SEVENFOLD_RETRIBUTION.
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
| void spell_q12611_deathbolt::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: