Elysium Posted June 26, 2015 Group: Members Topic Count: 41 Topics Per Day: 0.01 Content Count: 164 Reputation: 17 Joined: 03/15/12 Last Seen: October 24, 2020 Share Posted June 26, 2015 Hello, just wanna ask, what date was bonus_script has been implemented https://rathena.org/wiki/Bonus_scripttwo of my emulators doesn't have bonus_script currently using 17327 and 17310.https://github.com/rathena/rathena/search?p=1&q=bonus_script&utf8=%E2%9C%93 l'm looking for the .patch fileRegards, Elysium Quote Link to comment Share on other sites More sharing options...
0 RumbleRO Posted October 4, 2024 Group: Members Topic Count: 10 Topics Per Day: 0.01 Content Count: 27 Reputation: 2 Joined: 09/02/22 Last Seen: 7 hours ago Share Posted October 4, 2024 On 6/29/2015 at 1:12 AM, Stolao said: think it was 174xx its not specified in the documentaion https://rathena.org/board/topic/83032-script-commands-additionsupdates/#entry231696 from my script_commands.txt *bonus_script "<script code>",<duration>{,<flag>{,<type>{,<status_icon>{,<char_id>}}}}; This command will attach a script to a player for a given duration, in seconds. After that time, the script will automatically expire. The same bonus cannot be stacked. By default, this bonus will be stored on `bonus_script` table when player logs out. Flags (bitmask): 1 : Remove when dead. 2 : Removable by Dispell. 4 : Removable by Clearance. 8 : Remove when player logs out. 16 : Removeable by Banishing Buster. 32 : Removable by Refresh. 64 : Removable by Luxanima. 128 : Remove when Madogear is activated or deactivated. 256 : Remove when receive damage. 512 : Script is permanent, cannot be cleared by bonus_script_clear. 1024: Force to replace duplicated script by expanding the duration. 2048: Force to add duplicated script. This flag cannot be stacked with 1024, if both are defined, 1024 will be checked first and ignore this flag. Types: This will be used to decide negative or positive buff for 'debuff_on_logout'. 0: Ignore the buff type and won't be removed if the flag is not &8 (Default) 1: Buff 2: Debuff Status_icon: See "Status Icon" section in 'db/const.txt'. Default is SI_BLANK (-1). Example: // Apple gives you +5 Str bonus for 1 minute when it's consumed. 512,Apple,Apple,0,15,,20,,,,,0xFFFFFFFF,63,2,,,,,,{ bonus_script "{ bonus bStr,5; }",60; },{},{} Hello Sir! Regarding the Bonus Script. I just want to ask is if it's possible to override the time for example " { bonus_script "{ bonus bStr,5; }",60,8; }. Is it possible to set it into different time in Item Script. I am trying to make a 1 day 3 day 7 day item using the bonus_script but it is set as for 60 seconds only. Quote Link to comment Share on other sites More sharing options...
Stolao Posted June 28, 2015 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: April 9 Share Posted June 28, 2015 think it was 174xx its not specified in the documentaion https://rathena.org/board/topic/83032-script-commands-additionsupdates/#entry231696 from my script_commands.txt *bonus_script "<script code>",<duration>{,<flag>{,<type>{,<status_icon>{,<char_id>}}}}; This command will attach a script to a player for a given duration, in seconds. After that time, the script will automatically expire. The same bonus cannot be stacked. By default, this bonus will be stored on `bonus_script` table when player logs out. Flags (bitmask): 1 : Remove when dead. 2 : Removable by Dispell. 4 : Removable by Clearance. 8 : Remove when player logs out. 16 : Removeable by Banishing Buster. 32 : Removable by Refresh. 64 : Removable by Luxanima. 128 : Remove when Madogear is activated or deactivated. 256 : Remove when receive damage. 512 : Script is permanent, cannot be cleared by bonus_script_clear. 1024: Force to replace duplicated script by expanding the duration. 2048: Force to add duplicated script. This flag cannot be stacked with 1024, if both are defined, 1024 will be checked first and ignore this flag. Types: This will be used to decide negative or positive buff for 'debuff_on_logout'. 0: Ignore the buff type and won't be removed if the flag is not &8 (Default) 1: Buff 2: Debuff Status_icon: See "Status Icon" section in 'db/const.txt'. Default is SI_BLANK (-1). Example: // Apple gives you +5 Str bonus for 1 minute when it's consumed. 512,Apple,Apple,0,15,,20,,,,,0xFFFFFFFF,63,2,,,,,,{ bonus_script "{ bonus bStr,5; }",60; },{},{} 1 Quote Link to comment Share on other sites More sharing options...
Question
Elysium
Hello, just wanna ask, what date was bonus_script has been implemented https://rathena.org/wiki/Bonus_script
two of my emulators doesn't have bonus_script currently using 17327 and 17310.
https://github.com/rathena/rathena/search?p=1&q=bonus_script&utf8=%E2%9C%93
l'm looking for the .patch file
Regards,
Elysium
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.