This commit is contained in:
Hexugory 2023-04-01 02:11:40 -05:00
parent 644b180d1e
commit d2bcba6235
2 changed files with 5 additions and 5 deletions

View File

@ -276,15 +276,15 @@ export class Battle {
this.appendLog(`(${target.team}) ${target.character.nameShort} caught fire!`); this.appendLog(`(${target.team}) ${target.character.nameShort} caught fire!`);
} }
if (effect.confusion) { if (effect.confusion) {
target.statusEffects.confusion = Math.max(target.statusEffects.confusion+1, effect.confusion); target.statusEffects.confusion = Math.max(target.statusEffects.confusion, effect.confusion+1);
this.appendLog(`(${target.team}) ${target.character.nameShort} was confused!`); this.appendLog(`(${target.team}) ${target.character.nameShort} was confused!`);
} }
if (effect.stun) { if (effect.stun) {
target.statusEffects.stun = Math.max(target.statusEffects.stun+1, effect.stun); target.statusEffects.stun = Math.max(target.statusEffects.stun, effect.stun+1);
this.appendLog(`(${target.team}) ${target.character.nameShort} was stunned!`); this.appendLog(`(${target.team}) ${target.character.nameShort} was stunned!`);
} }
if (effect.taunt) { if (effect.taunt) {
target.statusEffects.taunt = Math.max(target.statusEffects.taunt+1, effect.taunt); target.statusEffects.taunt = Math.max(target.statusEffects.taunt, effect.taunt+1);
this.appendLog(`(${target.team}) ${target.character.nameShort} started drawing aggression!`); this.appendLog(`(${target.team}) ${target.character.nameShort} started drawing aggression!`);
} }
if (effect.resistanceChange) { if (effect.resistanceChange) {

View File

@ -4928,14 +4928,14 @@
}, },
{ {
"target": "self", "target": "self",
"damageChange": { "resistanceChange": {
"duration": 1, "duration": 1,
"potency": 20 "potency": 20
} }
}, },
{ {
"target": "oneTeammate", "target": "oneTeammate",
"damageChange": { "resistanceChange": {
"duration": 1, "duration": 1,
"potency": 20 "potency": 20
} }