From f8133c727ce5304da3b7f1235ce1382cfd13bd36 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Mon, 15 Aug 2022 10:38:12 +0000 Subject: [PATCH] Updated admin NPC info html and handler. Contributed by CostyKiller. --- .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ .../dist/game/data/html/admin/npcinfo.htm | 19 +++++++++++-------- .../actionshifthandlers/NpcActionShift.java | 4 ++++ 50 files changed, 375 insertions(+), 200 deletions(-) diff --git a/L2J_Mobius_01.0_Ertheia/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_01.0_Ertheia/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_01.0_Ertheia/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_01.0_Ertheia/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_01.0_Ertheia/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_01.0_Ertheia/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_01.0_Ertheia/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_01.0_Ertheia/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_02.5_Underground/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_02.5_Underground/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_02.5_Underground/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_02.5_Underground/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_02.5_Underground/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_02.5_Underground/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_02.5_Underground/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_02.5_Underground/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_03.0_Helios/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_03.0_Helios/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_03.0_Helios/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_03.0_Helios/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_03.0_Helios/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_03.0_Helios/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_03.0_Helios/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_03.0_Helios/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_04.0_GrandCrusade/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_04.0_GrandCrusade/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_04.0_GrandCrusade/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_04.0_GrandCrusade/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_04.0_GrandCrusade/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_04.0_GrandCrusade/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_04.0_GrandCrusade/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_04.0_GrandCrusade/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_05.0_Salvation/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_05.0_Salvation/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_05.0_Salvation/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_05.0_Salvation/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_05.0_Salvation/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_05.0_Salvation/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_05.0_Salvation/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_05.0_Salvation/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_05.5_EtinasFate/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_05.5_EtinasFate/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_05.5_EtinasFate/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_05.5_EtinasFate/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_05.5_EtinasFate/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_05.5_EtinasFate/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_05.5_EtinasFate/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_05.5_EtinasFate/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_06.0_Fafurion/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_06.0_Fafurion/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_06.0_Fafurion/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_06.0_Fafurion/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_06.0_Fafurion/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_06.0_Fafurion/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_06.0_Fafurion/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_06.0_Fafurion/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_07.0_PreludeOfWar/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_07.0_PreludeOfWar/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_07.0_PreludeOfWar/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_07.0_PreludeOfWar/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_07.0_PreludeOfWar/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_07.0_PreludeOfWar/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_07.0_PreludeOfWar/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_07.0_PreludeOfWar/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_08.2_Homunculus/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_08.2_Homunculus/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_08.2_Homunculus/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_08.2_Homunculus/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_10.1_MasterClass/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_10.1_MasterClass/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_10.1_MasterClass/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_10.1_MasterClass/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_10.1_MasterClass/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_10.1_MasterClass/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_10.1_MasterClass/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_10.1_MasterClass/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_10.2_MasterClass/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_10.2_MasterClass/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_10.2_MasterClass/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_10.2_MasterClass/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_10.2_MasterClass/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_10.2_MasterClass/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_10.2_MasterClass/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_10.2_MasterClass/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_Classic_1.0/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_Classic_1.0/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_Classic_1.0/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_Classic_1.0/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_Classic_1.0/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_Classic_1.0/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_Classic_1.0/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_Classic_1.0/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_Classic_1.5_AgeOfSplendor/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_Classic_1.5_AgeOfSplendor/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_Classic_1.5_AgeOfSplendor/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_Classic_1.5_AgeOfSplendor/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_Classic_1.5_AgeOfSplendor/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_Classic_1.5_AgeOfSplendor/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_Classic_1.5_AgeOfSplendor/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_Classic_1.5_AgeOfSplendor/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_Classic_2.5_Zaken/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_Classic_2.5_Zaken/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_Classic_2.5_Zaken/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_Classic_2.5_Zaken/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_Classic_2.5_Zaken/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_Classic_2.5_Zaken/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_Classic_2.5_Zaken/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_Classic_2.5_Zaken/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_Classic_2.7_Antharas/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_Classic_2.7_Antharas/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_Classic_2.7_Antharas/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_Classic_2.7_Antharas/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_Classic_2.7_Antharas/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_Classic_2.7_Antharas/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_Classic_2.7_Antharas/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_Classic_2.7_Antharas/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_Classic_2.8_SevenSigns/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_Classic_2.8_SevenSigns/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_Classic_2.8_SevenSigns/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_Classic_2.8_SevenSigns/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_Classic_2.8_SevenSigns/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_Classic_2.8_SevenSigns/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_Classic_2.8_SevenSigns/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_Classic_2.8_SevenSigns/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_Classic_2.9_SecretOfEmpire/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_Classic_2.9_SecretOfEmpire/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_Classic_2.9_SecretOfEmpire/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_Classic_2.9_SecretOfEmpire/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_Classic_2.9_SecretOfEmpire/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_Classic_2.9_SecretOfEmpire/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_Classic_2.9_SecretOfEmpire/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_Classic_2.9_SecretOfEmpire/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_Classic_Interlude/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_Classic_Interlude/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_Essence_5.2_FrostLord/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_Essence_6.1_BattleChronicle/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_Essence_6.1_BattleChronicle/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_Essence_6.1_BattleChronicle/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_Essence_6.1_BattleChronicle/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_Essence_6.1_BattleChronicle/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_Essence_6.1_BattleChronicle/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_Essence_6.1_BattleChronicle/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_Essence_6.1_BattleChronicle/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--"); diff --git a/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/html/admin/npcinfo.htm b/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/html/admin/npcinfo.htm index ff44a16af7..921b8ff081 100644 --- a/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/html/admin/npcinfo.htm +++ b/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/html/admin/npcinfo.htm @@ -21,20 +21,23 @@
ObjectId%objid%
Type:%class%
Race%race%
-
Spawn file:%spawnfile%
+
Spawn file:%spawnfile%
Spawn name:%spawnname%
-
Spawn group:%spawngroup%
+
Spawn group:%spawngroup%
Spawn AI:%spawnai%
Spawn loc:%spawn%
-
Location:%loc%
-
Heading:%heading%
-
Collision Radius:%collision_radius%
-
Collision Height:%collision_height%
-
Distance:2D: %loc2d%, 3D: %loc3d%
-
Respawn:%resp%
+
Location:%loc%
+
Heading:%heading%
+
Collision Radius:%collision_radius%
+
Collision Height:%collision_height%
+
Distance:2D: %loc2d%, 3D: %loc3d%
+
Respawn:%resp%
+
Chase Range:%chaseRange%
Aggro:%aggro%
HP:%hp%/%hpmax%
MP:%mp%/%mpmax%
+
EXP:%exp%
+
SP:%sp%
Clan Hall:%clanHall%
MpReward:%mpRewardValue% %mpRewardType% %mpRewardTicks% %mpRewardAffectType%
%ai_intention% diff --git a/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java b/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java index e564b43119..ac06ff8325 100644 --- a/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java +++ b/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/scripts/handlers/actionshifthandlers/NpcActionShift.java @@ -67,6 +67,8 @@ public class NpcActionShift implements IActionShiftHandler html.replace("%hpmax%", String.valueOf(npc.getMaxHp())); html.replace("%mp%", String.valueOf((int) npc.getCurrentMp())); html.replace("%mpmax%", String.valueOf(npc.getMaxMp())); + html.replace("%exp%", String.valueOf((int) npc.getTemplate().getExp())); + html.replace("%sp%", String.valueOf((int) npc.getTemplate().getSP())); html.replace("%patk%", String.valueOf(npc.getPAtk())); html.replace("%matk%", String.valueOf(npc.getMAtk())); @@ -141,11 +143,13 @@ public class NpcActionShift implements IActionShiftHandler { html.replace("%resp%", (npc.getSpawn().getRespawnMinDelay() / 1000) + " sec"); } + html.replace("%chaseRange%", npc.getSpawn().getChaseRange()); } else { html.replace("%spawn%", "null"); html.replace("%resp%", "--"); + html.replace("%chaseRange%", "--"); } html.replace("%spawnfile%", "--");