Jump to content
  • 0

Taking out and modifying some item combo in item_combos.yml


Question

Posted

Hi all,

I am trying to modify the script in item_combos.yml file for Auto_Armor. Currently the combos is grouped together with other items which does not have the value I desired.

  - Combos:
      - Combo:
          - Illusion_Armor_A
          - Illusion_Engine_A
      - Combo:
          - Auto_Armor_A
          - Auto_Engine_A
      - Combo:
          - E_Illusion_Armor_A
          - E_Illusion_Engine_A
      - Combo:
          - Gray_W_Suits
          - Gray_W_Manteau
    Script: |
      bonus bBaseAtk,100;

I tried modifying those code into these.

  - Combos:
      - Combo:
          - Illusion_Armor_A
          - Illusion_Engine_A
      - Combo:
          - E_Illusion_Armor_A
          - E_Illusion_Engine_A
      - Combo:
          - Gray_W_Suits
          - Gray_W_Manteau
    Script: |
      bonus bBaseAtk,100;
  - Combos:
      - Combo:
          - Auto_Armor_A
          - Auto_Engine_A
      Script: |
        bonus bBaseAtk,200;

But when running the server, the mapserver.bat stopped at 'Loading db/re/item_combos.yml

image.thumb.png.3eba69fc7e240e90087efb691443d995.png

May I know whether there are other files I need to modify in order to make those changes work? Or I was just mistaken in modifying the item_combos.yml?

Thank you in advance!

2 answers to this question

Recommended Posts

  • 0
Posted

If it crashes you probably have a syntax error in the file. Make sure you used spaces instead of tabs and the number of spaces is correct. That's the most common mistake I make.

Looks like you put too many spaces before the script part.

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