Core/Conditions: Added CONDITION_SOURCE_TYPE_PLAYER_CONDITION (#29832)
This commit is contained in:
@@ -739,13 +739,10 @@ void Player::UpdateCorruption()
|
||||
continue;
|
||||
}
|
||||
|
||||
if (PlayerConditionEntry const* playerCondition = sPlayerConditionStore.LookupEntry(corruptionEffect->PlayerConditionID))
|
||||
if (!ConditionMgr::IsPlayerMeetingCondition(this, corruptionEffect->PlayerConditionID))
|
||||
{
|
||||
if (!ConditionMgr::IsPlayerMeetingCondition(this, playerCondition))
|
||||
{
|
||||
RemoveAura(corruptionEffect->Aura);
|
||||
continue;
|
||||
}
|
||||
RemoveAura(corruptionEffect->Aura);
|
||||
continue;
|
||||
}
|
||||
|
||||
CastSpell(this, corruptionEffect->Aura, true);
|
||||
|
||||
Reference in New Issue
Block a user