0% found this document useful (0 votes)
9 views2 pages

Hard Damage Mechanics Explained

The document describes a game mechanic called 'Hard Damage' which makes the player's body frail, causing maximum health to decrease with damage taken. Specifically, taking 1 heart of damage reduces maximum health by 1 heart, down to a minimum of 3 hearts, which can only be restored by killing entities. Additionally, it outlines various actions and conditions related to health modification and resource management within the game.

Uploaded by

anixatet
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

Hard Damage Mechanics Explained

The document describes a game mechanic called 'Hard Damage' which makes the player's body frail, causing maximum health to decrease with damage taken. Specifically, taking 1 heart of damage reduces maximum health by 1 heart, down to a minimum of 3 hearts, which can only be restored by killing entities. Additionally, it outlines various actions and conditions related to health modification and resource management within the game.

Uploaded by

anixatet
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

{

"name": "§4§nHard Damage",


"description": "Your body is very frail to allow on-the-go consumption of blood
through your body, and as such if you take too many hits this body becomes weaker.
Taking 1 heart of damage drops your maximum health by a heart down to a lowest of 3
hearts, which can only be regenerated by the blood on kill of an entity.",
"type": "origins:multiple",
"amount": {
"type": "origins:resource",
"min": 6,
"max": 14,
"start_value": 14,
"hud_render": {
"should_render": false
}
},
"harddamage": {
"type": "origins:self_action_when_hit",
"damage_condition": {
"type": "origins:amount",
"comparison": ">=",
"compare_to": 2
},
"entity_action": {
"type": "origins:and",
"actions": [
{
"type": "origins:change_resource",
"resource": "*:*_amount",
"change": -2,
"operation": "add"
}
]
},
"cooldown": 1
},
"set_health": {
"type": "origins:modify_attribute",
"attribute": "minecraft:generic.max_health",
"modifier": {
"operation": "set_base",
"value": 0,
"resource": "*:*_amount"
}
},
"respawn": {
"type": "origins:action_on_callback",
"execute_chosen_when_orb": false,
"entity_action_respawned": {
"type": "origins:change_resource",
"resource": "*:*_amount",
"change": 14,
"operation": "set"
}
},
"tag": {
"type": "origins:action_on_callback",
"entity_action_gained": {
"type": "origins:execute_command",
"command": "tag @s add v1",
"permission_level": 4
},
"entity_action_lost": {
"type": "origins:execute_command",
"command": "tag @s remove v1",
"permission_level": 4
},
"execute_chosen_when_orb": true
},
"healththing": {
"type": "origins:action_on_callback",
"entity_action_gained": {
"type": "origins:modify_attribute",
"attribute": "minecraft:generic.max_health",
"modifier": {
"operation": "set_base",
"value": 14
}
},
"execute_chosen_when_orb": true
}
}

You might also like