mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Core/Spells): Priest with Spirit of Redemption should be immediat… (#11771)
fix(Core/Spells): Priest with Spirit of Redemption should be immediately killed when fall into abyss. Fixes #3777
This commit is contained in:
@@ -17351,7 +17351,7 @@ void Unit::Kill(Unit* killer, Unit* victim, bool durabilityLoss, WeaponAttackTyp
|
|||||||
// Spirit of Redemption
|
// Spirit of Redemption
|
||||||
// if talent known but not triggered (check priest class for speedup check)
|
// if talent known but not triggered (check priest class for speedup check)
|
||||||
bool spiritOfRedemption = false;
|
bool spiritOfRedemption = false;
|
||||||
if (victim->GetTypeId() == TYPEID_PLAYER && victim->getClass() == CLASS_PRIEST)
|
if (victim->GetTypeId() == TYPEID_PLAYER && victim->getClass() == CLASS_PRIEST && !victim->ToPlayer()->HasPlayerFlag(PLAYER_FLAGS_IS_OUT_OF_BOUNDS))
|
||||||
{
|
{
|
||||||
if (AuraEffect* aurEff = victim->GetAuraEffectDummy(20711))
|
if (AuraEffect* aurEff = victim->GetAuraEffectDummy(20711))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user