From f1af15f7af3118a718a2a2ea02156e778b96a16f Mon Sep 17 00:00:00 2001 From: Lance Date: Sat, 17 Jun 2006 07:48:10 +0000 Subject: * [Added]: - buildin_checkcell, buildin_mobwarp, buildin_pcattack. * [Improved]: - buildin_skilluseid and buildin_skillusepos to accept a few more arguments. - mob_script_callback to return sucess value. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7219 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/sample/monster_controller.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'npc/sample') diff --git a/npc/sample/monster_controller.cpp b/npc/sample/monster_controller.cpp index 4953a12bb..76ba7ade3 100644 --- a/npc/sample/monster_controller.cpp +++ b/npc/sample/monster_controller.cpp @@ -87,6 +87,7 @@ prontera.gat,180,200,4 script Monster Controller 123,{ break; case AI_ACTION_TYPE_DEAD: set .@action_type$, "Killed by"; + remove_mob .ai_action[AI_ACTION_SRC]; break; case AI_ACTION_TYPE_ASSIST: set .@action_type$, "Assisting"; -- cgit v1.2.3-60-g2f50