From 6bcbf9d90a26cf716f2e85fd2cd9196dc723d0df Mon Sep 17 00:00:00 2001 From: Orion Gunning Date: Tue, 5 Nov 2024 14:36:51 +1100 Subject: [PATCH] some defaults were wrong --- src/server/Database.ts | 4 +-- src/server/data/LocationsDB.ts | 51 +++++++++++++++++++++++++++++++--- 2 files changed, 49 insertions(+), 6 deletions(-) diff --git a/src/server/Database.ts b/src/server/Database.ts index c630c928..5f5acc89 100644 --- a/src/server/Database.ts +++ b/src/server/Database.ts @@ -154,8 +154,8 @@ class Database { 20, 20, 20, - "training_ground", - //"lh_town", + //"training_ground", + "lh_town", 6.18, 0.1, diff --git a/src/server/data/LocationsDB.ts b/src/server/data/LocationsDB.ts index 0bfec9c2..a4a0b005 100644 --- a/src/server/data/LocationsDB.ts +++ b/src/server/data/LocationsDB.ts @@ -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, @@ -209,7 +209,7 @@ let LocationsDB = { isEndOfDialog: true, triggeredByClosing: { type: "cast_ability", - ability: "light_heal", + ability: "heal", target: "target", }, }, @@ -443,7 +443,7 @@ let LocationsDB = { key: "training_ground", mesh: "training_ground", sun: true, - sunIntensity: 0, + sunIntensity: 1, fog: false, spawnPoint: { x: 0, @@ -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: {