!(OR)
chimeric
Member Posts: 1,163
I have a situation where something bad happens to the player unless he is either shrewd (wise) or can foresee the outcome (intelligent). Either Wis or Int over 14 can prevent it and open the right dialogue option. But if the player has neither, I want him to see only the stupid option. I've never used OR with a negative, and it's kind of difficult to test. So, is this combination of triggers going to work for the BAD (stupid) response?
!OR(2) CheckStatGT(14,INT) CheckStatGT(14,WIS)
!OR(2) CheckStatGT(14,INT) CheckStatGT(14,WIS)
0
Comments
As a matter of logic, NOT (A or B ) is equivalent to (NOT A) AND (NOT B )
So just do
!CheckStatGT(14,INT) !CheckStatGT(14,WIS)