diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-17 07:48:10 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-17 07:48:10 +0000 |
commit | f1af15f7af3118a718a2a2ea02156e778b96a16f (patch) | |
tree | e470f7e9361cca9df5f0c4c4a682e8d63ba9d0da /npc/sample/monster_controller.cpp | |
parent | 50d4640a538e16e718e8192ca12bc5ade1a7387f (diff) | |
download | hercules-f1af15f7af3118a718a2a2ea02156e778b96a16f.tar.gz hercules-f1af15f7af3118a718a2a2ea02156e778b96a16f.tar.bz2 hercules-f1af15f7af3118a718a2a2ea02156e778b96a16f.tar.xz hercules-f1af15f7af3118a718a2a2ea02156e778b96a16f.zip |
* [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
Diffstat (limited to 'npc/sample/monster_controller.cpp')
-rw-r--r-- | npc/sample/monster_controller.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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";
|