Aquadrizzt Posted March 27, 2017 Share Posted March 27, 2017 I seem to be running into a bit of an issue using the bit comparator functions available via splprot.2da. For example, I have a spell that I want to check the first bit of stat 134 (extraprof20). I have set this stat to 1 in a separate instance. My splprot line looks as follows CK_134_BIT1 134 1 8 The spell seems to not fire at all, but does fire when I change the comparator from bit_match (8) to >= (4). Link to comment
kjeron Posted March 27, 2017 Share Posted March 27, 2017 Is anything else altering stat 134, if so how? Link to comment
Aquadrizzt Posted March 27, 2017 Author Share Posted March 27, 2017 Not to my knowledge. For now I'm just using spell states to do this instead, but I'd like to know if this could be usable in the future. I'm pretty sure I checked with equality (=,1) earlier and it fired then as well. Link to comment
kjeron Posted March 27, 2017 Share Posted March 27, 2017 I've not had any issues using the Bit comparisons, even done some rather complex ones with the proficiency stats, so I can only suggest that there is something else interfering here. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.