Skip to content

Commit

Permalink
some defaults were wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
orion3dgames committed Nov 5, 2024
1 parent 33230d2 commit 6bcbf9d
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/server/Database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ class Database {
20,
20,
20,
"training_ground",
//"lh_town",
//"training_ground",
"lh_town",

6.18,
0.1,
Expand Down
51 changes: 47 additions & 4 deletions src/server/data/LocationsDB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let LocationsDB = {
key: "lh_town",
mesh: "lh_town",
sun: true,
sunIntensity: 0.0,
sunIntensity: 0.6,
spawnPoint: {
x: 0,
y: 0,
Expand Down Expand Up @@ -209,7 +209,7 @@ let LocationsDB = {
isEndOfDialog: true,
triggeredByClosing: {
type: "cast_ability",
ability: "light_heal",
ability: "heal",
target: "target",
},
},
Expand Down Expand Up @@ -443,7 +443,7 @@ let LocationsDB = {
key: "training_ground",
mesh: "training_ground",
sun: true,
sunIntensity: 0,
sunIntensity: 1,
fog: false,
spawnPoint: {
x: 0,
Expand All @@ -456,7 +456,50 @@ let LocationsDB = {
music: "MUSIC_01",
dynamic: {
interactive: [],
spawns: [],
spawns: [
{
key: "spawn_01",
type: "static",
behaviour: "idle",
aggressive: true,
canAttack: true,
points: [new Vector3(8.67, 0, -14.59)],
amount: 1,
baseHealth: 8000,
race: "skeleton_01",
material: 0,
name: "Dummy 2",
baseSpeed: Speed.VERY_SLOW,
},
{
key: "spawn_02",
type: "global",
behaviour: "area",
aggressive: true,
canAttack: true,
points: [new Vector3(12, 0, -14.59)],
amount: 1,
race: "skeleton_01",
material: 0,
name: "Dummy 1",

baseHealth: 100,
baseSpeed: Speed.VERY_SLOW,
baseDamageMultiplier: 2, // multiplicater for damage
experienceGain: { min: 5000, max: 10000 },
goldGain: { min: 100, max: 200 },
equipment: [
{
key: "sword_01",
slot: PlayerSlots.WEAPON,
},
],
abilities: [
{ key: "base_attack", chance: 0.3 },
{ key: "fire_dart", chance: 0.7 },
],
},
],
},
},
lh_dungeon_01: {
Expand Down

0 comments on commit 6bcbf9d

Please sign in to comment.