◆ HandleSpellHit()
| void spell_black_knight_ghoul_claw::HandleSpellHit |
( |
SpellEffIndex |
| ) |
|
|
inlineprivate |
454 {
456 {
459 {
460 caster->AddThreat(target, 100.0f);
461 caster->GetAI()->AttackStart(target);
462 }
463 }
464 }
Unit * GetCaster()
Definition SpellScript.cpp:401
void ResetAllThreat()
Definition ThreatMgr.cpp:651
Unit * SelectTarget(SelectTargetMethod targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
Definition UnitAI.cpp:110
UnitAI * GetAI()
Definition Unit.h:678
ThreatMgr & GetThreatMgr()
Definition Unit.h:936
References Unit::GetAI(), SpellScript::GetCaster(), Unit::GetThreatMgr(), Random, ThreatMgr::ResetAllThreat(), and UnitAI::SelectTarget().
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
| void spell_black_knight_ghoul_claw::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file:
- azerothcore-wotlk/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/boss_black_knight.cpp