Jump to content
  • 0
aabarreto

Hit Bonus problem

Question

So, since I couldn't find bRO scripts done, I'm starting to custom add the items myself...

 

Buuuut... My Red Dragon Armor is just giving me hit +1 bonus, doesn't matter the refine.

 

This is the script I made:

 

{    Id: 15240
    AegisName: "RED_DRAGON"
    Name: "Armadura do Dragão Vermelho"
    Type: "IT_ARMOR"
    Weight: 40
    Def: 100
    Slots: 1
    Upper: ["ITEMUPPER_UPPER", "ITEMUPPER_THIRD", "ITEMUPPER_THIRDUPPER", "ITEMUPPER_THIRDBABY"]
    Loc: "EQP_ARMOR"
    EquipLv: 90
    Script: <"
        bonus bHit,10;
        bonus bAllStats,1;
        if(getrefine()>=6) {
            bonus bHit,10;
            bonus2 bAddRace,RC_Boss,10;
            };
        if(getrefine()>=11) {
            bonus bHit,10;
            bonus2 bAddRace,RC_Boss,10;
            };
">

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
3 hours ago, aabarreto said:

So, since I couldn't find bRO scripts done, I'm starting to custom add the items myself...

 

Buuuut... My Red Dragon Armor is just giving me hit +1 bonus, doesn't matter the refine.

 

This is the script I made:

 

{    Id: 15240
    AegisName: "RED_DRAGON"
    Name: "Armadura do Dragão Vermelho"
    Type: "IT_ARMOR"
    Weight: 40
    Def: 100
    Slots: 1
    Upper: ["ITEMUPPER_UPPER", "ITEMUPPER_THIRD", "ITEMUPPER_THIRDUPPER", "ITEMUPPER_THIRDBABY"]
    Loc: "EQP_ARMOR"
    EquipLv: 90
    Script: <"
        bonus bHit,10;
        bonus bAllStats,1;
        if(getrefine()>=6) {
            bonus bHit,10;
            bonus2 bAddRace,RC_Boss,10;
            };
        if(getrefine()>=11) {
            bonus bHit,10;
            bonus2 bAddRace,RC_Boss,10;
            };
">

  I got my hit bonus +10 when I refine my item to 6

 

 Script: <"
            if(getrefine()>=6) {
            bonus bHit,10;
            bonus2 bAddRace,RC_Boss,10;
        }
    ">

 

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, Daraen said:

  I got my hit bonus +10 when I refine my item to 6

 

 Script: <"             if(getrefine()>=6) {             bonus bHit,10;             bonus2 bAddRace,RC_Boss,10;         }     ">


 Script: <"
            if(getrefine()>=6) {
            bonus bHit,10;
            bonus2 bAddRace,RC_Boss,10;
        }
    ">

 

Damn... What the problem could be then?

Share this post


Link to post
Share on other sites
  • 0
13 minutes ago, aabarreto said:

Damn... What the problem could be then?

  This should work

 Script: <"
        bonus bHit,10;
        bonus bAllStats,1;
            if(getrefine() >= 6) {
            bonus bHit,10;
            bonus2 bAddRace,RC_Boss,10;
            }
            if(getrefine() >= 11) {
            bonus bHit,10;
            bonus2 bAddRace,RC_Boss,10;
            }
    ">

 

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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