Orfen should be teleported to with 25% HP instead of 50%.

Contributed by Iris.
This commit is contained in:
MobiusDevelopment
2020-04-28 22:50:59 +00:00
parent fe4703b1c2
commit 44932c8ec2
3 changed files with 3 additions and 3 deletions

View File

@@ -291,7 +291,7 @@ public class Orfen extends AbstractNpcAI
final int npcId = npc.getId(); final int npcId = npc.getId();
if (npcId == ORFEN) if (npcId == ORFEN)
{ {
if (!_IsTeleported && ((npc.getCurrentHp() - damage) < (npc.getMaxHp() / 2))) if (!_IsTeleported && ((npc.getCurrentHp() - damage) < (npc.getMaxHp() / 4)))
{ {
_IsTeleported = true; _IsTeleported = true;
setSpawnPoint(npc, 0); setSpawnPoint(npc, 0);

View File

@@ -291,7 +291,7 @@ public class Orfen extends AbstractNpcAI
final int npcId = npc.getId(); final int npcId = npc.getId();
if (npcId == ORFEN) if (npcId == ORFEN)
{ {
if (!_IsTeleported && ((npc.getCurrentHp() - damage) < (npc.getMaxHp() / 2))) if (!_IsTeleported && ((npc.getCurrentHp() - damage) < (npc.getMaxHp() / 4)))
{ {
_IsTeleported = true; _IsTeleported = true;
setSpawnPoint(npc, 0); setSpawnPoint(npc, 0);

View File

@@ -291,7 +291,7 @@ public class Orfen extends AbstractNpcAI
final int npcId = npc.getId(); final int npcId = npc.getId();
if (npcId == ORFEN) if (npcId == ORFEN)
{ {
if (!_IsTeleported && ((npc.getCurrentHp() - damage) < (npc.getMaxHp() / 2))) if (!_IsTeleported && ((npc.getCurrentHp() - damage) < (npc.getMaxHp() / 4)))
{ {
_IsTeleported = true; _IsTeleported = true;
setSpawnPoint(npc, 0); setSpawnPoint(npc, 0);