Support for Vanguard Beast Points.

This commit is contained in:
MobiusDevelopment
2022-04-22 21:04:40 +00:00
parent 28f5e93ac2
commit 328d32d750
16 changed files with 202 additions and 13 deletions

View File

@@ -3999,7 +3999,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
target.setCurrentCp(0);
}
if (player.isDeathKnight())
if (player.isDeathKnight() && (target.isAttackable() || target.isPlayable()))
{
player.setDeathPoints(player.getDeathPoints() + 1);
}