diff --git a/datapack/data/feathermc/origins/dragon.json b/datapack/data/feathermc/origins/dragon.json new file mode 100644 index 0000000..377dd89 --- /dev/null +++ b/datapack/data/feathermc/origins/dragon.json @@ -0,0 +1,10 @@ +{ + "name": "Dragon", + "description": "You're a big dragon! Mighty, chunky and a bit slow.", + "powers": [ + "feathermc:frail_flight", + "feathermc:bulwark" + ], + "order": 6, + "impact": 2 +} diff --git a/datapack/data/feathermc/powers/bulwark.json b/datapack/data/feathermc/powers/bulwark.json new file mode 100644 index 0000000..97b4d59 --- /dev/null +++ b/datapack/data/feathermc/powers/bulwark.json @@ -0,0 +1,69 @@ +{ + "type": "origins:multiple", + "name": "Bulwark", + "description": "You have more health, take less damage but you can not passively heal to full!", + "badges": [ + { + "type": "origins:tooltip", + "sprite": "minecraft:textures/item/cookie.png", + "text": "Cookie heals you for 2 hearts." + } + ], + "health": { + "type": "origins:attribute", + "modifier": { + "id": "bulwark_health", + "attribute": "minecraft:generic.max_health", + "amount": 40, + "operation": "add_value" + } + }, + "no_regeneration": { + "type": "origins:disable_regen" + }, + "passive_regeneration": { + "type": "origins:action_over_time", + "entity_action": { + "type": "origins:heal", + "amount": 1 + }, + "interval": 100, + "condition": { + "type": "origins:and", + "conditions": [ + { + "type": "origins:health", + "comparison": "<", + "compare_to": 20 + }, + { + "type": "apoli:food_level", + "comparison": ">", + "compare_to": 6 + } + ] + } + }, + "less_knockback": { + "type": "origins:attribute", + "modifier": { + "id": "bulwark_knockback", + "attribute": "minecraft:generic.knockback_resistance", + "amount": 0.3, + "operation": "add_value" + } + }, + "cookie_healing": { + "type": "origins:action_on_item_use", + "entity_action": { + "type": "origins:heal", + "amount": 4 + }, + "item_condition": { + "type": "origins:ingredient", + "ingredient": { + "item": "minecraft:cookie" + } + } + } +} diff --git a/datapack/data/origins/origin_layers/origin.json b/datapack/data/origins/origin_layers/origin.json index 2f3b39d..3408988 100644 --- a/datapack/data/origins/origin_layers/origin.json +++ b/datapack/data/origins/origin_layers/origin.json @@ -5,6 +5,7 @@ "feathermc:bat", "feathermc:gato", "feathermc:fox", - "feathermc:protogen" + "feathermc:protogen", + "feathermc:dragon" ] }