I'm struggling with the PE Syntax a bit.
How do you do an OR operation?
ie. I want to do following Use spell A if (condition 1 and condition 2) OR condition 3
I tried it with
But I guess this meansCode:{"SPELL", { "player.spell(SPELL).charges = 1", "player.spell(SPELL).recharge < 2", },{ "player.spell(SPELL).charges = 2", }},
Cast SPELL if (A&B)&C
Thanks for your help!
VII