From f78863b6e5b3593fa31f866d5b55e50364243826 Mon Sep 17 00:00:00 2001 From: Lance Date: Fri, 16 Jun 2006 14:46:15 +0000 Subject: * [Added]: - Added option #25 to buildin_setmobdata to set the callback_flag. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7203 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 2 ++ src/map/script.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 680d94569..3ad13a0d9 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2006/06/16 + * [Added]: + - Added option #25 to buildin_setmobdata to set the callback_flag. [Lance] * [Improved]: - Cleaned up Custom Mob Script Callback codes. Looks much better now :B. [Lance] diff --git a/src/map/script.c b/src/map/script.c index ab4be0c5b..09fa6a1cf 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10717,6 +10717,9 @@ int buildin_setmobdata(struct script_state *st){ case 24: md->state.killer = value2>0?1:0; break; + case 25: + md->callback_flag = (unsigned char)value2; + break; default: ShowError("buildin_setmobdata: argument id is not identified."); return -1; -- cgit v1.2.3-70-g09d2