Verified Issue Bug: percentDamage's ignoreArmor option ignores armor, but not enchantments

Discussion in 'Bug Reports' started by Voiddar, May 11, 2019.

  1. Voiddar

    Voiddar New Member

    Joined:
    Mar 11, 2018
    Messages:
    11
    Likes Received:
    0
    Enter a brief description of what is broken percentDamage's ignoreArmor option doesn't work

    What version of Minecraft are you using? 1.13.1

    What server jar are you using? PaperSpigot

    What is this a bug report for? MythicMobs

    What version of the plugin are you using? 4.5.9

    Describe the bug. Be as specific as possible, images or short gifs/videos are welcome but save configuration files for later sections. Write a whole paragraph if needed, help us bug testers replicate your issue!
    the "percentDamage"'s mechanic "ignoreArmor" option isn't working as intended. In the "Damage" mechanic, "ignoreArmor" option ignores armor and enchantments, but in percentdamage, it doesn't do anything, even when in the manual it's stated that "percentDamage" has the same options of the "Damage" mechanic

    Example Configurations
    ZombieDebug2:
    Type: Zombie
    DamageModifiers:
    - FALL 0
    Skills:
    - percentDamage{a=0.1;ia=true;pi=true;cd=1} @trigger ~onAttack
     
    #1
    Last edited: May 11, 2019
  2. Buguser

    Buguser Active Member
    Supporter Quality Assurance Moderator

    Joined:
    Oct 11, 2016
    Messages:
    221
    Likes Received:
    55
    Use the percent attribute (alias = p) instead of the amount attribute (alias = a).
    Code:
    Skills:
    - percentDamage{p=0.1;ia=true;pi=true;cd=1} @trigger ~onAttack
     
    #2
  3. Voiddar

    Voiddar New Member

    Joined:
    Mar 11, 2018
    Messages:
    11
    Likes Received:
    0
    Still doesn't work
     
    #3
  4. Buguser

    Buguser Active Member
    Supporter Quality Assurance Moderator

    Joined:
    Oct 11, 2016
    Messages:
    221
    Likes Received:
    55
    I was able to reproduce the bug on MythicMobs build 2798.
    Thanks for reporting it ;)
     
    #4

Share This Page