January 1, 20179 yr Hi, Just started using Wrobot. I want to know how to write "OR" in the conditions of the spell for example: if my health < 90 or if target health > 50 then use XYZ So I was talking about the "or" in the above example
January 1, 20179 yr there are two ways... 1. if(condition) { // Do something } else { // Do something else } 2. if(condition1 || condition 2) { // Do something } For your example i would use if((health < 90) || (health > 50)) { // Do something } Hope that helped.
January 2, 20179 yr Hello, If you use fightclasses editor, add two time same spell, one time with the condition "health < 90" and one time with the condition "target health > 50"
Create an account or sign in to comment