Shade Posted July 28, 2012 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 123 Reputation: 28 Joined: 04/09/12 Last Seen: February 10, 2021 Share Posted July 28, 2012 (edited) Hi, I stumbled across stumbled bonus while browsing for items in item_db, I'm just wondering if there's any documentation on how to use them? autobonus "{ bonus bAspdRate,100; }",5,10000,0,"{ specialeffect2 EF_POTION_BERSERK; autobonus2 "{ bonus bDef,10; }",3,10000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_FREEZED; I am interested to make other effects like when your HP is lower than a certain percentage, you will get bonuses. Examples, When your HP is lower than 20%, you have 50% chance to use "Heal" When your SP is lower than 10%, your SP regeneration increase by 10% Thanks in advance. Edited July 28, 2012 by Shade Quote Link to comment Share on other sites More sharing options...
Wafflebutt Posted July 28, 2012 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 234 Reputation: 19 Joined: 06/15/12 Last Seen: November 28, 2023 Share Posted July 28, 2012 autobonus2 "{ bonus bDef,10; }",3,10000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_FREEZED; }"; Effect Chance Duration Condition when it happens PewPew laser show 2 1 Quote Link to comment Share on other sites More sharing options...
Shade Posted July 28, 2012 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 123 Reputation: 28 Joined: 04/09/12 Last Seen: February 10, 2021 Author Share Posted July 28, 2012 Thanks ! Are the conditions limited to : Trigger criteria: BF_SHORT: Trigger on melee attack BF_LONG: Trigger on ranged attack ( Default: BF_SHORT+BF_LONG ) BF_WEAPON: Trigger on weapon skills BF_MAGIC: Trigger on magic skills BF_MISC: Trigger on misc skills ( Default: BF_WEAPON ) BF_NORMAL: Trigger on normal attacks. BF_SKILL: Trigger on skills (Default: BF_SKILL if type is BF_MISC or BF_MAGIC, BF_NORMAL if type is BF_WEAPON) I am really hoping to get to know how to do the condition i mentioned above. Quote Link to comment Share on other sites More sharing options...
Wafflebutt Posted July 28, 2012 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 234 Reputation: 19 Joined: 06/15/12 Last Seen: November 28, 2023 Share Posted July 28, 2012 You may wanna look at this thread: http://rathena.org/board/topic/60884-autocasting-berserk-when-hp-is-low-item-bonus/page__p__88946__hl__maxhp#entry88946 And try it out. I can´t test anything atm cause my test vps is overloaded Q_Q Quote Link to comment Share on other sites More sharing options...
Question
Shade
Hi,
I stumbled across stumbled bonus while browsing for items in item_db, I'm just wondering if there's any documentation on how to use them?
I am interested to make other effects like when your HP is lower than a certain percentage, you will get bonuses.
Examples,
When your HP is lower than 20%, you have 50% chance to use "Heal"
When your SP is lower than 10%, your SP regeneration increase by 10%
Thanks in advance.
Edited by ShadeLink to comment
Share on other sites
3 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.