From a8a3bbf96ace3f36e9dab5d0dc0ae63ac455e96f Mon Sep 17 00:00:00 2001 From: "Edgar A. Bering IV" Date: Sun, 30 Dec 2018 17:02:34 -0500 Subject: [PATCH] Remove spellbook burning --- qw.rc | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/qw.rc b/qw.rc index b508340..429ec32 100644 --- a/qw.rc +++ b/qw.rc @@ -3550,11 +3550,6 @@ function apocalypse() use_ability("Apocalypse") end --- Will fail if the book is in a non-fire cloud already. -function burn_spellbooks() - use_ability("Burn Spellbooks") -end - function plan_bia() if can_bia() and want_to_bia() then bia() @@ -4298,14 +4293,6 @@ function plan_drain_life() return false end -function plan_burn_spellbooks() - if want_to_burn_spellbooks() then - burn_spellbooks() - return true - end - return false -end - function want_to_bia() if not danger then return false @@ -4922,10 +4909,6 @@ function plan_abyss_rest() return false end -function want_to_burn_spellbooks() - return BURN_BOOKS and (you.god() == "Trog") and can_read() and see_spellbooks_to_burn() -end - function want_blood() return (count_item("potion","of blood") < 10) end @@ -7830,7 +7813,6 @@ plan_move = cascade { {plan_attack, "attack"}, {plan_cure_poison, "cure_poison"}, {plan_flail_at_invis, "try_flail_at_invis"}, - {plan_burn_spellbooks, "try_burn_spellbooks"}, {plan_eatrest, "eatrest"}, {plan_pre_explore, "pre_explore"}, {plan_step_towards_lair, "step_towards_lair"}, @@ -8615,4 +8597,4 @@ end function ch_stash_search_annotate_item(it) return "" end -} \ No newline at end of file +}