mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-10 09:29:25 +02:00
* Standardize filenames to kebab-case Co-authored-by: pymilkmaiden <cassiopeiamahler56@gmail.com> * Move script outside of public folder * Move update_exp_sprites to scripts * Add ls-lint to lint file and directory names * Update lefthook.yml to skip merge / rebase on all pre-commit commands --------- Co-authored-by: pymilkmaiden <cassiopeiamahler56@gmail.com>
19 lines
552 B
TypeScript
19 lines
552 B
TypeScript
import { TimedEventManager } from "#app/timed-event-manager";
|
|
import { CLASSIC_CANDY_FRIENDSHIP_MULTIPLIER } from "#balance/starters";
|
|
|
|
/** Mock TimedEventManager so that ongoing events don't impact tests */
|
|
export class MockTimedEventManager extends TimedEventManager {
|
|
override activeEvent() {
|
|
return undefined;
|
|
}
|
|
override isEventActive(): boolean {
|
|
return false;
|
|
}
|
|
override getClassicFriendshipMultiplier(): number {
|
|
return CLASSIC_CANDY_FRIENDSHIP_MULTIPLIER;
|
|
}
|
|
override getShinyMultiplier(): number {
|
|
return 1;
|
|
}
|
|
}
|