TobEx: 31
Current Behaviour:
Effect #20 “Invisibility” modifies the base stats when parameter 2 is 1 and the timing is 1
Expected behaviour:
Effect #20 “Invisibility” modifies the derived stats when parameter 2 is 1 and the timing is 1
Revision:
Modify derrived stats rather then base stats twice (copy and paste?)
Effect #20 “Invisibility” modifies the base stats when parameter 2 is 1 and the timing is 1
Expected behaviour:
Effect #20 “Invisibility” modifies the derived stats when parameter 2 is 1 and the timing is 1
Revision:
Modify derrived stats rather then base stats twice (copy and paste?)
Post edited by Bhryaen on
0
Comments
Can you make sense of this? I'm afraid that the distinction between base and derived stats loses me. Not that I know what parameter 2 is either, but still... Does this refer to the modifier to AC while Inviso? That tends only to apply to Improved Invisibility though, so... Not sure if DanBoulos was just not being specific enough about the issue or if I just don't have the skill I need to tackle this.
Well, if he's referring to Timing = 1 the way @Wisp was- i.e., setting the effect Timing Mode to Instant/ Permanent until death (1)- then ok, but when is Inviso set to permanent until death? Except maybe on an Invisible Stalker. Really not sure what the background of this ToBEx fix is...
I took the potion of invisibility and changed parameter 2 to 1 (Improved Invisibility), set Duration to Instant/Permanent (1) and had Imoen drink the concoction.
She remained Improved Invisible for our trip down to Naskell, and through several nights sleep. I finally Ctrl+Y'd her and she only became visible upon death.
Base stats are those that get saved. Derived stats are those that you see displayed.
Usually, timing mode 1 modifies base stats then goes away.
The original engine source had 2 exact lines that modified the base stat (invis state), but didn't modify the derived stat. I'm not sure if this had any visible result, i always thought improved invis with timing mode 1 works
You should be able to test this by using a StateCheck(Myself, STATE_IMPROVEDINVISIBILITY) trigger in a test script. In vanilla, drinking Imoen's modified concoction of Improved Invisibility (timing = permanent until death[1]) should not evaluate the StateCheck() trigger to true. In the fixed BG:EE, this should happen. The StateCheck() trigger checks the derived stats of the target creature only.
I've tried that function as written- StateCheck(Myself, STATE_IMPROVEDINVISIBILITY)- but I just get the usual "call expression not a function" with empty "Active Stack" lines. I also tried it by preceding it with "CLUAConsole:" and by surrounding the "STATE_IMPROVEDINVISIBILITY" in quotation marks... Same result. That would be helpful in other situations as well. How is it used in-game?