RadethDart
Sponsor
Alright, I am not too sure how to go about this, but I would like to make a script that allows the player to use skills if their hp is at a certain point or below/above.
Example:
Suffer - Player's hp must be below 50% in order to use this ability.
Renew - Player's hp must be above 90% in order to use this ability.
I am not sure how to set it up, but I was thinking something like this?
when {skillID} then return [hp percentage requirement, "above/below"]
If this is possible, I would love to have this working! :P Thanks for anyone who can help me!
Example:
Suffer - Player's hp must be below 50% in order to use this ability.
Renew - Player's hp must be above 90% in order to use this ability.
I am not sure how to set it up, but I was thinking something like this?
when {skillID} then return [hp percentage requirement, "above/below"]
Code:
when 1 then return [50, "below"] #requires 50% or less health
when 2 then return [90, "above"] #requires 90% or more health
If this is possible, I would love to have this working! :P Thanks for anyone who can help me!