Unknownreported this suggestion
Hello, I'm working on integrating my plugin HealthBar-Reloaded with MythicMobs and I've run into a small issue with the "heal" skill. When the Mythic mob is healed, the EntityRegainHealthEvent is not fired. This prevents my plugin (and any others) from detecting the health change due to the skill and updating it correctly. Would it be possible to have this event triggered whenever a mob regains health?
Minecraft: 1.21.4 / MythicMobs (free) version: 5.9.5
ExampleMobs.yml configuration:
SkeletonKing:
Type: WITHER_SKELETON
Display: '&6Skeleton King'
Health: 20
Damage: 1
Skills:
- skill{s=SummonSkeletons} @self 0.1
- heal{amount=50} @self ~onDamaged <50%
Equipment:
- IRON_HELMET HEAD
Drops:
- GOLD_NUGGET{display="Gold Coin"} 1to2 0.5
Options:
AlwaysShowName: true
MovementSpeed: 0.2
MaxCombatDistance: 25
PreventOtherDrops: true
Mythic mob spawned with: /mythicmobs mobs spawn SkeletonKing