@hytopia.com/examples 1.0.28 → 1.0.29
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/assets/maps/chitter-forest.json +501 -501
- package/frontiers-rpg-game/src/entities/enemies/GorkinChieftanEntity.ts +0 -7
- package/frontiers-rpg-game/src/entities/enemies/GorkinEnforcerEntity.ts +0 -8
- package/frontiers-rpg-game/src/entities/enemies/GorkinGruntEntity.ts +0 -15
- package/frontiers-rpg-game/src/entities/enemies/GorkinHunterEntity.ts +0 -8
- package/frontiers-rpg-game/src/entities/enemies/GorkinShamanEntity.ts +0 -8
- package/frontiers-rpg-game/src/entities/enemies/GorkinSwordsmanEntity.ts +0 -7
- package/frontiers-rpg-game/src/entities/enemies/RatkinBruteEntity.ts +0 -8
- package/frontiers-rpg-game/src/entities/enemies/RatkinRangerEntity.ts +0 -8
- package/frontiers-rpg-game/src/entities/enemies/RatkinSpellcasterEntity.ts +0 -8
- package/frontiers-rpg-game/src/entities/enemies/RatkinWarriorEntity.ts +0 -8
- package/frontiers-rpg-game/src/entities/enemies/ReclusiveWeaverEntity.ts +0 -17
- package/package.json +1 -1
|
@@ -5,9 +5,6 @@ import { isDamageable } from '../../interfaces/IDamageable';
|
|
|
5
5
|
import type { Vector3Like, QuaternionLike, World } from 'hytopia';
|
|
6
6
|
import type BaseEntity from "../BaseEntity";
|
|
7
7
|
|
|
8
|
-
// Aggro Target Types
|
|
9
|
-
import ReclusiveWeaverEntity from "./ReclusiveWeaverEntity";
|
|
10
|
-
|
|
11
8
|
// Drops
|
|
12
9
|
import GoldItem from "../../items/general/GoldItem";
|
|
13
10
|
import ChieftanBladeItem from "../../items/weapons/ChieftanBladeItem";
|
|
@@ -34,10 +31,6 @@ export default class GorkinChieftanEntity extends BaseCombatEntity {
|
|
|
34
31
|
super({
|
|
35
32
|
aggroRadius: 9,
|
|
36
33
|
aggroSensorForwardOffset: 3,
|
|
37
|
-
aggroTargetTypes: [
|
|
38
|
-
GamePlayerEntity,
|
|
39
|
-
ReclusiveWeaverEntity,
|
|
40
|
-
],
|
|
41
34
|
attacks: [
|
|
42
35
|
{ // Slash, stab attack
|
|
43
36
|
animations: [ 'atk1' ],
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { ColliderShape, RigidBodyType } from "hytopia";
|
|
2
2
|
import BaseCombatEntity, { BaseCombatEntityOptions } from "../BaseCombatEntity";
|
|
3
|
-
import GamePlayerEntity from "../../GamePlayerEntity";
|
|
4
|
-
|
|
5
|
-
// Aggro Target Types
|
|
6
|
-
import ReclusiveWeaverEntity from "./ReclusiveWeaverEntity";
|
|
7
3
|
|
|
8
4
|
// Drops
|
|
9
5
|
import GoldItem from "../../items/general/GoldItem";
|
|
@@ -26,10 +22,6 @@ export default class GorkinEnforcerEntity extends BaseCombatEntity {
|
|
|
26
22
|
super({
|
|
27
23
|
aggroRadius: 9,
|
|
28
24
|
aggroSensorForwardOffset: 3,
|
|
29
|
-
aggroTargetTypes: [
|
|
30
|
-
GamePlayerEntity,
|
|
31
|
-
ReclusiveWeaverEntity,
|
|
32
|
-
],
|
|
33
25
|
attacks: [
|
|
34
26
|
{
|
|
35
27
|
animations: [ 'atk1' ],
|
|
@@ -2,13 +2,6 @@ import BaseCombatEntity, { BaseCombatEntityOptions } from "../BaseCombatEntity";
|
|
|
2
2
|
import GamePlayerEntity from "../../GamePlayerEntity";
|
|
3
3
|
import type BaseEntity from "../BaseEntity";
|
|
4
4
|
|
|
5
|
-
// Aggro Target Types
|
|
6
|
-
import RatkinBruteEntity from "./RatkinBruteEntity";
|
|
7
|
-
import RatkinRangerEntity from "./RatkinRangerEntity";
|
|
8
|
-
import RatkinSpellcasterEntity from "./RatkinSpellcasterEntity";
|
|
9
|
-
import RatkinWarriorEntity from "./RatkinWarriorEntity";
|
|
10
|
-
import ReclusiveWeaverEntity from "./ReclusiveWeaverEntity";
|
|
11
|
-
|
|
12
5
|
// Drops
|
|
13
6
|
import GoldItem from "../../items/general/GoldItem";
|
|
14
7
|
import GorkinEarItem from "../../items/materials/GorkinEarItem";
|
|
@@ -30,14 +23,6 @@ export default class GorkinGruntEntity extends BaseCombatEntity {
|
|
|
30
23
|
super({
|
|
31
24
|
aggroRadius: 9,
|
|
32
25
|
aggroSensorForwardOffset: 3,
|
|
33
|
-
aggroTargetTypes: [
|
|
34
|
-
GamePlayerEntity,
|
|
35
|
-
RatkinBruteEntity,
|
|
36
|
-
RatkinRangerEntity,
|
|
37
|
-
RatkinSpellcasterEntity,
|
|
38
|
-
RatkinWarriorEntity,
|
|
39
|
-
ReclusiveWeaverEntity,
|
|
40
|
-
],
|
|
41
26
|
attacks: [
|
|
42
27
|
{ // Light attack
|
|
43
28
|
animations: [ 'atk1' ],
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import BaseCombatEntity, { BaseCombatEntityOptions } from "../BaseCombatEntity";
|
|
2
2
|
import BaseProjectileEntity from "../BaseProjectileEntity";
|
|
3
|
-
import GamePlayerEntity from "../../GamePlayerEntity";
|
|
4
3
|
import type { Vector3Like } from 'hytopia';
|
|
5
4
|
|
|
6
|
-
// Aggro Target Types
|
|
7
|
-
import ReclusiveWeaverEntity from "./ReclusiveWeaverEntity";
|
|
8
|
-
|
|
9
5
|
// Drops
|
|
10
6
|
import GoldItem from "../../items/general/GoldItem";
|
|
11
7
|
import GorkinEarItem from "../../items/materials/GorkinEarItem";
|
|
@@ -26,10 +22,6 @@ export default class GorkinHunterEntity extends BaseCombatEntity {
|
|
|
26
22
|
super({
|
|
27
23
|
aggroRadius: 13,
|
|
28
24
|
aggroSensorForwardOffset: 4,
|
|
29
|
-
aggroTargetTypes: [
|
|
30
|
-
GamePlayerEntity,
|
|
31
|
-
ReclusiveWeaverEntity,
|
|
32
|
-
],
|
|
33
25
|
attacks: [
|
|
34
26
|
{ // Slow heavy bow attack
|
|
35
27
|
animations: [ 'atk1' ],
|
|
@@ -2,10 +2,6 @@ import { ColliderShape, Entity, RigidBodyType } from "hytopia";
|
|
|
2
2
|
import { isDamageable } from '../../interfaces/IDamageable';
|
|
3
3
|
import BaseCombatEntity, { BaseCombatEntityOptions } from "../BaseCombatEntity";
|
|
4
4
|
import BaseProjectileEntity from '../BaseProjectileEntity';
|
|
5
|
-
import GamePlayerEntity from "../../GamePlayerEntity";
|
|
6
|
-
|
|
7
|
-
// Aggro Target Types
|
|
8
|
-
import ReclusiveWeaverEntity from "./ReclusiveWeaverEntity";
|
|
9
5
|
|
|
10
6
|
// Drops
|
|
11
7
|
import GoldItem from "../../items/general/GoldItem";
|
|
@@ -27,10 +23,6 @@ export default class GorkinShamanEntity extends BaseCombatEntity {
|
|
|
27
23
|
super({
|
|
28
24
|
aggroRadius: 9,
|
|
29
25
|
aggroSensorForwardOffset: 3,
|
|
30
|
-
aggroTargetTypes: [
|
|
31
|
-
GamePlayerEntity,
|
|
32
|
-
ReclusiveWeaverEntity,
|
|
33
|
-
],
|
|
34
26
|
attacks: [
|
|
35
27
|
{ // Toxic AoE
|
|
36
28
|
animations: [ 'atk1' ],
|
|
@@ -3,9 +3,6 @@ import BaseCombatEntity, { BaseCombatEntityOptions } from "../BaseCombatEntity";
|
|
|
3
3
|
import GamePlayerEntity from "../../GamePlayerEntity";
|
|
4
4
|
import type BaseEntity from "../BaseEntity";
|
|
5
5
|
|
|
6
|
-
// Aggro Target Types
|
|
7
|
-
import ReclusiveWeaverEntity from "./ReclusiveWeaverEntity";
|
|
8
|
-
|
|
9
6
|
// Drops
|
|
10
7
|
import GoldItem from "../../items/general/GoldItem";
|
|
11
8
|
import GorkinEarItem from "../../items/materials/GorkinEarItem";
|
|
@@ -27,10 +24,6 @@ export default class GorkinSwordsmanEntity extends BaseCombatEntity {
|
|
|
27
24
|
super({
|
|
28
25
|
aggroRadius: 9,
|
|
29
26
|
aggroSensorForwardOffset: 3,
|
|
30
|
-
aggroTargetTypes: [
|
|
31
|
-
GamePlayerEntity,
|
|
32
|
-
ReclusiveWeaverEntity,
|
|
33
|
-
],
|
|
34
27
|
attacks: [
|
|
35
28
|
{ // heavy, slow slam attack
|
|
36
29
|
animations: [ 'atk1' ],
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import BaseCombatEntity, { BaseCombatEntityOptions } from "../BaseCombatEntity";
|
|
2
2
|
|
|
3
|
-
// Aggro Target Types
|
|
4
|
-
import GamePlayerEntity from "../../GamePlayerEntity";
|
|
5
|
-
import GorkinGruntEntity from "./GorkinGruntEntity";
|
|
6
|
-
|
|
7
3
|
// Drops
|
|
8
4
|
import CommonMushroomItem from "../../items/consumables/CommonMushroomItem";
|
|
9
5
|
import CommonSeedsItem from "../../items/seeds/CommonSeedsItem";
|
|
@@ -23,10 +19,6 @@ export default class RatkinBruteEntity extends BaseCombatEntity {
|
|
|
23
19
|
super({
|
|
24
20
|
aggroRadius: 7.5,
|
|
25
21
|
aggroSensorForwardOffset: 3,
|
|
26
|
-
aggroTargetTypes: [
|
|
27
|
-
GamePlayerEntity,
|
|
28
|
-
GorkinGruntEntity,
|
|
29
|
-
],
|
|
30
22
|
attacks: [
|
|
31
23
|
{ // Heavy body slam attack
|
|
32
24
|
animations: [ 'atk1' ],
|
|
@@ -2,10 +2,6 @@ import BaseCombatEntity, { BaseCombatEntityOptions } from "../BaseCombatEntity";
|
|
|
2
2
|
import BaseProjectileEntity from "../BaseProjectileEntity";
|
|
3
3
|
import type { Vector3Like } from 'hytopia';
|
|
4
4
|
|
|
5
|
-
// Aggro Target Types
|
|
6
|
-
import GamePlayerEntity from "../../GamePlayerEntity";
|
|
7
|
-
import GorkinGruntEntity from "./GorkinGruntEntity";
|
|
8
|
-
|
|
9
5
|
// Drops
|
|
10
6
|
import CommonMushroomItem from "../../items/consumables/CommonMushroomItem";
|
|
11
7
|
import CommonSeedsItem from "../../items/seeds/CommonSeedsItem";
|
|
@@ -25,10 +21,6 @@ export default class RatkinRangerEntity extends BaseCombatEntity {
|
|
|
25
21
|
super({
|
|
26
22
|
aggroRadius: 11,
|
|
27
23
|
aggroSensorForwardOffset: 3,
|
|
28
|
-
aggroTargetTypes: [
|
|
29
|
-
GamePlayerEntity,
|
|
30
|
-
GorkinGruntEntity,
|
|
31
|
-
],
|
|
32
24
|
attacks: [
|
|
33
25
|
{ // Fast bow attack
|
|
34
26
|
animations: [ 'atk1' ],
|
|
@@ -2,10 +2,6 @@ import BaseCombatEntity, { BaseCombatEntityOptions } from "../BaseCombatEntity";
|
|
|
2
2
|
import BaseProjectileEntity from "../BaseProjectileEntity";
|
|
3
3
|
import type { Vector3Like } from 'hytopia';
|
|
4
4
|
|
|
5
|
-
// Aggro Target Types
|
|
6
|
-
import GamePlayerEntity from "../../GamePlayerEntity";
|
|
7
|
-
import GorkinGruntEntity from "./GorkinGruntEntity";
|
|
8
|
-
|
|
9
5
|
// Drops
|
|
10
6
|
import CommonMushroomItem from "../../items/consumables/CommonMushroomItem";
|
|
11
7
|
import CommonSeedsItem from "../../items/seeds/CommonSeedsItem";
|
|
@@ -25,10 +21,6 @@ export default class RatkinSpellcasterEntity extends BaseCombatEntity {
|
|
|
25
21
|
super({
|
|
26
22
|
aggroRadius: 12,
|
|
27
23
|
aggroSensorForwardOffset: 3,
|
|
28
|
-
aggroTargetTypes: [
|
|
29
|
-
GamePlayerEntity,
|
|
30
|
-
GorkinGruntEntity,
|
|
31
|
-
],
|
|
32
24
|
attacks: [
|
|
33
25
|
{ // Fireball attack
|
|
34
26
|
animations: [ 'atk1' ],
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import BaseCombatEntity, { BaseCombatEntityOptions } from "../BaseCombatEntity";
|
|
2
2
|
|
|
3
|
-
// Aggro Target Types
|
|
4
|
-
import GamePlayerEntity from "../../GamePlayerEntity";
|
|
5
|
-
import GorkinGruntEntity from "./GorkinGruntEntity";
|
|
6
|
-
|
|
7
3
|
// Drops
|
|
8
4
|
import CommonMushroomItem from "../../items/consumables/CommonMushroomItem";
|
|
9
5
|
import CommonSeedsItem from "../../items/seeds/CommonSeedsItem";
|
|
@@ -23,10 +19,6 @@ export default class RatkinWarriorEntity extends BaseCombatEntity {
|
|
|
23
19
|
super({
|
|
24
20
|
aggroRadius: 7.5,
|
|
25
21
|
aggroSensorForwardOffset: 3,
|
|
26
|
-
aggroTargetTypes: [
|
|
27
|
-
GamePlayerEntity,
|
|
28
|
-
GorkinGruntEntity,
|
|
29
|
-
],
|
|
30
22
|
attacks: [
|
|
31
23
|
{ // Heavy attack
|
|
32
24
|
animations: [ 'atk1' ],
|
|
@@ -4,14 +4,6 @@ import SpiderwebEntity from "./SpiderWebEntity";
|
|
|
4
4
|
import GamePlayerEntity from "../../GamePlayerEntity";
|
|
5
5
|
import type BaseEntity from "../BaseEntity";
|
|
6
6
|
|
|
7
|
-
// Aggro Target Types
|
|
8
|
-
import GorkinChieftanEntity from "./GorkinChieftanEntity";
|
|
9
|
-
import GorkinEnforcerEntity from "./GorkinEnforcerEntity";
|
|
10
|
-
import GorkinGruntEntity from "./GorkinGruntEntity";
|
|
11
|
-
import GorkinHunterEntity from "./GorkinHunterEntity";
|
|
12
|
-
import GorkinShamanEntity from "./GorkinShamanEntity";
|
|
13
|
-
import GorkinSwordsmanEntity from "./GorkinSwordsmanEntity";
|
|
14
|
-
|
|
15
7
|
// Drops
|
|
16
8
|
import GoldItem from "../../items/general/GoldItem";
|
|
17
9
|
import WeaverCarapaceItem from "../../items/materials/WeaverCarapaceItem";
|
|
@@ -28,15 +20,6 @@ export default class ReclusiveWeaverEntity extends BaseCombatEntity {
|
|
|
28
20
|
super({
|
|
29
21
|
aggroRadius: 10,
|
|
30
22
|
aggroSensorForwardOffset: 7,
|
|
31
|
-
aggroTargetTypes: [
|
|
32
|
-
GamePlayerEntity,
|
|
33
|
-
GorkinChieftanEntity,
|
|
34
|
-
GorkinEnforcerEntity,
|
|
35
|
-
GorkinGruntEntity,
|
|
36
|
-
GorkinHunterEntity,
|
|
37
|
-
GorkinShamanEntity,
|
|
38
|
-
GorkinSwordsmanEntity,
|
|
39
|
-
],
|
|
40
23
|
attacks: [
|
|
41
24
|
{ // Bite attack
|
|
42
25
|
animations: [ 'fang_attack' ],
|