@wayward/types 2.15.2-beta.dev.20251113.1 → 2.15.2-beta.dev.20251114.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { Stat } from "@wayward/game/game/entity/IStats";
|
|
12
12
|
import type Player from "@wayward/game/game/entity/player/Player";
|
|
13
|
+
import { StatusType } from "@wayward/game/game/entity/status/IStatus";
|
|
13
14
|
import type { Milestone } from "@wayward/game/game/milestones/IMilestone";
|
|
14
15
|
import type { IGameOptionsPartial } from "@wayward/game/game/options/IGameOptions";
|
|
15
16
|
import MilestoneModifier, { MilestoneModifierInstance } from "@wayward/game/game/options/modifiers/milestone/MilestoneModifier";
|
|
@@ -21,6 +22,11 @@ export default class Afflicted extends MilestoneModifier {
|
|
|
21
22
|
protected getTranslationArgs(): TranslationArg[] | undefined;
|
|
22
23
|
instantiate(id: Milestone, player?: Player): AfflictedMilestoneModifierInstance | undefined;
|
|
23
24
|
}
|
|
25
|
+
interface IAfflictedEffects {
|
|
26
|
+
stat: Stat;
|
|
27
|
+
effect: number | Record<number, number>;
|
|
28
|
+
}
|
|
29
|
+
export declare const AFFLICTED_EFFECTS: PartialRecord<StatusType, IAfflictedEffects>;
|
|
24
30
|
declare class AfflictedMilestoneModifierInstance extends MilestoneModifierInstance<OptionalDescriptions<Stat, number>> {
|
|
25
31
|
initialize(): void;
|
|
26
32
|
private getBaseStatBonuses;
|
package/package.json
CHANGED