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

Closed
Open
Created Mar 31, 2024 by wolfebersahd@wolfebersahd

BUG - "onDamaged" trigger doesn't work with armorstand type

Summary

"onDamaged" trigger doesn't work with armorstand type mobs.

Steps to reproduce

  1. Create and armorstand type mobs with an onDamaged trigger skill, see example below
armorstanddummy:
  Type: ARMORSTAND
  Display: 'Test-Stand'
  Health: 100 #i don't think armorstands can even have health now
  Options:
    AlwaysShowName: true
  Skills:
  - message{m="<caster.name>&f<&co> You just attacked me."} @trigger ~onDamaged # doesn't work
  - message{m="<caster.name>&f<&co> You just interacted with me."} @trigger ~onInteract
  1. Spawn the mob in-game
  2. Attack it with left-click

Current behavior

The trigger is not detecting and the skill isn't fire off.

Intended correct behavior

The trigger is detected and the skill fires off.

Server log file

https://paste.helpch.at/telusewaja.csharp

Video to illustrate the issue

NEW VIDEO COMING SOON

Version Info

> version MythicMobs
[11:32:51 INFO]: MythicMobs version 5.6.1-${CI_COMMIT_SHORT_SHA}
[11:32:51 INFO]: The total solution for all things mob-related.
[11:32:51 INFO]: Author: Lumine
> version
[11:33:09 INFO]: Checking version, please wait...
[11:33:09 INFO]: This server is running Paper version git-Paper-436 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 850b736)
You are 27 version(s) behind
Download the new version at: https://papermc.io/downloads/paper
Previous version: git-Paper-409 (MC: 1.20.4)```
Edited Apr 10, 2024 by wolfebersahd
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking