Give items to players if done % of damage to enemy

Discussion in 'Support' started by NinetailsPlays, Jul 9, 2018.

  1. NinetailsPlays

    NinetailsPlays New Member

    Joined:
    Jul 9, 2018
    Messages:
    2
    Likes Received:
    0
    so i want to make it so my boss gives items on death to players if they did 10% damage or more to the boss (also limit the amount of items that can be dropped like 3) and say something in chat so something like this

    --------------------------------------------------------------------------------------------------------------------
    The (Boss) has been slain
    (player) has dealt : (%damage) and gotten (item)
    (player) has dealt : (%damage) and gotten (item)
    (player) has dealt : (%damage) and gotten (item)
    ---------------------------------------------------------------------------------------------------------------------

    so recap
    i want to make it run a command on death to a certain amount of players if they did over 10% from the highest % damage to 2nd highest % damage to 3rd highest % damage only if they did over 10% if not the other key from third player goes to first player then if only one player then they get 2 items and then on death say that message in chat (the item doesnt matter) so if you can do that thanks xD
     
    #1
  2. Omanoctoa

    Omanoctoa Member

    Joined:
    Mar 10, 2016
    Messages:
    98
    Likes Received:
    8
    I think you would need to use the scoreboard for this. Every time a player deals damage, add to their score. You will need to use vanilla scoreboard commands though, because MythicMobs only handles setting the scoreboard, it cannot modify or add. When the mob dies, use the Special Variables for scoreboard objectives and Conditions to award players accordingly.

    I don't use the scoreboard much so I can't help beyond describing how to do it, sorry.
     
    #2
  3. NinetailsPlays

    NinetailsPlays New Member

    Joined:
    Jul 9, 2018
    Messages:
    2
    Likes Received:
    0
    im not sure how to configure that sadly is there anyone else who knows how to do this?
     
    #3

Share This Page