Orfen should be teleported to with 25% HP instead of 50%.
Contributed by Iris.
This commit is contained in:
@@ -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);
|
||||||
|
@@ -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);
|
||||||
|
@@ -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);
|
||||||
|
Reference in New Issue
Block a user