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 Jan 28, 2025
1 parent 414c29c commit 3056bc9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions combat-trainer.lic
Original file line number Diff line number Diff line change
Expand Up @@ -2157,12 +2157,13 @@ class SpellProcess
return
end
else
# set/reset spell mindstate tracking data
# track last spell for magic_gain_check
@magic_last_spell = data
# if there is a spell to cast, snapshot the spell and mindstate
# if there is a spell to cast, snapshot the relevant skill's mindstate
@magic_last_exp = data.nil? ? -1 : DRSkill.getxp(data['skill'])

prepare_spell(data, game_state)
end
end

Flags.reset('ct-spelllost')
Expand Down

0 comments on commit 3056bc9

Please sign in to comment.