fixes
This commit is contained in:
parent
644b180d1e
commit
d2bcba6235
@ -276,15 +276,15 @@ export class Battle {
|
||||
this.appendLog(`(${target.team}) ${target.character.nameShort} caught fire!`);
|
||||
}
|
||||
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!`);
|
||||
}
|
||||
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!`);
|
||||
}
|
||||
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!`);
|
||||
}
|
||||
if (effect.resistanceChange) {
|
||||
|
@ -4928,14 +4928,14 @@
|
||||
},
|
||||
{
|
||||
"target": "self",
|
||||
"damageChange": {
|
||||
"resistanceChange": {
|
||||
"duration": 1,
|
||||
"potency": 20
|
||||
}
|
||||
},
|
||||
{
|
||||
"target": "oneTeammate",
|
||||
"damageChange": {
|
||||
"resistanceChange": {
|
||||
"duration": 1,
|
||||
"potency": 20
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user