
[1.21.x-alpha.12]. Resource value modifier in damage entity action doesn't work properly.
DanieleKie opened this issue ยท 0 comments
Origins v1.13.0-alpha.12=mc.1.21.1
I noticed when i putting modifier with using resource value in damage action, resource value doesn't affect anything. I still can use fixed values and this works. In that case, every entity in effective radius takes only 1 damage.
However the resource values still works properly in other modify power types.
I tried many different combinations elements of modifiers, amounts and figured out that set_base
or amount
in base prevents any further operations on same level. Inner modifier of same modifier still works.
{
"type": "origins:action_on_key_press",
"entity_action": {
"type": "origins:area_of_effect",
"radius": 4.0,
"bientity_action": {
"type": "origins:damage",
"damage_type": "minecraft:generic",
"modifiers": [
{
"operation": "set_base",
"amount": 1
},
{
"operation": "add_base_early",
"resource": "origins:smash_fall_distance"
}
]
},
"bientity_condition": {
"type": "origins:target_condition",
"condition": {
"type": "origins:living"
}
}
},
"cooldown": 1,
"key": {
"key": "key.origins.secondary_active"
},
"interval": 1
}