Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
0.9.11
Browse files Browse the repository at this point in the history
installs on EE v2.6
  • Loading branch information
subtledoctor committed May 13, 2021
1 parent a36d5a4 commit 3c77e4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion TomeAndBlood/comp/setup_spell_tweaks.tpa
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,8 @@ END
COPY_EXISTING ~spell.ids~ ~override~
REPLACE_TEXTUALLY ~WIZARD_IDENTIFY~ ~WIZARD_IDENTIFY_OLD~

ADD_SPELL ~TomeAndBlood/data/spell_tweaks/d5tb110.spl~ 2 %identify_level% WIZARD_IDENTIFY
ADD_SPELL ~TomeAndBlood/data/spell_tweaks/d5tb110.spl~ 2 %identify_level% ~WIZARD_IDENTIFY~

LAF RES_NUM_OF_SPELL_NAME
STR_VAR spell_name = ~WIZARD_IDENTIFY~
RET spell_res
Expand Down
2 changes: 1 addition & 1 deletion TomeAndBlood/lib/spell_evasion.tpa
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ DEFINE_ACTION_FUNCTION add_evade_spell
READ_2DA_ENTRIES_NOW rows cols
FOR (row = 1; row < rows; ++row) BEGIN
READ_2DA_ENTRY_FORMER rows row 0 ~stat~
PATCH_IF ~%stat%~ STRING_EQUAL_CASE ~STATE~ BEGIN
PATCH_IF (~%stat%~ STRING_EQUAL_CASE ~STATE~) OR (~%stat%~ STRING_CONTAINS_REGEXP ~STATEBITS=n~ = 0) BEGIN
SET state_row = %row%
END
END
Expand Down

0 comments on commit 3c77e4a

Please sign in to comment.