Is there a script out there that damages any foes based on their multiple of HP,MP, or EXP?
Example: A skill can damage any foes who's HP is divisible by 3.
Basically like the Arithmetician Job from FFT WOTL.
Is it possible
● ARCHIVED · READ-ONLY
-
-
How about changing the custom damage formula of those skills to be something like this:
b.hp % 3 == 0 is true if and only if b.hp is divisible by 3, while damage_formula is the damage formula of those skills if the target's hp is indeed divisible by 3.Spoilerb.hp % 3 == 0 ? damage_formula : 0
If those skills target all enemies, only those with hp being divisible by 3 will take actual damage, others will take 0 damage. -
You don't need a script to do this.
Next time, please make your thread title actually relevant to the question you are asking. "Is it possible" gives NO clues to people browsing the thread list what you want help with, and makes it hard to find again should someone want to come back and give you the answer.