
Issue with subtracting health
Valgorn opened this issue ยท 4 comments
Hello, I play with an origin mod my friend made and we cant use your mod because it doesnt allow for abilities that cost health. We are currently on the Fantasy MC modpack and would love to not have to disable your mod each time we update. Thank you vary much for taking the time to check this out and I hope its an easy fix. If you need more info let me know.
Here is a code example of what his mod is trying to do:
{
"name": "Subtract HP",
"description": "Subtracts 2 health on activation",
"type": "origins:active_self",
"cooldown": 1,
"key": {
"key": "key.origins.primary_active"
},
"entity_action":
{
"type": "origins:heal",
"amount": -2
}
}
we're using negative damage to avoid triggering damage visuals, since the ability has a health cost, not actual damage.