Jump to content
  • 0
Shade

conditioning autobonus

Question

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
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

autobonus2 "{ bonus bDef,10; }",3,10000,BF_WEAPON|BF_MAGIC,"{ specialeffect2 EF_FREEZED; }";

Effect

Chance

Duration

Condition when it happens

PewPew laser show

  • Upvote 2
  • MVP 1
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.