Jump to content
  • 0

(solved) item combo getrefine script


jamesandrew

Question


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.07
  • Content Count:  58
  • Reputation:   3
  • Joined:  06/21/23
  • Last Seen:  

How do you make card combo script for this?

Poring Card
[+Mastering Card]
Critical Rate +3
[Refine Rate +8 or higher]
Addtional LUK +2
Addtional Critical Rate +3

item_combos.yml

  - Combos:
      - Combo:
          - Mastering_Card
          - Poring_Card
    Script: |
      bonus bCritical,3;
      if (getrefine()>7) {
         bonus bLuk,2;
         bonus bCritical,3;
      }

I'm getting this error
image.png.b9474468e36fcfb92c1c7039b4b3872c.png

Edited by jamesandrew
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1536
  • Reputation:   237
  • Joined:  08/03/12
  • Last Seen:  

1 hour ago, jamesandrew said:

How do you make card combo script for this?

Poring Card
[+Mastering Card]
Critical Rate +3
[Refine Rate +8 or higher]
Addtional LUK +2
Addtional Critical Rate +3

item_combos.yml

  - Combos:
      - Combo:
          - Mastering_Card
          - Poring_Card
    Script: |
      bonus bCritical,3;
      if (getrefine()>7) {
         bonus bLuk,2;
         bonus bCritical,3;
      }

I'm getting this error
image.png.b9474468e36fcfb92c1c7039b4b3872c.png

you didnt specify which part for the refine.

Example :

      if (getequiprefinerycnt(EQI_HAND_R) >= 7) {
         autobonus "{ bonus bIgnoreDefClass,Class_Normal; }",1000,3000,BF_SHORT|BF_NORMAL;
      }

 

  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.07
  • Content Count:  58
  • Reputation:   3
  • Joined:  06/21/23
  • Last Seen:  

4 hours ago, Chaos92 said:

you didnt specify which part for the refine.

Example :

      if (getequiprefinerycnt(EQI_HAND_R) >= 7) {
         autobonus "{ bonus bIgnoreDefClass,Class_Normal; }",1000,3000,BF_SHORT|BF_NORMAL;
      }

 

It didn't work. I'm still getting same error.

  - Combos:
      - Combo:
          - Mastering_Card
          - Poring_Card
    Script: |
      bonus bCritical,3;
      if (getequiprefinerycnt(EQI_GARMENT) >= 8) {
         bonus bLuk,2;
         bonus bCritical,3;
      }
  - Combos:
      - Combo:
          - Mastering_Card
          - Poring_Card
    Script: |
      bonus bCritical,3;
      .@r = getequiprefinerycnt(EQI_GARMENT);
      if (.@r>=8) {
         bonus bLuk,2;
         bonus bCritical,3;
      }

both didn't work

Edited by jamesandrew
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1536
  • Reputation:   237
  • Joined:  08/03/12
  • Last Seen:  

1 hour ago, jamesandrew said:

It didn't work. I'm still getting same error.

  - Combos:
      - Combo:
          - Mastering_Card
          - Poring_Card
    Script: |
      bonus bCritical,3;
      if (getequiprefinerycnt(EQI_GARMENT) >= 8) {
         bonus bLuk,2;
         bonus bCritical,3;
      }
  - Combos:
      - Combo:
          - Mastering_Card
          - Poring_Card
    Script: |
      bonus bCritical,3;
      .@r = getequiprefinerycnt(EQI_GARMENT);
      if (.@r>=8) {
         bonus bLuk,2;
         bonus bCritical,3;
      }

both didn't work

what error ? And are u sure that getrefine error is from this line ? 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.07
  • Content Count:  58
  • Reputation:   3
  • Joined:  06/21/23
  • Last Seen:  

solved. It was an error from import/item_combos.yml

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