@rpg-engine/long-bow 0.8.63 → 0.8.64
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/package.json +2 -2
- package/src/mocks/dailyTasks.mocks.ts +16 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rpg-engine/long-bow",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.64",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"dependencies": {
|
|
85
85
|
"@capacitor/core": "^6.1.0",
|
|
86
86
|
"@rollup/plugin-image": "^2.1.1",
|
|
87
|
-
"@rpg-engine/shared": "^0.9.
|
|
87
|
+
"@rpg-engine/shared": "^0.9.120",
|
|
88
88
|
"dayjs": "^1.11.2",
|
|
89
89
|
"font-awesome": "^4.7.0",
|
|
90
90
|
"fs-extra": "^10.1.0",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DailyTaskBlueprintMapVisitRegular, DailyTaskChallengeKillMobsBlueprint, DailyTaskRegularCraftFoodBlueprint, DailyTaskRegularCraftPotionsBlueprint, DailyTaskRegularKillMobsBlueprint, ICharacterDailyTask, RewardType, TaskDifficulty, TaskStatus, TaskType } from "@rpg-engine/shared";
|
|
2
2
|
|
|
3
3
|
export const mockTasks: ICharacterDailyTask[] = [
|
|
4
4
|
{
|
|
5
|
-
key:
|
|
5
|
+
key: DailyTaskRegularKillMobsBlueprint.HuntRats,
|
|
6
6
|
name: 'Kill Rats',
|
|
7
7
|
description: 'Eliminate 5 rats in the forest',
|
|
8
8
|
type: TaskType.KillMobs,
|
|
@@ -39,10 +39,11 @@ export const mockTasks: ICharacterDailyTask[] = [
|
|
|
39
39
|
texturePath: 'others/royal-chalice.png',
|
|
40
40
|
quantity: 100
|
|
41
41
|
}
|
|
42
|
-
]
|
|
42
|
+
],
|
|
43
|
+
tier: 0
|
|
43
44
|
},
|
|
44
45
|
{
|
|
45
|
-
key:
|
|
46
|
+
key: DailyTaskRegularCraftFoodBlueprint.CraftCheese,
|
|
46
47
|
name: 'Gather Resources',
|
|
47
48
|
description: 'Collect 10 pieces of wood',
|
|
48
49
|
type: TaskType.CollectItems,
|
|
@@ -79,10 +80,11 @@ export const mockTasks: ICharacterDailyTask[] = [
|
|
|
79
80
|
}
|
|
80
81
|
],
|
|
81
82
|
status: TaskStatus.InProgress,
|
|
82
|
-
claimed: false
|
|
83
|
+
claimed: false,
|
|
84
|
+
tier: 0
|
|
83
85
|
},
|
|
84
86
|
{
|
|
85
|
-
key:
|
|
87
|
+
key: DailyTaskChallengeKillMobsBlueprint.HuntEloraTheQueen,
|
|
86
88
|
name: 'Slay the Dragon',
|
|
87
89
|
description: 'Defeat the Queen Dragon',
|
|
88
90
|
type: TaskType.KillMobs,
|
|
@@ -119,10 +121,11 @@ export const mockTasks: ICharacterDailyTask[] = [
|
|
|
119
121
|
}
|
|
120
122
|
],
|
|
121
123
|
status: TaskStatus.NotStarted,
|
|
122
|
-
claimed: false
|
|
124
|
+
claimed: false,
|
|
125
|
+
tier: 0
|
|
123
126
|
},
|
|
124
127
|
{
|
|
125
|
-
key:
|
|
128
|
+
key: DailyTaskBlueprintMapVisitRegular.ExploreVillage,
|
|
126
129
|
name: "Village Ilya Explorer",
|
|
127
130
|
description: "Visit the key locations in the ilya village",
|
|
128
131
|
difficulty: TaskDifficulty.Regular,
|
|
@@ -160,10 +163,11 @@ export const mockTasks: ICharacterDailyTask[] = [
|
|
|
160
163
|
visitedMaps: { 'ilya': true, 'isle_of_origins': false, 'ilya-village-sewer': false, 'dungeon-ilya-01': true },
|
|
161
164
|
},
|
|
162
165
|
status: TaskStatus.InProgress,
|
|
163
|
-
claimed: false
|
|
166
|
+
claimed: false,
|
|
167
|
+
tier: 0
|
|
164
168
|
},
|
|
165
169
|
{
|
|
166
|
-
key:
|
|
170
|
+
key: DailyTaskRegularCraftPotionsBlueprint.CraftLifePotion,
|
|
167
171
|
name: 'Craft Potions',
|
|
168
172
|
description: 'Craft 5 health potions for the local alchemist',
|
|
169
173
|
type: TaskType.CraftItems,
|
|
@@ -210,6 +214,7 @@ export const mockTasks: ICharacterDailyTask[] = [
|
|
|
210
214
|
}
|
|
211
215
|
],
|
|
212
216
|
status: TaskStatus.Completed,
|
|
213
|
-
claimed: true
|
|
217
|
+
claimed: true,
|
|
218
|
+
tier: 0
|
|
214
219
|
},
|
|
215
220
|
];
|