Files
Aris-Random-Additions/elements/PlayerRespawnUpdatePermanentAttributeMods.mod.json
nimsolated e867e4b0a2 2.1.2
2026-03-25 17:58:21 -07:00

7 lines
2.7 KiB
JSON

{
"_fv": 73,
"_type": "procedure",
"definition": {
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"event_trigger\" deletable=\"false\" x=\"199\" y=\"113\"><field name=\"trigger\">player_respawn</field><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"world_data_isremote\"></block></value></block></value><statement name=\"DO0\"><block type=\"wait\"><value name=\"ticks\"><block type=\"math_number\"><field name=\"NUM\">4</field></block></value><statement name=\"do\"><block type=\"entity_set_attribute_base_value\"><field name=\"attribute\">ATTACK_DAMAGE</field><value name=\"value\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"entity_get_attribute_base_value\"><field name=\"attribute\">ATTACK_DAMAGE</field><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"entity_get_scoreboard_score\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><value name=\"score\"><block type=\"text\"><field name=\"TEXT\">PermanentBonusAttackDamage</field></block></value></block></value></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><next><block type=\"entity_set_attribute_base_value\"><field name=\"attribute\">MAX_HEALTH</field><value name=\"value\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"entity_get_attribute_base_value\"><field name=\"attribute\">MAX_HEALTH</field><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"entity_get_scoreboard_score\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><value name=\"score\"><block type=\"text\"><field name=\"TEXT\">PermanentBonusMaxHealth</field></block></value></block></value></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><next><block type=\"entity_allow_flying\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><value name=\"condition\"><block type=\"math_binary_ops\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"entity_get_scoreboard_score\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><value name=\"score\"><block type=\"text\"><field name=\"TEXT\">PermanentCreativeFlight</field></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value></block></next></block></next></block></statement></block></statement></block></next></block></xml>"
}
}