Bug: onAttack and onDamaged not working for players

Discussion in 'Bug Reports' started by MooshroomStatus, Jun 30, 2020.

  1. MooshroomStatus

    MooshroomStatus Active Member
    Premium Supporter Supporter

    Joined:
    May 25, 2016
    Messages:
    190
    Likes Received:
    58
    Enter a brief description of what is broken onAttack and onDamaged not working for players

    What version of Minecraft are you using?
    1.15,
    1.14

    What server jar are you using? Spigot

    What is this a bug report for? MythicMobs

    What version of the plugin are you using? 4.10

    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!
    onAttack and onDamaged auras don't seem to work on players.

    Example Configurations
    Stealth:
    Skills:
    - potion{type=INVISIBILITY;duration=100;force=true;hasparticles=false} @Self
    - sudoskill{s=StealthThreatRemove} @EIR{r=30}
    - onAttack{auraName=Stealth;oH=StealthHit;d=100;charges=1}
    StealthHit:
    Skills:
    - damage{a="<mmocore.skill.Stealth.damage>"} @trigger
    - potion{type=INVISIBILITY;duration=1;force=true;hasparticles=false} @Self
    - sound{s=entity.ender_dragon.growl}


    Edit:
    I found that apparently in order for it to work, the aura name has to be undercase. "Stealth" didn't work, but "stealth" worked.
     
    #1
    Last edited: Jun 30, 2020

Share This Page