diff --git a/src/main/resources/data/terraoriginum/origins/demon.json b/src/main/resources/data/terraoriginum/origins/demon.json index 9f55ffc..2c7de3b 100644 --- a/src/main/resources/data/terraoriginum/origins/demon.json +++ b/src/main/resources/data/terraoriginum/origins/demon.json @@ -1,6 +1,11 @@ { "powers": [ - "terraoriginum:demon_powers/self_transfiguration" + "terraoriginum:demon-powers/self_transfiguration1", + "terraoriginum:demon-powers/self_transfiguration2", + "terraoriginum:demon-powers/self_transfiguration3", + "terraoriginum:spirit-powers/ectoplasm", + "terraoriginum:spirit-powers/ectodiff", + "terraoriginum:spirit-powers/lackofectodmg" ], "icon": "minecraft:bone", "order": 1002, diff --git a/src/main/resources/data/terraoriginum/powers/demon-powers/self_transfiguration1.json b/src/main/resources/data/terraoriginum/powers/demon-powers/self_transfiguration1.json new file mode 100644 index 0000000..1defc09 --- /dev/null +++ b/src/main/resources/data/terraoriginum/powers/demon-powers/self_transfiguration1.json @@ -0,0 +1,15 @@ +{ + "type": "origins:toggle", + "active_by_default": false, + "key": { + "key": "key.origins.primary_active", + "continuous": false + }, + "retain_state": false, + "condition": { + "type": "origins:resource", + "resource": "terraoriginum:spirit-powers/ectoplasm", + "comparison": ">=", + "compare_to": 1 + } + } \ No newline at end of file diff --git a/src/main/resources/data/terraoriginum/powers/demon-powers/self_transfiguration2.json b/src/main/resources/data/terraoriginum/powers/demon-powers/self_transfiguration2.json new file mode 100644 index 0000000..ef2e845 --- /dev/null +++ b/src/main/resources/data/terraoriginum/powers/demon-powers/self_transfiguration2.json @@ -0,0 +1,41 @@ +{ + "type": "origins:active_self", + "hidden": true, + "entity_action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:strength", + "duration": 20, + "amplifier": 1 + } + }, + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:speed", + "duration": 20, + "amplifier": 1 + } + }, + { + "type": "origins:apply_effect", + "effect": { + "effect": "minecraft:resistance", + "duration": 20, + "amplifier": 1 + } + }, + { + "type": "origins:exhaust", + "amount": 2 + } + ] + }, + "condition": { + "type": "origins:power_active", + "power": "terraoriginum:demon-powers/self_transfiguration1" + } + } \ No newline at end of file diff --git a/src/main/resources/data/terraoriginum/powers/demon-powers/self_transfiguration3.json b/src/main/resources/data/terraoriginum/powers/demon-powers/self_transfiguration3.json new file mode 100644 index 0000000..360ed6f --- /dev/null +++ b/src/main/resources/data/terraoriginum/powers/demon-powers/self_transfiguration3.json @@ -0,0 +1,27 @@ +{ + "type": "origins:action_over_time", + "interval": 20, + "hidden": true, + "entity_action": { + "type": "origins:if_else_list", + "actions": [ + { + "condition": { + "type": "origins:power_active", + "power": "terraoriginum:demon-powers/self_transfiguration1" + }, + "action": { + "type": "origins:and", + "actions": [ + { + "type": "origins:change_resource", + "resource": "terraoriginum:spirit-powers/ectoplasm", + "change": -9, + "operation": "add" + } + ] + } + } + ] + } + } \ No newline at end of file diff --git a/src/main/resources/data/terraoriginum/powers/demon_powers/self_transfiguration.json b/src/main/resources/data/terraoriginum/powers/demon_powers/self_transfiguration.json deleted file mode 100644 index f54b498..0000000 --- a/src/main/resources/data/terraoriginum/powers/demon_powers/self_transfiguration.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "type": "origins:active_self", - "entity_action": { - "type": "origins:and", - "actions": [ - { - "type": "origins:apply_effect", - "effect": { - "effect": "minecraft:strength", - "duration": 1200, - "amplifier": 1 - } - }, - { - "type": "origins:apply_effect", - "effect": { - "effect": "minecraft:speed", - "duration": 1200, - "amplifier": 1 - } - }, - { - "type": "origins:apply_effect", - "effect": { - "effect": "minecraft:saturation", - "duration": 100 - } - }, - { - "type": "origins:apply_effect", - "effect": { - "effect": "minecraft:regeneration", - "duration": 1200, - "amplifier": 1 - } - }, - { - "type": "origins:exhaust", - "amount": 2 - } - ] - - }, - "cooldown": 2200, - "key": "primary" - } \ No newline at end of file diff --git a/src/main/resources/data/terraoriginum/powers/immortal_humanpowers/immortal.json b/src/main/resources/data/terraoriginum/powers/immortal_human-powers/immortal.json similarity index 100% rename from src/main/resources/data/terraoriginum/powers/immortal_humanpowers/immortal.json rename to src/main/resources/data/terraoriginum/powers/immortal_human-powers/immortal.json diff --git a/src/main/resources/data/terraoriginum/powers/immortal_humanpowers/pathetic.json b/src/main/resources/data/terraoriginum/powers/immortal_human-powers/pathetic.json similarity index 100% rename from src/main/resources/data/terraoriginum/powers/immortal_humanpowers/pathetic.json rename to src/main/resources/data/terraoriginum/powers/immortal_human-powers/pathetic.json