Add exploit (needs windup and cooldown for offhand item)
This commit is contained in:
parent
d5c6424887
commit
d988465fad
|
|
@ -3,5 +3,6 @@
|
||||||
"enchantment.mc_rebalance.bound": "Bound",
|
"enchantment.mc_rebalance.bound": "Bound",
|
||||||
"enchantment.mc_rebalance.clutch": "Clutch",
|
"enchantment.mc_rebalance.clutch": "Clutch",
|
||||||
"enchantment.mc_rebalance.whallop": "Whallop",
|
"enchantment.mc_rebalance.whallop": "Whallop",
|
||||||
"enchantment.mc_rebalance.trowel": "Trowel"
|
"enchantment.mc_rebalance.trowel": "Trowel",
|
||||||
|
"enchantment.mc_rebalance.exploit": "Exploit"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,66 @@
|
||||||
|
{
|
||||||
|
"anvil_cost": 1,
|
||||||
|
"description": {
|
||||||
|
"translate": "enchantment.mc_rebalance.exploit"
|
||||||
|
},
|
||||||
|
"effects": {
|
||||||
|
"minecraft:attributes": [
|
||||||
|
{
|
||||||
|
"amount": -0.66666,
|
||||||
|
"attribute": "generic.attack_damage",
|
||||||
|
"id": "mc_rebalance:enchantment.exploit",
|
||||||
|
"operation": "add_multiplied_total"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"minecraft:damage": [
|
||||||
|
{
|
||||||
|
"effect": {
|
||||||
|
"type": "minecraft:multiply",
|
||||||
|
"factor": 4
|
||||||
|
},
|
||||||
|
"requirements": {
|
||||||
|
"condition": "minecraft:any_of",
|
||||||
|
"terms": [
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"mainhand": {
|
||||||
|
"items": "#mc_rebalance:exploit_items"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "minecraft:entity_properties",
|
||||||
|
"entity": "this",
|
||||||
|
"predicate": {
|
||||||
|
"equipment": {
|
||||||
|
"offhand": {
|
||||||
|
"items": "#mc_rebalance:exploit_items"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"exclusive_set": "#mc_rebalance:exclusive_set/capability",
|
||||||
|
"max_cost": {
|
||||||
|
"base": 51,
|
||||||
|
"per_level_above_first": 10
|
||||||
|
},
|
||||||
|
"max_level": 1,
|
||||||
|
"min_cost": {
|
||||||
|
"base": 1,
|
||||||
|
"per_level_above_first": 10
|
||||||
|
},
|
||||||
|
"slots": [
|
||||||
|
"mainhand"
|
||||||
|
],
|
||||||
|
"supported_items": "#mc_rebalance:enchantable/axe",
|
||||||
|
"weight": 10
|
||||||
|
}
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
"minecraft:feather_falling",
|
"minecraft:feather_falling",
|
||||||
"minecraft:fire_aspect",
|
"minecraft:fire_aspect",
|
||||||
"minecraft:sweeping_edge",
|
"minecraft:sweeping_edge",
|
||||||
|
"mc_rebalance:exploit",
|
||||||
"minecraft:channeling",
|
"minecraft:channeling",
|
||||||
"minecraft:riptide",
|
"minecraft:riptide",
|
||||||
"minecraft:density",
|
"minecraft:density",
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"values": [
|
||||||
|
"#minecraft:axes"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"values": [
|
||||||
|
"minecraft:totem_of_undying",
|
||||||
|
"minecraft:shield"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
"values": [
|
"values": [
|
||||||
"mc_rebalance:stepping",
|
"mc_rebalance:stepping",
|
||||||
"mc_rebalance:trowel",
|
"mc_rebalance:trowel",
|
||||||
"mc_rebalance:whallop"
|
"mc_rebalance:whallop",
|
||||||
|
"mc_rebalance:exploit"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue