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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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