哪位大大帮我改下,能让这个状态技能敌人也可以生效
<Custom React Effect> // Split the damage value = Math.floor(value / $gameParty.aliveMembers().length); // Start loop for (var i = 0; i < $gameParty.aliveMembers().length; i++) { var actor = $gameParty.aliveMembers()[i]; // Ignore actor if the actor is the target (= Don't damage the target twice) if (actor === target) { continue }; // Actor loses HP actor.gainHp(-value); actor.startDamagePopup(); actor.clearResult(); // Collapse Actor if dead if (actor.isDead()) { actor.performCollapse() }; }; </Custom React Effect>
<Custom React Effect>
// Split the damage
value = Math.floor(value / $gameParty.aliveMembers().length);
// Start loop
for (var i = 0; i < $gameParty.aliveMembers().length; i++) {
var actor = $gameParty.aliveMembers()[i];
// Ignore actor if the actor is the target (= Don't damage the target twice)
if (actor === target) { continue };
// Actor loses HP
actor.gainHp(-value);
actor.startDamagePopup();
actor.clearResult();
// Collapse Actor if dead
if (actor.isDead()) { actor.performCollapse() };
};
</Custom React Effect>
|