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
  • #1433

Closed
Open
Created Dec 26, 2023 by SlipperySmurfPS@SlipperySmurfPSReporter

[Bug] onDamaged aura + onHit skill + cancelevent removes aura

Summary

The onDamaged aura has a bug, when using onHit + cancelevent

Steps to reproduce

  • onDamaged{d=1000;i=1;onHit=HITSKILL} @EIR{r=10}

HITSKILL: Skills:

  • cancelevent

Current behavior

The cancelevent removes the aura from the mob/player that has the aura

Intended correct behavior

Cancelevent should cancel the damage event that triggered the aura

Proposed fixes

Revise functionality -- Additional note, using ce=true does cancel the event, but it makes it impossible to do it conditionally. What I'm trying to do is have the damage amount be modified or canceled based on the triggering unit having (or not having) an aura. Using ce=true prevents 1) Retaining the damage amount through the use of the damage placeholder, and 2) having the damage be dealt in some cases, and not dealt in others

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking