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 132
    • Issues 132
    • 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
  • #1670

Closed
Open
Created Jul 22, 2024 by IonTech@I0nTech

CancelEvent{sync=true} executed ~onAttack negates all Damage ticks on Modeled / Disguised MythicMobs.

Tested with this item:

test-item3:
  Id: IRON_SWORD
  Display: 'Damage testing'
  Lore: "testing cancelevent ~onAttack damage."
  Skills:
  - skill{s=[ 
    - cancelevent{sync=true} @self
    - damage{a=100;pi=true}
    - e:p{p=reddust;a=12;hs=0.5;vs=0.5;yo=1}
    ]} @trigger ~onAttack

When an unmodelled/undisguised mythicmob is attacked, the mechanic executes as expected, canceling the hit and dealing 100 damage from the mechanic.

However, when a modeled/disguised mob is attacked, the initial hit and the mechanic damage are canceled. Only the mechanic damage occurring in the same tick as the attack is canceled, the particle mechanic still goes through.

This should be fixed as items that use ~onAttack skills to deal custom amounts of damage do not work on meg mobs and libsdisguises mobs.

Demonstration here: https://www.youtube.com/watch?v=DyER9JS4yS0

On latest MM, Crucible, Meg, Libsdisguises, 1.20.4.

Edited Jul 22, 2024 by IonTech
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking