partial implementation of self transfiguration ability
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
{
|
{
|
||||||
"powers": [
|
"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",
|
"icon": "minecraft:bone",
|
||||||
"order": 1002,
|
"order": 1002,
|
||||||
|
|||||||
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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"
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user