From ac7fd50507575e1fb97534e33f29d0d8d76b3c91 Mon Sep 17 00:00:00 2001 From: Juliakn66 <117075450+Juliakn66@users.noreply.github.com> Date: Wed, 1 Feb 2023 10:23:56 +0100 Subject: [PATCH] updated Json files: gameconfig.json an items.json --- src/main/resources/gameconfig.json | 6 ++++-- src/main/resources/items.json | 20 ++++++++++++-------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/src/main/resources/gameconfig.json b/src/main/resources/gameconfig.json index cb08775..847633e 100644 --- a/src/main/resources/gameconfig.json +++ b/src/main/resources/gameconfig.json @@ -27,7 +27,8 @@ { "name": "Big Foot", "hp": 50, - "damage": "10-15", + "damage": 15, + "isFriendly": true, "items": [ "Fell" ] @@ -44,7 +45,8 @@ { "name": "Big Foot", "hp": 50, - "damage": "10-15", + "damage": 15, + "isFriendly": true, "items": [ "Fell" ] diff --git a/src/main/resources/items.json b/src/main/resources/items.json index 85b3f26..7786427 100644 --- a/src/main/resources/items.json +++ b/src/main/resources/items.json @@ -1,26 +1,30 @@ [ { "name": "Holz", - "damage": "1-3", + "damage": 0, "crafting": true, - "durability": 1000 + "durability": 1000, + "doesDamage": false }, { "name": "Heiliges Schwert der Engel", - "damage": "1000", + "damage": 1000, "crafting": false, - "durability": 1000 + "durability": 1000, + "doesDamage": true }, { "name": "Stein", - "damage": "5-10", + "damage": 10, "crafting": true, - "durability": 1000 + "durability": 1000, + "doesDamage": true }, { "name": "Fell", - "damage": "0", + "damage": 0, "crafting": true, - "durability": 1000 + "durability": 1000, + "doesDamage": false; } ] \ No newline at end of file