Skip to content

Commit

Permalink
bardsong: use captured 'disavantage' instead of literal
Browse files Browse the repository at this point in the history
  • Loading branch information
mleduque committed Jul 20, 2022
1 parent cbd71a0 commit 29097be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iwdification/iwdspells/lib/iwd_bardsong_postproduction.tpa
Expand Up @@ -220,7 +220,7 @@ DEFINE_ACTION_FUNCTION iwd_bardsong_postproduction BEGIN
SPRINT discard @221
SPRINT disadvantages @222
SPRINT newline @220
REPLACE_TEXTUALLY "%disadvantages%\(.*[%WNL%%MNL%%LNL%][^a-zA-Z0-9]*\)\([a-zA-Z0-9].*\)" "%disadvantages%\1%newline%\1\2"
REPLACE_TEXTUALLY "\(%disadvantages%\)\(.*[%WNL%%MNL%%LNL%][^a-zA-Z0-9]*\)\([a-zA-Z0-9].*\)" "\1\2%newline%\2\3"
REPLACE_TEXTUALLY "[%WNL%%MNL%%LNL%][^a-zA-z]*%discard%.*" ""
END

Expand Down

0 comments on commit 29097be

Please sign in to comment.