Armor Slow & Bat Origin

Added armor slowing down (slowness 2) when wearing more than 20 armor points to Avian and Bat
main
Pandro 2 weeks ago
parent d87e1f913b
commit a9b3f42fbb
Signed by: pandro
SSH Key Fingerprint: SHA256:iBUZSuDxqYr4hYpe9U3BA9NJmXKpbGt4H0S8hUwIbrA

@ -2,7 +2,8 @@
"name": "Avian", "name": "Avian",
"description": "A feathered creature that prefers to live up high, is lightweight and can glide.", "description": "A feathered creature that prefers to live up high, is lightweight and can glide.",
"powers": [ "powers": [
"feathermc:frail_flight" "feathermc:frail_flight",
"feathermc:armor_slow"
], ],
"order": 0, "order": 0,
"impact": 2 "impact": 2

@ -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,7 +1,6 @@
{ {
"type": "origins:elytra_flight", "type": "origins:elytra_flight",
"name": "Frail Flight", "name": "Frail Flight",
"icon": "minecraft:elytra",
"description": "Able to use your wings to glide but only when you're not hurt.", "description": "Able to use your wings to glide but only when you're not hurt.",
"render_elytra": true, "render_elytra": true,
"condition": { "condition": {

@ -1,6 +1,7 @@
{ {
"replace": false, "replace": false,
"origins": [ "origins": [
"feathermc:avian" "feathermc:avian",
"feathermc:bat"
] ]
} }

Loading…
Cancel
Save