◆ HandleSpellHit()
| void spell_black_knight_ghoul_claw::HandleSpellHit |
( |
SpellEffIndex |
| ) |
|
|
inlineprivate |
455 {
457 {
460 {
461 caster->AddThreat(target, 100.0f);
462 caster->GetAI()->AttackStart(target);
463 }
464 }
465 }
Unit * GetCaster()
Definition SpellScript.cpp:401
void ResetAllThreat()
Definition ThreatManager.cpp:559
Unit * SelectTarget(SelectTargetMethod targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
Definition UnitAI.cpp:111
ThreatManager & GetThreatMgr()
Definition Unit.h:951
UnitAI * GetAI()
Definition Unit.h:693
References Unit::GetAI(), SpellScript::GetCaster(), Unit::GetThreatMgr(), Random, ThreatManager::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