Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 145
    • Issues 145
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1918

Closed
Open
Created May 11, 2025 by rinka kanjana@kaka018za

Damage mechanic bypasses OnDamaged aura conditions (damageCause/damageTag not respected)

damageCause and damageTag Conditions in OnDamaged Auras don't work with damage mechanic (though they seem to work fine on mobs with ~OnDamaged Trigger). For example, when I use /mm t cast withercloak followed by /mm t cast WitherDamage, the damage isn't canceled and the run the onHit. However, if I use /minecraft:damage @p 100 minecraft:wither, the WitherCloak aura cancels the damage properly. So I think MythicMobs’ Damage mechanic might be bugged

WitherDamageCommand:  
  Skills:
  - command{c="minecraft:damage <target.name> 100 minecraft:wither"} @Self

WitherDamage:  
  Skills:
  - damage{a="100";dc=WITHER} @Self      
  
Withercloak:  
  Skills:
  - onDamaged{auraName=Withercloak;d=100;cE=true;oH=Withercloak-blocked} @Self
Withercloak-blocked:
  Conditions:        
  - damagecause{cause=WITHER} true
  Skills:
  - message{m="wither damage canceled"} @Self

Ps. I'm pretty sure I used them correctly, since the aura work with minecraft:damage command. I tried TriggerConditions too, it also doesn't care about mythicmobs damage's cause.

Edited May 11, 2025 by rinka kanjana
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking