Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 1 addition & 19 deletions qw.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"},
Expand Down Expand Up @@ -8615,4 +8597,4 @@ end
function ch_stash_search_annotate_item(it)
return ""
end
}
}