How do you make a mob drop a mythicmobs egg on death?

Discussion in 'Support' started by LordofLightning, Apr 8, 2019.

  1. LordofLightning

    LordofLightning New Member

    Joined:
    Sep 27, 2017
    Messages:
    12
    Likes Received:
    0
    Question says it all, I want a one of my bosses to drop a mythic mobs spawn egg.
     
    #1
  2. Nexto

    Nexto Member

    Joined:
    Dec 3, 2017
    Messages:
    111
    Likes Received:
    8
    First, do the command in mc of the egg you want to get, now, replace the name for <target.name>. Now, into the boss skills, add a command mechanic, use as command the one you did in mc and use as target @Pir{r=20} and as trigger ~onDeath
     
    #2
  3. LordofLightning

    LordofLightning New Member

    Joined:
    Sep 27, 2017
    Messages:
    12
    Likes Received:
    0
    I want this to be dropped on the ground though, not directly put into the inventory of the bosses current primary target. (I really don't won't some guy to gain the boss's agro at the last second while doing like no damage and getting the egg)
     
    #3
  4. Lullo

    Lullo New Member

    Joined:
    Jan 31, 2019
    Messages:
    5
    Likes Received:
    0
    use the threattable mechanic, @targeting the player on the top of the table ~onDeath. It will still put it on the inventory, but at least the player with the most damage will take the drop
     
    #4

Share This Page