Jump to content
  • 0

Bonus correction item Star Eyepatch


Question

Posted (edited)

Guys, I have the item Star Eyepatch (ID 19444), it is not giving the bonus specified in the item as shown below.
Would anyone know what command to add to item_db to correct it.

 

If equipped with [Orc Hero Card] and Base LV is 99 or lower:
For every 10 base VIT, ATK +10 and MATK +10.
For every 10 base LUK, VIT +1 and LUK +1.

 

  - Id: 19444
    AegisName: Star_Eyepatch_JP_
    Name: Star Eyepatch
    Type: Armor
    View: 800
    Weight: 300
    Defense: 10
    Slots: 1
    Locations:
      Head_Mid: true
    ArmorLevel: 1
    EquipLevelMin: 99
    Script: |
      bonus bVit,3;
      bonus2 bResEff,Eff_Stun,3000;

 

Edited by Kater

2 answers to this question

Recommended Posts

  • 1
Posted
5 hours ago, Kater said:

Guys, I have the item Star Eyepatch (ID 19444), it is not giving the bonus specified in the item as shown below.
Would anyone know what command to add to item_db to correct it.

 

If equipped with [Orc Hero Card] and Base LV is 99 or lower:
For every 10 base VIT, ATK +10 and MATK +10.
For every 10 base LUK, VIT +1 and LUK +1.

 

  - Id: 19444
    AegisName: Star_Eyepatch_JP_
    Name: Star Eyepatch
    Type: Armor
    View: 800
    Weight: 300
    Defense: 10
    Slots: 1
    Locations:
      Head_Mid: true
    ArmorLevel: 1
    EquipLevelMin: 99
    Script: |
      bonus bVit,3;
      bonus2 bResEff,Eff_Stun,3000;

 

I dont know why you said not giving that effects, I saw from https://github.com/rathena/rathena/blob/master/db/re/item_combos.yml its there.

      - Combo:
          - Star_Eyepatch_JP_
          - Orc_Hero_Card
    Script: |
      if (BaseLevel >= 100) {
         bonus bBaseAtk,30*(readparam(bVit)/10);
         bonus bMatk,30*(readparam(bVit)/10);
         bonus bVit,3*(readparam(bLuk)/10);
         bonus bLuk,3*(readparam(bLuk)/10);
      }
      else if (BaseLevel <= 99) {
         bonus bBaseAtk,10*(readparam(bVit)/10);
         bonus bMatk,10*(readparam(bVit)/10);
         bonus bVit,readparam(bLuk)/10;
         bonus bLuk,readparam(bLuk)/10;
      }

If you're using pre-re then its not there https://github.com/rathena/rathena/blob/master/db/pre-re/item_combos.yml then you should add it yourself.

  • Love 1
  • 0
Posted
21 minutes ago, Chaos92 said:

I dont know why you said not giving that effects, I saw from https://github.com/rathena/rathena/blob/master/db/re/item_combos.yml its there.

      - Combo:
          - Star_Eyepatch_JP_
          - Orc_Hero_Card
    Script: |
      if (BaseLevel >= 100) {
         bonus bBaseAtk,30*(readparam(bVit)/10);
         bonus bMatk,30*(readparam(bVit)/10);
         bonus bVit,3*(readparam(bLuk)/10);
         bonus bLuk,3*(readparam(bLuk)/10);
      }
      else if (BaseLevel <= 99) {
         bonus bBaseAtk,10*(readparam(bVit)/10);
         bonus bMatk,10*(readparam(bVit)/10);
         bonus bVit,readparam(bLuk)/10;
         bonus bLuk,readparam(bLuk)/10;
      }

If you're using pre-re then its not there https://github.com/rathena/rathena/blob/master/db/pre-re/item_combos.yml then you should add it yourself.

I mark it solve . This should solve the problem

  • Like 1

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...