Jump to content
  • 0

Taking out and modifying some item combo in item_combos.yml


tdksw1992

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  05/05/22
  • Last Seen:  

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!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  177
  • Reputation:   25
  • Joined:  12/24/14
  • Last Seen:  

I'm try to make new item_combos
for me work fine, try to put this at db -> import -> item_combos.yml

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  790
  • Reputation:   225
  • Joined:  01/30/13
  • Last Seen:  

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.

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