wearing condition for multiple items

Discussion in 'Support' started by WhenChickensFly, Jul 7, 2019.

  1. WhenChickensFly

    WhenChickensFly New Member

    Joined:
    Aug 31, 2017
    Messages:
    3
    Likes Received:
    0
    I am trying to use this with MythicArtifacts.
    Is it possible for the 'wearing' condition to be used for multiple armor pieces?

    I have tried:
    Code:
    BirchSpeed:
      Conditions:
      - wearing{slot=helmet;mmitem=BirchHelmet} true
      - wearing{slot=chestplate;mmitem=BirchChestplate} true
      Skills:
      - potion{type=SPEED;duration=20;level=1;force=true} @self
    And used these armor pieces:
    Code:
    BirchHelmet:
      Id: LEATHER_HELMET
      Display: '&fBirch Helmet'
      Lore:
      - '&aUncommon'
      - '&7A helmet forged from birch tree bark'
      - ''
      - '&7When on head:'
      - '&9+1 Armor'
      Hide:
      - ATTRIBUTES
      Skills:
      - skill{s=BirchSpeed} @self ~onTimer:20
      Options:
        Unbreakable: true
        Color: 240,240,240
      Attributes:
        Head:
          Armor: 1
    BirchChestplate:
      Id: LEATHER_CHESTPLATE
      Display: '&fBirch Chestplate'
      Lore:
      - '&aUncommon'
      - '&7A chestplate forged from birch tree bark'
      - ''
      - '&7When on chest:'
      - '&9+3 Armor'
      Hide:
      - ATTRIBUTES
      Options:
        Unbreakable: true
        Color: 240,240,240
      Attributes:
        Chest:
          Armor: 3
    I have tested the skill and I get the speed even if I only have the helmet equipped or if the helmet is in my hand.

    Is there something else I am missing or is this just not possible?
     
    #1
  2. Adam.

    Adam. New Member

    Joined:
    May 25, 2019
    Messages:
    6
    Likes Received:
    0
    Try replacing the "slot=helmet" and "slot=chestplate" with "slot=4" and "slot=3" respectively. If that doesn't work, try "slot=Head" and "slot=Chest"
     
    #2
  3. WhenChickensFly

    WhenChickensFly New Member

    Joined:
    Aug 31, 2017
    Messages:
    3
    Likes Received:
    0
    I tried both options, I am still getting speed when the helmet is in my hand or I am wearing it, regardless if I am wearing the chestplate or not. I also tried TargetConditions since I was targeting myself but it still didn't work as intended.
     
    #3

Share This Page