Files
Aris-Random-Additions/elements/PlayerRespawnUpdatePermanentAttributeMods.mod.json
nimsolated 4b658a0cce 2.3.0
2026-03-28 19:42:27 -07:00

7 lines
5.4 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\" inline=\"false\"><field name=\"attribute\">ATTACK_DAMAGE</field><value name=\"value\"><block type=\"math_dual_ops\" inline=\"false\"><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\" inline=\"false\"><field name=\"attribute\">MAX_HEALTH</field><value name=\"value\"><block type=\"math_dual_ops\" inline=\"false\"><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_set_attribute_base_value\" inline=\"false\"><field name=\"attribute\">ARMOR</field><value name=\"value\"><block type=\"math_dual_ops\" inline=\"false\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"entity_get_attribute_base_value\"><field name=\"attribute\">ARMOR</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\">PermanentBonusArmor</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\" inline=\"false\"><field name=\"attribute\">ARMOR_TOUGHNESS</field><value name=\"value\"><block type=\"math_dual_ops\" inline=\"false\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"entity_get_attribute_base_value\"><field name=\"attribute\">ARMOR_TOUGHNESS</field><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"math_dual_ops\" inline=\"false\"><field name=\"OP\">MULTIPLY</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\">PermanentBonusArmorToughness</field></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0.67</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\" inline=\"false\"><field name=\"attribute\">KNOCKBACK_RESISTANCE</field><value name=\"value\"><block type=\"math_dual_ops\" inline=\"false\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"entity_get_attribute_base_value\"><field name=\"attribute\">KNOCKBACK_RESISTANCE</field><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"math_dual_ops\" inline=\"false\"><field name=\"OP\">MULTIPLY</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\">PermanentBonusKnockbackResistance</field></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0.05</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></next></block></next></block></next></block></statement></block></statement></block></next></block></xml>"
}
}