@wayward/types 2.15.2-beta.dev.20251113.1 → 2.15.2-beta.dev.20251115.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.
|
@@ -168,6 +168,7 @@ export declare enum MoveType {
|
|
|
168
168
|
* If set, this entity will damage any crushable item they have stepped on.
|
|
169
169
|
*/
|
|
170
170
|
DamageCrushableTileItems = 8192,
|
|
171
|
+
/** Warning: This is a combination of other MoveType's, so when checking make sure to check that *all* flags are present */
|
|
171
172
|
Flying = 15
|
|
172
173
|
}
|
|
173
174
|
export declare enum AttackType {
|
|
@@ -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