@hytopia.com/examples 1.0.9 → 1.0.11
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/frontiers-rpg-game/dev/persistence/player-player-1.json +31 -0
- package/frontiers-rpg-game/dev/persistence/player-player-2.json +31 -0
- package/frontiers-rpg-game/dev/persistence/player-player-3.json +25 -0
- package/frontiers-rpg-game/dev/persistence/player-player-4.json +31 -0
- package/frontiers-rpg-game/src/entities/enemies/LesserBlightBloomEntity.ts +2 -2
- package/frontiers-rpg-game/src/entities/enemies/RatkinBruteEntity.ts +3 -3
- package/frontiers-rpg-game/src/entities/enemies/RatkinRangerEntity.ts +2 -2
- package/frontiers-rpg-game/src/entities/enemies/RatkinWarriorEntity.ts +2 -2
- package/frontiers-rpg-game/src/entities/enemies/TaintedRatkinBruteEntity.ts +3 -3
- package/frontiers-rpg-game/src/entities/enemies/TaintedRatkinWarriorEntity.ts +2 -2
- package/frontiers-rpg-game/src/regions/weavers-hollow/WeaversHollowRegion.ts +3 -3
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"health": 100,
|
|
3
|
+
"currentRegionId": "stalkhaven-port",
|
|
4
|
+
"currentRegionSpawnFacingAngle": 180,
|
|
5
|
+
"currentRegionSpawnPoint": {
|
|
6
|
+
"x": -6,
|
|
7
|
+
"y": 8,
|
|
8
|
+
"z": -28
|
|
9
|
+
},
|
|
10
|
+
"skillExperience": [],
|
|
11
|
+
"backpack": {
|
|
12
|
+
"items": []
|
|
13
|
+
},
|
|
14
|
+
"hotbar": {
|
|
15
|
+
"items": [
|
|
16
|
+
{
|
|
17
|
+
"position": 0,
|
|
18
|
+
"itemId": "toy_sword"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"questLog": {
|
|
23
|
+
"quests": []
|
|
24
|
+
},
|
|
25
|
+
"storage": {
|
|
26
|
+
"items": []
|
|
27
|
+
},
|
|
28
|
+
"wearables": {
|
|
29
|
+
"items": []
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"health": 100,
|
|
3
|
+
"currentRegionId": "stalkhaven-port",
|
|
4
|
+
"currentRegionSpawnFacingAngle": 180,
|
|
5
|
+
"currentRegionSpawnPoint": {
|
|
6
|
+
"x": -6,
|
|
7
|
+
"y": 8,
|
|
8
|
+
"z": -28
|
|
9
|
+
},
|
|
10
|
+
"skillExperience": [],
|
|
11
|
+
"backpack": {
|
|
12
|
+
"items": []
|
|
13
|
+
},
|
|
14
|
+
"hotbar": {
|
|
15
|
+
"items": [
|
|
16
|
+
{
|
|
17
|
+
"position": 0,
|
|
18
|
+
"itemId": "toy_sword"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"questLog": {
|
|
23
|
+
"quests": []
|
|
24
|
+
},
|
|
25
|
+
"storage": {
|
|
26
|
+
"items": []
|
|
27
|
+
},
|
|
28
|
+
"wearables": {
|
|
29
|
+
"items": []
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"health": 100,
|
|
3
|
+
"currentRegionId": "stalkhaven-port",
|
|
4
|
+
"skillExperience": [],
|
|
5
|
+
"backpack": {
|
|
6
|
+
"items": []
|
|
7
|
+
},
|
|
8
|
+
"hotbar": {
|
|
9
|
+
"items": [
|
|
10
|
+
{
|
|
11
|
+
"position": 0,
|
|
12
|
+
"itemId": "toy_sword"
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"questLog": {
|
|
17
|
+
"quests": []
|
|
18
|
+
},
|
|
19
|
+
"storage": {
|
|
20
|
+
"items": []
|
|
21
|
+
},
|
|
22
|
+
"wearables": {
|
|
23
|
+
"items": []
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"health": 100,
|
|
3
|
+
"currentRegionId": "stalkhaven-port",
|
|
4
|
+
"currentRegionSpawnFacingAngle": 180,
|
|
5
|
+
"currentRegionSpawnPoint": {
|
|
6
|
+
"x": -6,
|
|
7
|
+
"y": 8,
|
|
8
|
+
"z": -28
|
|
9
|
+
},
|
|
10
|
+
"skillExperience": [],
|
|
11
|
+
"backpack": {
|
|
12
|
+
"items": []
|
|
13
|
+
},
|
|
14
|
+
"hotbar": {
|
|
15
|
+
"items": [
|
|
16
|
+
{
|
|
17
|
+
"position": 0,
|
|
18
|
+
"itemId": "toy_sword"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"questLog": {
|
|
23
|
+
"quests": []
|
|
24
|
+
},
|
|
25
|
+
"storage": {
|
|
26
|
+
"items": []
|
|
27
|
+
},
|
|
28
|
+
"wearables": {
|
|
29
|
+
"items": []
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -24,7 +24,7 @@ export default class LesserBlightBloomEntity extends BaseCombatEntity {
|
|
|
24
24
|
complexAttack: () => this._eatTarget(),
|
|
25
25
|
complexAttackDelayMs: 750,
|
|
26
26
|
cooldownMs: 4000,
|
|
27
|
-
range:
|
|
27
|
+
range: 2.5,
|
|
28
28
|
weight: 4,
|
|
29
29
|
},
|
|
30
30
|
{ // AoEGas
|
|
@@ -32,7 +32,7 @@ export default class LesserBlightBloomEntity extends BaseCombatEntity {
|
|
|
32
32
|
complexAttack: () => this._emitGasAoE(25, 4),
|
|
33
33
|
complexAttackDelayMs: 2500,
|
|
34
34
|
cooldownMs: 4000,
|
|
35
|
-
range:
|
|
35
|
+
range: 8,
|
|
36
36
|
weight: 2,
|
|
37
37
|
},
|
|
38
38
|
{ // Spray 3 wide gas projectiles
|
|
@@ -22,7 +22,7 @@ export default class RatkinBruteEntity extends BaseCombatEntity {
|
|
|
22
22
|
{ // Heavy body slam attack
|
|
23
23
|
animations: [ 'atk1' ],
|
|
24
24
|
cooldownMs: 4000,
|
|
25
|
-
range:
|
|
25
|
+
range: 1.5,
|
|
26
26
|
simpleAttackDamage: 20,
|
|
27
27
|
simpleAttackDamageVariance: 0.6, // ±60% damage (12-28)
|
|
28
28
|
simpleAttackDamageDelayMs: 1000, // Deal damage 1000ms into animation
|
|
@@ -32,7 +32,7 @@ export default class RatkinBruteEntity extends BaseCombatEntity {
|
|
|
32
32
|
{ // Light hammer swing attack
|
|
33
33
|
animations: [ 'atk2' ],
|
|
34
34
|
cooldownMs: 1500,
|
|
35
|
-
range:
|
|
35
|
+
range: 1.5,
|
|
36
36
|
simpleAttackDamage: 16,
|
|
37
37
|
simpleAttackDamageVariance: 0.15, // ±15% damage (7-11)
|
|
38
38
|
simpleAttackDamageDelayMs: 500, // Deal damage 500ms into animation
|
|
@@ -42,7 +42,7 @@ export default class RatkinBruteEntity extends BaseCombatEntity {
|
|
|
42
42
|
{ // Light hammer swing 2 attack
|
|
43
43
|
animations: [ 'atk3' ],
|
|
44
44
|
cooldownMs: 1500,
|
|
45
|
-
range:
|
|
45
|
+
range: 1.5,
|
|
46
46
|
simpleAttackDamage: 13,
|
|
47
47
|
simpleAttackDamageVariance: 0.15, // ±15% damage (5-9)
|
|
48
48
|
simpleAttackDamageDelayMs: 350, // Deal damage 350ms into animation
|
|
@@ -28,7 +28,7 @@ export default class RatkinRangerEntity extends BaseCombatEntity {
|
|
|
28
28
|
},
|
|
29
29
|
complexAttackDelayMs: 700,
|
|
30
30
|
cooldownMs: 2000,
|
|
31
|
-
range:
|
|
31
|
+
range: 9,
|
|
32
32
|
weight: 2,
|
|
33
33
|
},
|
|
34
34
|
{ // Slow heavy bow attack
|
|
@@ -38,7 +38,7 @@ export default class RatkinRangerEntity extends BaseCombatEntity {
|
|
|
38
38
|
},
|
|
39
39
|
complexAttackDelayMs: 1600,
|
|
40
40
|
cooldownMs: 3000,
|
|
41
|
-
range:
|
|
41
|
+
range: 9,
|
|
42
42
|
weight: 3,
|
|
43
43
|
},
|
|
44
44
|
],
|
|
@@ -22,7 +22,7 @@ export default class RatkinWarriorEntity extends BaseCombatEntity {
|
|
|
22
22
|
{ // Heavy attack
|
|
23
23
|
animations: [ 'atk1' ],
|
|
24
24
|
cooldownMs: 4000,
|
|
25
|
-
range:
|
|
25
|
+
range: 1.5,
|
|
26
26
|
simpleAttackDamage: 16,
|
|
27
27
|
simpleAttackDamageVariance: 0.4, // ±40% damage (12-20)
|
|
28
28
|
simpleAttackDamageDelayMs: 1000, // Deal damage 1000ms into animation
|
|
@@ -32,7 +32,7 @@ export default class RatkinWarriorEntity extends BaseCombatEntity {
|
|
|
32
32
|
{ // Light attack
|
|
33
33
|
animations: [ 'atk2' ],
|
|
34
34
|
cooldownMs: 2000,
|
|
35
|
-
range:
|
|
35
|
+
range: 1.5,
|
|
36
36
|
simpleAttackDamage: 9,
|
|
37
37
|
simpleAttackDamageVariance: 0.1, // ±10% damage (6-8)
|
|
38
38
|
simpleAttackDamageDelayMs: 400, // Deal damage 400ms into animation
|
|
@@ -22,7 +22,7 @@ export default class TaintedRatkinBruteEntity extends BaseCombatEntity {
|
|
|
22
22
|
{ // Heavy body slam attack
|
|
23
23
|
animations: [ 'atk1' ],
|
|
24
24
|
cooldownMs: 3500,
|
|
25
|
-
range:
|
|
25
|
+
range: 1.5,
|
|
26
26
|
simpleAttackDamage: 30,
|
|
27
27
|
simpleAttackDamageVariance: 0.6, // ±60% damage
|
|
28
28
|
simpleAttackDamageDelayMs: 1000, // Deal damage 1000ms into animation
|
|
@@ -32,7 +32,7 @@ export default class TaintedRatkinBruteEntity extends BaseCombatEntity {
|
|
|
32
32
|
{ // Light hammer swing attack
|
|
33
33
|
animations: [ 'atk2' ],
|
|
34
34
|
cooldownMs: 1000,
|
|
35
|
-
range:
|
|
35
|
+
range: 1.5,
|
|
36
36
|
simpleAttackDamage: 18,
|
|
37
37
|
simpleAttackDamageVariance: 0.15, // ±15% damage
|
|
38
38
|
simpleAttackDamageDelayMs: 500, // Deal damage 500ms into animation
|
|
@@ -42,7 +42,7 @@ export default class TaintedRatkinBruteEntity extends BaseCombatEntity {
|
|
|
42
42
|
{ // Light hammer swing 2 attack
|
|
43
43
|
animations: [ 'atk3' ],
|
|
44
44
|
cooldownMs: 1000,
|
|
45
|
-
range:
|
|
45
|
+
range: 1.5,
|
|
46
46
|
simpleAttackDamage: 13,
|
|
47
47
|
simpleAttackDamageVariance: 0.15, // ±15% damage
|
|
48
48
|
simpleAttackDamageDelayMs: 350, // Deal damage 350ms into animation
|
|
@@ -22,7 +22,7 @@ export default class TaintedRatkinWarriorEntity extends BaseCombatEntity {
|
|
|
22
22
|
{ // Heavy attack
|
|
23
23
|
animations: [ 'atk1' ],
|
|
24
24
|
cooldownMs: 3500,
|
|
25
|
-
range:
|
|
25
|
+
range: 1.5,
|
|
26
26
|
simpleAttackDamage: 35,
|
|
27
27
|
simpleAttackDamageVariance: 0.4, // ±40% damage (15-35)
|
|
28
28
|
simpleAttackDamageDelayMs: 1000, // Deal damage 1000ms into animation
|
|
@@ -32,7 +32,7 @@ export default class TaintedRatkinWarriorEntity extends BaseCombatEntity {
|
|
|
32
32
|
{ // Light attack
|
|
33
33
|
animations: [ 'atk2' ],
|
|
34
34
|
cooldownMs: 1500,
|
|
35
|
-
range:
|
|
35
|
+
range: 1.5,
|
|
36
36
|
simpleAttackDamage: 15,
|
|
37
37
|
simpleAttackDamageVariance: 0.1, // ±10% damage (9-11)
|
|
38
38
|
simpleAttackDamageDelayMs: 400, // Deal damage 400ms into animation
|
|
@@ -15,10 +15,10 @@ export default class WeaversHollowRegion extends GameRegion {
|
|
|
15
15
|
id: 'weavers-hollow',
|
|
16
16
|
name: `Weaver's Hollow`,
|
|
17
17
|
map: weaversHollowMap,
|
|
18
|
-
maxAmbientLightIntensity: 0.
|
|
18
|
+
maxAmbientLightIntensity: 0.095,
|
|
19
19
|
maxDirectionalLightIntensity: 0.8,
|
|
20
|
-
minAmbientLightIntensity: 0.
|
|
21
|
-
minDirectionalLightIntensity: 0.
|
|
20
|
+
minAmbientLightIntensity: 0.075,
|
|
21
|
+
minDirectionalLightIntensity: 0.5,
|
|
22
22
|
respawnOverride: {
|
|
23
23
|
regionId: 'ratkin-nest',
|
|
24
24
|
facingAngle: 135,
|