damage_condition doesn't work
squimbo opened this issue ยท 2 comments
No matter what I do, I cannot get the damage_condition field of modify_damage_taken to work, even using the given examples on the wiki.
Here is my code. Without the condition it works fine.
{
"type": "origins:modify_damage_taken",
"name": "Example",
"description": "Magic damage is doubled",
"damage_condition": {
"type": "origins:type",
"damage_type": "minecraft:magic"
},
"modifier": {
"operation": "multiply_base_multiplicative",
"value": 1
},
"self_action": {
"type": "origins:execute_command",
"command": "execute as @s run tell @a hi"
}
}
Log in case it's helpful (sorry about all the other mods)
latest.log