Problems with skill equipment on spawn

Discussion in 'General' started by Zomblad, Apr 24, 2017.

  1. Zomblad

    Zomblad Member

    Joined:
    Mar 2, 2017
    Messages:
    76
    Likes Received:
    2
    Hello. Im having a trouble with making a skill for vanilla zombies that gives them random armor and items on spawn. I have tried making it like that, but it not worked out:

    Code:
    ZOMBIE:
      Display: '&4ZOMBIE'
      Skills:
      - equip{item=269:0} @trigger ~@Self ~onSpawn 0.45
    Please, help me, thanks.
     
    #1
  2. BerndiVader

    BerndiVader Active Member
    Supporter

    Joined:
    Feb 9, 2016
    Messages:
    602
    Likes Received:
    220
    Code:
    - equip{item=269:0} @self ~onSpawn 0.45
     
    #2
  3. muhahahahe

    muhahahahe Well-Known Member
    Supporter Quality Assurance

    Joined:
    Mar 16, 2017
    Messages:
    985
    Likes Received:
    186
    whats so random about it?
    i can only see 1 item with a chance
    so i assume u have - equip{item=269:0} @self ~onSpawn 0.45 multiple times, could possibly end up having the last equip skill in the list as a very common item

    make it a random skill would be better i guess

    i.e.
    Code:
    ZOMBIE:
      Display: '&4ZOMBIE'
      Skills:
      - randomskill{skills=EquipA,EquipB,EquipC .......... } ~onSpawn
    Code:
    EquipA:
      Skills:
      - equip{item=XXX:0} @Self
      - equip{item=XXX:1} @Self
      - equip{item=XXX:2} @Self
      - equip{item=XXX:3} @Self
      - equip{item=XXX:4} @Self
      - equip{item=XXX:5} @Self
    in there u can also work with chances
     
    #3
  4. Zomblad

    Zomblad Member

    Joined:
    Mar 2, 2017
    Messages:
    76
    Likes Received:
    2
    Not works.
     
    #4
  5. muhahahahe

    muhahahahe Well-Known Member
    Supporter Quality Assurance

    Joined:
    Mar 16, 2017
    Messages:
    985
    Likes Received:
    186
    ummm, yeah seems like there is a bug
    equip mechanic only works with created MythicMobs items not with vanilla items either name or id
    im on MC 1.11.2 and MM 4.0.1


    work around:
    create the items in an ItemFile
     
    #5
  6. Zomblad

    Zomblad Member

    Joined:
    Mar 2, 2017
    Messages:
    76
    Likes Received:
    2
    Oml, MM is so bugged D:
    How long should we wait till the next update?..
     
    #6
  7. muhahahahe

    muhahahahe Well-Known Member
    Supporter Quality Assurance

    Joined:
    Mar 16, 2017
    Messages:
    985
    Likes Received:
    186
    i dont think the next update will fix it, cause this bug wasnt known till know :D

    make a post in the bugsection pls, to let xikage know about it
     
    #7
  8. Zomblad

    Zomblad Member

    Joined:
    Mar 2, 2017
    Messages:
    76
    Likes Received:
    2
    Sorry, new here, idk where is bug section. (probably, idk how to read too) xD
     
    #8
  9. muhahahahe

    muhahahahe Well-Known Member
    Supporter Quality Assurance

    Joined:
    Mar 16, 2017
    Messages:
    985
    Likes Received:
    186
  10. Krowerom

    Krowerom Active Member

    Joined:
    Apr 22, 2016
    Messages:
    550
    Likes Received:
    182
    I use the vanilla core items that Jaylawl added a while back, it has most vanilla items so you can refer to them in MythicMobs. I don't know if it works with 4.x though.. but it's a great starting point rather than needing to write a whole file yourself.
     
    #10
    muhahahahe and BerndiVader like this.

Share This Page