Jump to content
  • 0

conditioning autobonus


Question

Posted (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 by Shade

3 answers to this question

Recommended Posts

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...