Ok. I want to believe what I'm asking is simple:
I want to reference the number of targets (Enemies or allies.) into the damage formula, after spending the whole day searching to reference it, I finally decided to ask.
The closest thing I managed to find though was $game_troop.members.size, which doesn't really help cause not only it doesn't get the number of targets, but it's also only referring to enemies (If I'm correct.)
Actually I'm using Yanfly's Lunatic damage (Which more or less replaces the normal damage formula.) except that it allows for more than 100 characters.
What I intend to do is:
value /= [number of targets]
So if I have a single target, the damage will remain unchanged but when there are two, or more targets. the damage will be divided among them.
I'm using Tsukihime's Scope change script which can make a skill or item change it's scope from a single enemy/ally to all enemies/allies and vice versa.
That way the player will think more strategically about casting a spell on multiple targets since it won't do as much damage as it would do on a single target.
Anyway thanks in advance 🙂
Edit: I'm aware that Tsukihime made a script that does this job (Or al least it's easy to modify it do that job.) but unfortunately Yanfly's Lunatic Damage overwrites it and I don't want to choose between those two awesome scripts that can make the gameplay very interesting.
I want to reference the number of targets (Enemies or allies.) into the damage formula, after spending the whole day searching to reference it, I finally decided to ask.
The closest thing I managed to find though was $game_troop.members.size, which doesn't really help cause not only it doesn't get the number of targets, but it's also only referring to enemies (If I'm correct.)
Actually I'm using Yanfly's Lunatic damage (Which more or less replaces the normal damage formula.) except that it allows for more than 100 characters.
What I intend to do is:
value /= [number of targets]
So if I have a single target, the damage will remain unchanged but when there are two, or more targets. the damage will be divided among them.
I'm using Tsukihime's Scope change script which can make a skill or item change it's scope from a single enemy/ally to all enemies/allies and vice versa.
That way the player will think more strategically about casting a spell on multiple targets since it won't do as much damage as it would do on a single target.
Anyway thanks in advance 🙂
Edit: I'm aware that Tsukihime made a script that does this job (Or al least it's easy to modify it do that job.) but unfortunately Yanfly's Lunatic Damage overwrites it and I don't want to choose between those two awesome scripts that can make the gameplay very interesting.