please understand
This commit is contained in:
parent
8db4f49ae8
commit
51f886e11b
@ -446,7 +446,7 @@ export class Battle {
|
||||
battle.appendLog(`(${target.team}) ${target.character.nameShort}'s debuffs were overturned!`);
|
||||
},
|
||||
overturnHealth: (self: BattleUnit, target: BattleUnit, battle: Battle) => {
|
||||
target.health = Math.max(target.health, 35);
|
||||
target.health = Math.min(target.health, 35);
|
||||
|
||||
battle.appendLog(`(${target.team}) ${target.character.nameShort} was brought down to size!`);
|
||||
},
|
||||
@ -459,7 +459,7 @@ export class Battle {
|
||||
.reduce((a, b) => a + (b.potency/100), 1));
|
||||
//multiply by resistanceChange sum
|
||||
damage *= Math.max(0,
|
||||
self.potencyEffects
|
||||
target.potencyEffects
|
||||
.filter(status => {return status.type === 'resistance'})
|
||||
.reduce((a, b) => a - (b.potency/100), 1));
|
||||
damage = Math.round(damage)
|
||||
@ -476,7 +476,7 @@ export class Battle {
|
||||
.reduce((a, b) => a + (b.potency/100), 1));
|
||||
//multiply by resistanceChange sum
|
||||
damage *= Math.max(0,
|
||||
self.potencyEffects
|
||||
target.potencyEffects
|
||||
.filter(status => {return status.type === 'resistance'})
|
||||
.reduce((a, b) => a - (b.potency/100), 1));
|
||||
damage = Math.round(damage)
|
||||
|
@ -3982,7 +3982,6 @@
|
||||
"effects": [
|
||||
{
|
||||
"target": "oneOpponent",
|
||||
"damage": 10,
|
||||
"function": "reverseHierarchy"
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user