diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-16 13:42:33 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-16 13:42:33 +0000 |
commit | 006239e10f3c6f801fe4cb0a3de00979492a7058 (patch) | |
tree | c375e0695df88321216b1fc2efb7a0d000096a8b /npc/sample/monster_controller.cpp | |
parent | 3a60dd0b55de6c81a3d38d96880031f262e1070c (diff) | |
download | hercules-006239e10f3c6f801fe4cb0a3de00979492a7058.tar.gz hercules-006239e10f3c6f801fe4cb0a3de00979492a7058.tar.bz2 hercules-006239e10f3c6f801fe4cb0a3de00979492a7058.tar.xz hercules-006239e10f3c6f801fe4cb0a3de00979492a7058.zip |
Fixed a missing curly brace and removed some more .gat-s
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10020 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/sample/monster_controller.cpp')
-rw-r--r-- | npc/sample/monster_controller.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/sample/monster_controller.cpp b/npc/sample/monster_controller.cpp index 686766cbc..4d368467c 100644 --- a/npc/sample/monster_controller.cpp +++ b/npc/sample/monster_controller.cpp @@ -1,6 +1,6 @@ // Variables Logging: // .mc_moblist[] - ID list of mobs -prontera.gat,180,200,4 script Monster Controller 123,{ +prontera,180,200,4 script Monster Controller 123,{ function display_info { getmobdata getarg(0), .@mob_data; set .@array_size, getarraysize(.@mob_data); @@ -31,7 +31,7 @@ prontera.gat,180,200,4 script Monster Controller 123,{ function summon_mob { set .@mob_size, getarraysize(.mc_moblist); - set .mc_moblist[.@mob_size], spawnmob("Slave - " + .@mob_size, getarg(0), "prontera.gat", 180, 200); + set .mc_moblist[.@mob_size], spawnmob("Slave - " + .@mob_size, getarg(0), "prontera", 180, 200); mobattach .mc_moblist[.@mob_size]; setmobdata .mc_moblist[.@mob_size], 25, AI_ACTION_TYPE_ATTACK| @@ -54,7 +54,7 @@ prontera.gat,180,200,4 script Monster Controller 123,{ } if(getarraysize(.ai_action) == 4){ - mapannounce "prontera.gat", "[Mob Control] AI Action Received from " + .ai_action[AI_ACTION_SRC] + "!",16; + mapannounce "prontera", "[Mob Control] AI Action Received from " + .ai_action[AI_ACTION_SRC] + "!",16; switch(.ai_action[AI_ACTION_TAR_TYPE]){ case AI_ACTION_TAR_TYPE_PC: set .@action_from$, "Player"; @@ -106,7 +106,7 @@ prontera.gat,180,200,4 script Monster Controller 123,{ break; } - mapannounce "prontera.gat", "Details - " + .@action_type$ + " [" + .@action_from$ + "] " + .@action_name$ + "!", 16; + mapannounce "prontera", "Details - " + .@action_type$ + " [" + .@action_from$ + "] " + .@action_name$ + "!", 16; deletearray .ai_action, 4; end; } |