*Added 'status_icon' param for *bonus_script script, thank QQfoolsorellina for the suggestion (https://github.com/rathena/rathena/commit/99098c1#commitcomment-4558795)

--> bonus_script "<script code>",<duration>{,<flag>{,<type>{,<status_icon>{,<char_id>}}}};
* Please update your sql database (main database) with upgrade_20131227.sql

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
This commit is contained in:
Cydh Ramdh
2013-12-27 18:17:41 +07:00
parent 90ced830a4
commit be05bc399b
15 changed files with 937 additions and 133 deletions

View File

@@ -705,9 +705,10 @@ INSERT INTO `interreg` (`varname`, `value`) VALUES
--
CREATE TABLE IF NOT EXISTS `bonus_script` (
`char_id` int(11) NOT NULL,
`char_id` varchar(11) NOT NULL,
`script` varchar(1024) NOT NULL,
`tick` int(11) NOT NULL,
`flag` tinyint(3) unsigned NOT NULL DEFAULT '0',
`type` tinyint(1) unsigned NOT NULL DEFAULT '0'
`tick` varchar(11) NOT NULL DEFAULT '0',
`flag` varchar(3) NOT NULL DEFAULT '0',
`type` char(1) NOT NULL DEFAULT '0',
`icon` varchar(3) NOT NULL DEFAULT '-1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;