Hi, i have a mythicmob who has his "Damage" value set to 0, so that his regular mob attacks do nothing, and instead mythicmobs/denizen handles his custom attacks.
But, i have a denizen command to "hurt" the player for a certain amount of health, - hurt 200 <player> source:<[e]>
However, this only does a half heart of damage, unless i remove the "Damage: 0" part from the mythicmob config.
Is there any way to force damage through even when a mythicmob has his damage set to 0?
#(Blockutis) How to force raw damage through with a mythicmob as the source
1 messages · Page 1 of 1 (latest)
(Blockutis) How to force raw damage through with a mythicmob as the source
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
Mythicmobs Mob:
Type: PILLAGER
Damage: 0
Equipment:
- stone HAND
Skills:
- command{c="dmgtest <mob.uuid>"} @self ~onTimer:40```
Denizen script:
```dmgtest:
debug: false
type: command
name: dmgtest
description: /dmgtest
usage: /dmgtest
permission: server.command.dmgtest
script:
- if <context.args.size> >= 1:
- if <entity[<context.args.get[1]>].exists>:
- define e <entity[<context.args.get[1]>]>
- hurt 20 <server.match_player[Blockutis]> cause:PROJECTILE source:<[e]>```
I mean, this sounds like something with MythicMob's damage handling - Denizen just uses the vanilla damage logic
You can remove the line from MM and handle it using Denizen events, not use the MM mob as the source, temporarily make MM change it's damage if that's a thing, etc.
alright, i just changed it to Damage: 1 and the mob still works so im sticking with that