summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-26 09:57:26 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-26 09:57:26 +0000
commit3b06b9a0e53e331621775afa0b6fe04ced300e51 (patch)
tree563ceace38b9803132e9ea9ddc1a4a99612eee32 /npc
parentffcebec91192484588b2a5853782d026e5370f0c (diff)
downloadhercules-3b06b9a0e53e331621775afa0b6fe04ced300e51.tar.gz
hercules-3b06b9a0e53e331621775afa0b6fe04ced300e51.tar.bz2
hercules-3b06b9a0e53e331621775afa0b6fe04ced300e51.tar.xz
hercules-3b06b9a0e53e331621775afa0b6fe04ced300e51.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6771 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/sample/monster_controller.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/sample/monster_controller.cpp b/npc/sample/monster_controller.cpp
index 479320f2f..2c1c4acf4 100644
--- a/npc/sample/monster_controller.cpp
+++ b/npc/sample/monster_controller.cpp
@@ -53,15 +53,15 @@ prontera.gat,180,200,4 script Monster Controller 123,{
break;
case AI_ACTION_TAR_TYPE_MOB:
set .@action_from$, "Monster";
- set .@action_name$, ""+.ai_action[AI_ACTION_TAR];
+ set .@action_name$, rid2name(.ai_action[AI_ACTION_TAR]);
break;
case AI_ACTION_TAR_TYPE_PET:
set .@action_from$, "Pet";
- set .@action_name$, ""+.ai_action[AI_ACTION_TAR];
+ set .@action_name$, rid2name(.ai_action[AI_ACTION_TAR]);
break;
case AI_ACTION_TAR_TYPE_HOMUN:
set .@action_from$, "Homunculus";
- set .@action_name$, ""+.ai_action[AI_ACTION_TAR];
+ set .@action_name$, rid2name(.ai_action[AI_ACTION_TAR]);
break;
default:
set .@action_from$, "Unknown";