Skip to content

Commit

Permalink
Change defaults for SAM/NIN
Browse files Browse the repository at this point in the history
  • Loading branch information
xpdota committed Oct 13, 2024
1 parent 4c29200 commit 358e448
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
10 changes: 7 additions & 3 deletions packages/core/src/sims/melee/nin/nin_lv100_sim.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Ability, Buff, OgcdAbility, SimSettings, SimSpec} from "@xivgear/core/sims/sim_types";
import {
AbilityUseResult,
AbilityUseResult, CutoffMode,
CycleProcessor,
CycleSimResult,
ExternalCycleSettings,
Expand Down Expand Up @@ -441,14 +441,18 @@ export class NinSim extends BaseMultiCycleSim<NinSimResult, NinSettings, NINCycl

override defaultCycleSettings(): CycleSettings {
return {
useAutos: true,
...super.defaultCycleSettings(),
totalTime: (6 * 60) + 32,
cycles: 0,
which: 'totalTime',
cutoffMode: 'prorate-gcd',
};
}

override get defaultCutoffMode(): CutoffMode {
return 'prorate-application';
}


protected createCycleProcessor(settings: MultiCycleSettings): NINCycleProcessor {
return new NINCycleProcessor({
...settings,
Expand Down
9 changes: 6 additions & 3 deletions packages/core/src/sims/melee/sam/sam_lv100_sim.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Ability, SimSettings, SimSpec} from "@xivgear/core/sims/sim_types";
import {
AbilityUseResult,
AbilityUseResult, CutoffMode,
CycleProcessor,
CycleSimResult,
ExternalCycleSettings,
Expand Down Expand Up @@ -103,14 +103,17 @@ export class SamSim extends BaseMultiCycleSim<SamSimResult, SamSettings, SAMCycl

override defaultCycleSettings(): CycleSettings {
return {
useAutos: true,
...super.defaultCycleSettings(),
totalTime: (8 * 60) + 35,
cycles: 0,
which: 'totalTime',
cutoffMode: 'prorate-gcd'
};
}

override get defaultCutoffMode(): CutoffMode {
return 'prorate-application';
}

protected createCycleProcessor(settings: MultiCycleSettings): SAMCycleProcessor {
return new SAMCycleProcessor({
...settings,
Expand Down

0 comments on commit 358e448

Please sign in to comment.