| @@ -603,7 +603,7 @@ export type EncounterDesc = { | |||||
| export class Encounter { | export class Encounter { | ||||
| initiatives: Map<Creature, number> | initiatives: Map<Creature, number> | ||||
| currentMove: Creature | currentMove: Creature | ||||
| turnTime = 500 | |||||
| turnTime = 100 | |||||
| constructor (public desc: EncounterDesc, public combatants: Creature[]) { | constructor (public desc: EncounterDesc, public combatants: Creature[]) { | ||||
| this.initiatives = new Map() | this.initiatives = new Map() | ||||
| @@ -647,7 +647,7 @@ export class Encounter { | |||||
| // applies digestion every time combat advances | // applies digestion every time combat advances | ||||
| const tickResults = this.combatants.flatMap( | const tickResults = this.combatants.flatMap( | ||||
| combatant => combatant.containers.map( | combatant => combatant.containers.map( | ||||
| container => container.tick(closestRemaining + totalTime) | |||||
| container => container.tick(5 * (closestRemaining + totalTime)) | |||||
| ) | ) | ||||
| ) | ) | ||||
| const effectResults = this.currentMove.effects.map(effect => effect.preTurn(this.currentMove)).filter(effect => effect.prevented) | const effectResults = this.currentMove.effects.map(effect => effect.preTurn(this.currentMove)).filter(effect => effect.prevented) | ||||