CrevsDaak Posted December 31, 2023 Posted December 31, 2023 There is a bug on favoured_soul.tpa, namely on lines 374 starting and repeating on 380 etc (the blocks defining shaman_scripts and shaman_dialogues to be precise) that if a certain script is using OriginalClass, that gets turned into Original!CheckSpellState and thus the script fails to compile. This is caused by the regex not excluding cases where OriginalClass() is used instead of just Class(), and can be easily solved (though I'm not sure if you actually want to replace OriginalClass checks or not... but anyway...) by adding a tilde hat ^ this thing, before Class() on the match outer sprint. This fixes all observed occurrences of the bug, namely on the attached Ajantis script alter_script_error.baf and on aeri25.bcs on BG2EE. alter_script_error.baf WeiDU.log SETUP-DW_TALENTS.DEBUG Quote
DavidW Posted December 31, 2023 Posted December 31, 2023 Thanks; that all looks correct. Good catch. (No, I don't want to catch 'originalclass' - you can't dual out of shaman, so I don't think it leads to detection problems.) Quote
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.