From a271149a062bff19dcf86c1c2f7eee0cdf8a8a1a Mon Sep 17 00:00:00 2001 From: LittleBigKid2000 Date: Fri, 24 Jun 2016 18:30:30 -0400 Subject: [PATCH] Fixes the contract and blood bottle only refunding for 1 point (#4770) The apprenticeship contract and blood bottle cost 2 points, but you only get 1 point when feeding them back into your spellbook. --- code/game/gamemodes/wizard/spellbook.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/gamemodes/wizard/spellbook.dm b/code/game/gamemodes/wizard/spellbook.dm index 8467da489a5..8d3d7cc4278 100644 --- a/code/game/gamemodes/wizard/spellbook.dm +++ b/code/game/gamemodes/wizard/spellbook.dm @@ -490,14 +490,14 @@ else to_chat(user, "You feed the contract back into the spellbook, refunding your points.") - uses++ + uses+=2 qdel(O) if(istype(O, /obj/item/weapon/antag_spawner/slaughter_demon)) to_chat(user, "On second thought, maybe summoning a demon is a bad idea. You refund your points.") - uses++ + uses+=2 for(var/datum/spellbook_entry/item/bloodbottle/BB in entries) if(!isnull(BB.limit)) BB.limit++