From 2e49f1d06b1b137915042aa5449aba7c6d89601c Mon Sep 17 00:00:00 2001 From: Electroblob77 <35599699+Electroblob77@users.noreply.github.com> Date: Wed, 9 Sep 2020 23:22:56 +0100 Subject: [PATCH] Replace some spell books dropped by mobs and found in library ruins with ruined spell books --- .../loot_tables/chests/library_ruins_bookshelf.json | 7 ++++++- .../ebwizardry/loot_tables/entities/mob_additions.json | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/main/resources/assets/ebwizardry/loot_tables/chests/library_ruins_bookshelf.json b/src/main/resources/assets/ebwizardry/loot_tables/chests/library_ruins_bookshelf.json index 93c66914..6b95dd04 100644 --- a/src/main/resources/assets/ebwizardry/loot_tables/chests/library_ruins_bookshelf.json +++ b/src/main/resources/assets/ebwizardry/loot_tables/chests/library_ruins_bookshelf.json @@ -26,7 +26,7 @@ { "type": "item", "name": "ebwizardry:spell_book", - "weight": 20, + "weight": 15, "functions": [ { "function": "ebwizardry:random_spell", @@ -34,6 +34,11 @@ } ] }, + { + "type": "item", + "name": "ebwizardry:ruined_spell_book", + "weight": 5 + }, { "type": "item", "name": "ebwizardry:scroll", diff --git a/src/main/resources/assets/ebwizardry/loot_tables/entities/mob_additions.json b/src/main/resources/assets/ebwizardry/loot_tables/entities/mob_additions.json index fa25f7e6..e70c979b 100644 --- a/src/main/resources/assets/ebwizardry/loot_tables/entities/mob_additions.json +++ b/src/main/resources/assets/ebwizardry/loot_tables/entities/mob_additions.json @@ -28,6 +28,11 @@ ] } ] + }, + { + "type": "item", + "name": "ebwizardry:ruined_spell_book", + "weight": 1 } ] }