Shade Posted July 28, 2012 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
1 Wafflebutt Posted July 28, 2012 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
Shade Posted July 28, 2012 Author 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
Wafflebutt Posted July 28, 2012 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
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 Shade3 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.