Armor Slow & Bat Origin
Added armor slowing down (slowness 2) when wearing more than 20 armor points to Avian and Batmain
parent
d87e1f913b
commit
a9b3f42fbb
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"name": "Bat",
|
||||||
|
"description": "A winged creature that prefers to stay in caves during the day. Adapted to low or nolight it can have difficulties dealing with day light.",
|
||||||
|
"powers": [
|
||||||
|
"feathermc:frail_flight",
|
||||||
|
"feathermc:armor_slow"
|
||||||
|
],
|
||||||
|
"order": 1,
|
||||||
|
"impact": 2
|
||||||
|
}
|
@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"type": "origins:action_over_time",
|
||||||
|
"name": "Thin Limbs",
|
||||||
|
"description": "Your light build does not allow you to wear heavy armor without it slowing you down.",
|
||||||
|
"badges": [
|
||||||
|
{
|
||||||
|
"sprite": "minecraft:textures/item/bone.png",
|
||||||
|
"text": "Ooh, shiny!"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"entity_action": {
|
||||||
|
"type": "origins:apply_effect",
|
||||||
|
"effects": [
|
||||||
|
{
|
||||||
|
"id": "minecraft:slowness",
|
||||||
|
"amplifier": 1,
|
||||||
|
"duration": 100,
|
||||||
|
"is_ambient": false,
|
||||||
|
"show_particles": false,
|
||||||
|
"show_icon": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"tick_rate": 100,
|
||||||
|
"condition": {
|
||||||
|
"type": "origins:attribute",
|
||||||
|
"attribute": "minecraft:generic.armor",
|
||||||
|
"comparison": ">=",
|
||||||
|
"compare_to": 14
|
||||||
|
}
|
||||||
|
}
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"replace": false,
|
"replace": false,
|
||||||
"origins": [
|
"origins": [
|
||||||
"feathermc:avian"
|
"feathermc:avian",
|
||||||
|
"feathermc:bat"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue