Skill does 100%(1000) damage to one enemy.
And it does half the damage(500) to all the other enemies.
I've found some information about this,
There was only more evolved information.
like.. chain lighting(The damage is reduced by moving one by one.)
or bouncing bullet?(跳彈:도탄사격,I don't know how to translate it into English.)
Perhaps there are no questions because it is too easy to make this formula.
Nevertheless, I'm having a hard time making it.
Because my Java scripting ability is really zero.
I used the chain lighting formula of Yanfly Target core
Below are the formulas(My adjusted formula) and links(Original).
-----------------------------------------------------------------------------------------------------
www.yanfly.moe
-----------------------------------------------------------------------------------------------------
<Damage Formula>
// Set the chain multiplier to a value if it doesn't exist.
this._chainmultiplier = this._chainmultiplier || 1.0;
// This is the damage formula.
value = 1000;
// Apply the chain multiplier to the damage formula.
value *= this._chainmultiplier;
// Reduce the chain multiplier per target.
this._chainmultiplier -= 0.5;
</Damage Formula>
<Custom Target Eval>
// Adds the selected target to the target list.
targets.push(target);
// Grab the group of alive foes as candidates.
var members = foes.aliveMembers();
// Remove the target from the group of candidates.
members.splice(members.indexOf(target), 3);
// This is the number of extra targets to select with Chain Lightning.
var extraTargets = 3;
// Loop the extra targets.
while (extraTargets--) {
// Grab a random foe from the alive foes.
var member = members[Math.floor(Math.random() * members.length)];
// Check to see if the member exists.
if (member) {
// Add the member to the group of targets.
targets.push(member);
// Remove the member as a viable candidate.
members.splice(members.indexOf(member), 1);
}
}
</Custom Target Eval>
<Enemy or Actor Select>
-----------------------------------------------------------------------------------------------------
Skill damage is 1000.
The rest have to suffer 500 damage.
It actually works quite accurately.
However, allways two enemies, not one, suffer 1,000 damage.
I don't know why this is happening.
And it does half the damage(500) to all the other enemies.
I've found some information about this,
There was only more evolved information.
like.. chain lighting(The damage is reduced by moving one by one.)
or bouncing bullet?(跳彈:도탄사격,I don't know how to translate it into English.)
Perhaps there are no questions because it is too easy to make this formula.
Nevertheless, I'm having a hard time making it.
Because my Java scripting ability is really zero.
I used the chain lighting formula of Yanfly Target core
Below are the formulas(My adjusted formula) and links(Original).
-----------------------------------------------------------------------------------------------------
Chain Lightning (MV Plugin Tips & Tricks) - Yanfly.moe Wiki
<Damage Formula>
// Set the chain multiplier to a value if it doesn't exist.
this._chainmultiplier = this._chainmultiplier || 1.0;
// This is the damage formula.
value = 1000;
// Apply the chain multiplier to the damage formula.
value *= this._chainmultiplier;
// Reduce the chain multiplier per target.
this._chainmultiplier -= 0.5;
</Damage Formula>
<Custom Target Eval>
// Adds the selected target to the target list.
targets.push(target);
// Grab the group of alive foes as candidates.
var members = foes.aliveMembers();
// Remove the target from the group of candidates.
members.splice(members.indexOf(target), 3);
// This is the number of extra targets to select with Chain Lightning.
var extraTargets = 3;
// Loop the extra targets.
while (extraTargets--) {
// Grab a random foe from the alive foes.
var member = members[Math.floor(Math.random() * members.length)];
// Check to see if the member exists.
if (member) {
// Add the member to the group of targets.
targets.push(member);
// Remove the member as a viable candidate.
members.splice(members.indexOf(member), 1);
}
}
</Custom Target Eval>
<Enemy or Actor Select>
-----------------------------------------------------------------------------------------------------
Skill damage is 1000.
The rest have to suffer 500 damage.
It actually works quite accurately.
However, allways two enemies, not one, suffer 1,000 damage.
I don't know why this is happening.