Skip to content

Commit

Permalink
Update combat-trainer.lic
Browse files Browse the repository at this point in the history
  • Loading branch information
mdr55 authored Feb 1, 2025
1 parent 5842c41 commit ed0b9c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion combat-trainer.lic
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,8 @@ class LootProcess
echo "Severity to Wounds: #{game_state.wounds}" if $debug_mode_ct
echo "wound_level_threshold: #{@wound_level_threshold}" if $debug_mode_ct
unless game_state.wounds.empty?
if @wound_level_threshold <= game_state.wounds.keys.max
# consume ritual is requested if: wound above threshold, devour is not currently active, and we are configured to use devour and/or CF
if @wound_level_threshold <= game_state.wounds.keys.max && DRSpells.active_spells['Devour'] && (@necromancer_healing.key?('Devour') || (@necromancer_healing.key?('Consume Flesh')))
do_necro_ritual(mob_noun, 'consume', game_state)
return false
end
Expand Down

0 comments on commit ed0b9c2

Please sign in to comment.