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

Closed
Open
Created Oct 15, 2023 by Volya@TheVolya

CancelOnTakeDamage for "cast" mechanic does not work for every possible damage sources.

Summary

I made a skill that should be cancelled when the caster (a player) is hit by something, but it seems to only works for mob entities like Zombies, and not for every kind of damage source.

Steps to reproduce

- cast{onCast=skill_cast_success;cotd=true;onInterrupted=skill_cast_fail;duration=60} @self

1- Cast it on myself 2- kiss a cactus during the warm-up

Current behavior

The skill is not interrupted when i'm getting damaged by a cactus or a sweet berry bush for example, and continue as normal. The skill DOES get interrupted when hit by a zombie.

Intended correct behavior The skill should be interrupted by any damage source because the caster (me) received damage.

Proposed fixes Make it work for any type of damage received

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking