@wwawing/engine 3.7.1 → 3.7.2
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.
package/lib/wwa_main.d.ts
CHANGED
|
@@ -214,7 +214,7 @@ export declare class WWA {
|
|
|
214
214
|
setObjectNotCollapseOnPartsOnPlayer(flag: boolean): boolean;
|
|
215
215
|
setGameOverPosition(pos: Coord): Coord;
|
|
216
216
|
private toValidStatusValue;
|
|
217
|
-
setPlayerStatus(type: MacroStatusIndex, value: number): void;
|
|
217
|
+
setPlayerStatus(type: MacroStatusIndex, value: number, isCalledByMacro: boolean): void;
|
|
218
218
|
setDelPlayer(flag: boolean): boolean;
|
|
219
219
|
setPlayerGetItem(pos: number, id: number): void;
|
|
220
220
|
setStatusIconCoord(type: MacroImgFrameIndex, coord: Coord): Coord;
|
|
@@ -230,7 +230,7 @@ export declare class WWA {
|
|
|
230
230
|
clearFaces(): void;
|
|
231
231
|
updateItemEffectEnabled(isEnabled: boolean): void;
|
|
232
232
|
setOldMove(flag: boolean): void;
|
|
233
|
-
|
|
233
|
+
setGameOverPolicy(gameOverPolicy: number): void;
|
|
234
234
|
private _stylePos;
|
|
235
235
|
private _styleElm;
|
|
236
236
|
private _sheet;
|
|
@@ -254,7 +254,7 @@ export declare class WWA {
|
|
|
254
254
|
setUserVarAT(num: number, kind: StatusSolutionKind): void;
|
|
255
255
|
setUserVarDF(num: number, kind: StatusSolutionKind): void;
|
|
256
256
|
setUserVarMONEY(num: number): void;
|
|
257
|
-
setHPUserVar(index: number): void;
|
|
257
|
+
setHPUserVar(index: number, isCalledByMacro: boolean): void;
|
|
258
258
|
setHPMAXUserVar(index: number): void;
|
|
259
259
|
setATUserVar(index: number): void;
|
|
260
260
|
setDFUserVar(index: number): void;
|
|
@@ -287,5 +287,8 @@ export declare class WWA {
|
|
|
287
287
|
isVisibleStatus(statusKind: StatusKind): boolean;
|
|
288
288
|
private _changeStatusVisibility;
|
|
289
289
|
private _updateVarDumpInformationArea;
|
|
290
|
+
shouldApplyGameOver({ isCalledByMacro }: {
|
|
291
|
+
isCalledByMacro: boolean;
|
|
292
|
+
}): boolean;
|
|
290
293
|
}
|
|
291
294
|
export declare const getJSONFile: (fileName: string, callback: (error: JsonRequestError, result: unknown) => void) => void;
|
package/lib/wwa_save/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wwawing/engine",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.2",
|
|
4
4
|
"description": "World Wide Adventure: an RPG Engine.",
|
|
5
5
|
"main": "./lib/wwa.js",
|
|
6
6
|
"files": [
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"@types/pug": "^2.0.4",
|
|
46
46
|
"@types/terser-webpack-plugin": "^5.0.3",
|
|
47
47
|
"@types/webpack": "^5.28.0",
|
|
48
|
-
"@wwawing/assets": "^3.7.
|
|
49
|
-
"@wwawing/common-interface": "^3.7.
|
|
50
|
-
"@wwawing/debug-server": "^3.7.
|
|
51
|
-
"@wwawing/event-emitter": "^3.7.
|
|
52
|
-
"@wwawing/loader": "^3.7.
|
|
53
|
-
"@wwawing/page-generator": "^3.7.
|
|
54
|
-
"@wwawing/styles": "^3.7.
|
|
48
|
+
"@wwawing/assets": "^3.7.2",
|
|
49
|
+
"@wwawing/common-interface": "^3.7.2",
|
|
50
|
+
"@wwawing/debug-server": "^3.7.2",
|
|
51
|
+
"@wwawing/event-emitter": "^3.7.2",
|
|
52
|
+
"@wwawing/loader": "^3.7.2",
|
|
53
|
+
"@wwawing/page-generator": "^3.7.2",
|
|
54
|
+
"@wwawing/styles": "^3.7.2",
|
|
55
55
|
"crypto-js": "4.0.0",
|
|
56
56
|
"npm-run-all": "^4.1.5",
|
|
57
57
|
"pug": "^3.0.2",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"node": ">=16",
|
|
72
72
|
"npm": ">=8"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "7061ccf10b3c472d753afd7dbec9c70172dd20dc"
|
|
75
75
|
}
|