Have a variable to store the actual percentage, then use smart match operator ~~ with range.
I think. I'm not sure of what logic you're looking to use.
What is your ultimate goal? Perhaps you explained it clearly the first time, I'm contending a stuffed up and drugged head atm.
Is it, you wish to check the condition of the hp of one mob being within 10 percent of the comparison mob? If that's the case, the script/logic will need to take into account what the mobs maximum hp is, which I dont currently see referenced.
|