@hytopia.com/examples 1.0.9 → 1.0.10

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.
@@ -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: 4,
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: 10,
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: 2,
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: 2,
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: 2,
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: 10,
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: 10,
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: 2,
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: 2,
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: 2,
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: 2,
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: 2,
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: 2,
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: 2,
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hytopia.com/examples",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",