◆ HandleScriptEffect()
| void spell_q12611_deathbolt::HandleScriptEffect |
( |
SpellEffIndex |
| ) |
|
|
inlineprivate |
1264 {
1267
1269 {
1271 }
1272 else
1273 {
1275 }
1276 }
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:5789
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:1254
@ SPELL_SEVENFOLD_RETRIBUTION
Definition zone_sholazar_basin.cpp:1255
@ SPELL_DEATHBOLT
Definition zone_sholazar_basin.cpp:1256
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: