Jump to content
  • 0

bonus bBreakweapon (possible also bBreakArmor)


Zeiyan

Question


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

Hello hercules. Well I'm not sure if it's a bug or something i did or anything that i'm not aware of. 1st of all here are some of my modification

 

battle.conf

 

// Overall rate of which your own equipment can break. (Note 2)
// This rate affects penalty breaking rate of skills such as power-thrust and your natural breaking rate
// (from equip_natural_break_rate). If a Sage's endow skill fails and this is above 0, the selected char's
// weapon will be broken.
equip_self_break_rate: 10

// Overall rate at which you can break target's equipment. (Note 2)
// This affects the behaviour of skills like acid terror and meltdown
equip_skill_break_rate: 10

 

 

 

item_db.conf

{
    Id: 4361
    AegisName: "B_Harword_Card"
    Name: "Whitesmith Card"
    Type: 6
    Buy: 20
    Weight: 10
    Loc: 2
    Script: <"
        callfunc "ccount"; if(@cardcnt < 3) {
            bonus4 bAutoSpell,486,3,30,0;
            bonus4 bAutoSpell,42,10,30,1;
            bonus bBreakWeaponRate,300;
            bonus bBreakArmorRate,300;
        }
    ">
    Trade: {
        nodrop: true
        }
},

 

Problem:

 The armor so far is working properly (breaking the armor), However there are some instances that the bonus "bBreakWeaponRate" is not working. It's that it's not working at all but it does not work on some characters/weapon types maybe. (i'm not sure we tested it on high wizard with survivor rod and knife = knife gets broken, survivor rod = survives :P)

 

We tested it on some more characters and weapons but i'm having trouble determining what is causing this.

 

NOTE: We also tried 100% break rate to determine if it really is working or not and there really is something wrong.

 

 

Another question

equip_skill_break_rate
equip_skill_break_rate

their defaults are 100 and i set them to 10. How does this affect the bonus bBreakWeapon and bBreakArmor?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  802
  • Reputation:   228
  • Joined:  01/30/13
  • Last Seen:  

Well first of all, wrong forum, you probably wanted to post this on Herc forums?

 

But anyway, certain weapon types like rods are unbreakable by default. They will never break.

 

Setting equip break rate from 100% to 10% will do just that. 10 times less likely for equipment to break.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

Yea I posted here also just in case (sorry about that I'm a fan of both rathena and hercules no offense)

 

uhmm if i leave my equip break rate at 100% then have my item bonus at bonus bBreakWeaponRate,300; will that break those weapons at 3%?


if (where&EQP_WEAPON) {
switch (sd->status.weapon) {
case W_FIST: //Bare fists should not break 
//case W_1HAXE:
//case W_2HAXE:
//case W_MACE: // Axes and Maces can't be broken [DracoRPG]
//case W_2HMACE:
//case W_STAFF:
//case W_2HSTAFF:
//case W_BOOK: //Rods and Books can't be broken [Skotlex]
//case W_HUUMA:
where &= ~EQP_WEAPON;
}
}

Solved by commenting these lines

Edited by Zeiyan
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  802
  • Reputation:   228
  • Joined:  01/30/13
  • Last Seen:  

Are you sure you want to make those weapon breakable? That's a huge nerf for Blacksmiths (as their weapons will break from their own Adrenaline Rush).

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

equip_self_break_rate: 0

 

I've set this to zero.

 

and i think you meant overthrust or maximum overthrust

Edited by Zeiyan
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...