Hi,I have been having trouble with the level Logical Path I do what the hints say but it doesn’t work.If you could help me out that would be much appreciated.
Get two secret true/false values from the wizard.
Check the guide for notes on how to write logical expressions.
secretA = hero.findNearestFriend().getSecretA()
secretB = hero.findNearestFriend().getSecretB()
If BOTH secretA and secretB are true, take the high path; otherwise, take the low path.
secretC = secretA and secretB
secretD=secretA or secretB
If EITHER secretA or secretB is true, take the high path.
If secretB is NOT true, take the high path.