Files
aeternalis/server/content/balance.yaml
T

204 lines
8.0 KiB
YAML

version: 1
combatRules:
maxMobs: 512
maxProjectiles: 256
maxAreas: 64
maxTargets: 64
maxSlope: 1.2
hitRadius: 1.2
combat:
attacks:
- { id: bow_shot, name: Bow shot, description: A straight projectile that can miss., delivery: projectile, effect: damage, stat: rangedDamage, multiplier: 1, range: 45, cooldown: 1, stamina: 2, speed: 35, radius: 0, duration: 0, interval: 1 }
- { id: blast_shot, name: Blast shot, description: A projectile with a damage burst., delivery: projectile, effect: damage, stat: rangedDamage, multiplier: 1, range: 35, cooldown: 3, stamina: 8, speed: 25, radius: 6, duration: 0, interval: 1 }
- { id: healing_field, name: Healing field, description: A projectile that creates a stationary healing area., delivery: projectile, effect: heal, stat: magicDamage, multiplier: 1, range: 30, cooldown: 8, stamina: 10, speed: 25, radius: 6, duration: 5, interval: 1 }
- { id: sentinel_strike, name: Sentinel strike, description: Close range damage., delivery: melee, effect: damage, stat: meleeDamage, multiplier: 1, range: 3, cooldown: 1.8, stamina: 0, speed: 1, radius: 0, duration: 0, interval: 1 }
mobs:
- { id: ash_guard, name: Ash guard, description: A territorial guardian., model: sentinel, behavior: aggressive, level: 1, hp: 54, damage: 6, defence: 0, speed: 4, aggroRange: 24, leashRange: 160, scalePerDay: 0.1, xp: 50, attackId: sentinel_strike, lootId: common_mob_loot }
loot:
- id: common_mob_loot
name: Common creature loot
description: Guaranteed herbs and an independent chance of ore.
entries:
- { item: herb, amount: 1, chance: 100, group: '', weight: 1 }
- { item: ore, amount: 1, chance: 20, group: '', weight: 1 }
spawns: []
# Provisional milestone 3 tuning. The +20 attempt ceiling is a gameplay rule.
gatheringRules:
failureBase: 70
failurePerLevel: 1.4
failureMax: 98
destroyBase: 75
destroyPerLevel: 1
negativeChance: 65
damagePerLevel: 2
fatigueSeconds: 20
fatiguePercent: 40
jumpSpeed: 10
gravity: 24
hillHeight: 42
detailHeight: 6
gathering:
skills:
- { id: lumberjack, name: Lumberjack, description: Harvest wood., baseXp: 20, xpPerLevel: 10, maxLevel: 1000 }
- { id: herbalist, name: Herbalist, description: Harvest herbs., baseXp: 20, xpPerLevel: 10, maxLevel: 1000 }
- { id: miner, name: Miner, description: Harvest ore., baseXp: 20, xpPerLevel: 10, maxLevel: 1000 }
biomes:
- { id: forest, name: Forest, description: Wooded rolling hills., color: '#355c3a', weight: 4 }
- { id: meadow, name: Meadow, description: Open grassy valleys., color: '#65784c', weight: 3 }
- { id: highlands, name: Highlands, description: Rocky uplands., color: '#727d68', weight: 3 }
resources:
- { id: tree, name: Young tree, description: Common timber., skillId: lumberjack, model: tree, output: wood, requiredLevel: 1, amount: 1, xp: 2, seconds: 0.6, respawnSeconds: 120, density: 16, biomes: [forest, meadow, highlands] }
- { id: herb, name: Wild herbs, description: Common medicinal herbs., skillId: herbalist, model: herb, output: herb, requiredLevel: 1, amount: 1, xp: 2, seconds: 0.6, respawnSeconds: 120, density: 12, biomes: [forest, meadow, highlands] }
- { id: ore, name: Iron outcrop, description: Common ore., skillId: miner, model: ore, output: ore, requiredLevel: 1, amount: 1, xp: 2, seconds: 0.6, respawnSeconds: 120, density: 12, biomes: [forest, meadow, highlands] }
- { id: ancient_tree, name: Ancient hardwood, description: Difficult timber. Inspect the risk before gathering., skillId: lumberjack, model: tree, output: wood, requiredLevel: 15, amount: 5, xp: 12, seconds: 2, respawnSeconds: 240, density: 4, biomes: [forest] }
- { id: bitter_herb, name: Bitterroot, description: Dangerous herbs., skillId: herbalist, model: herb, output: herb, requiredLevel: 15, amount: 5, xp: 12, seconds: 2, respawnSeconds: 240, density: 4, biomes: [meadow] }
- { id: deep_ore, name: Dense iron, description: A difficult mineral seam., skillId: miner, model: ore, output: ore, requiredLevel: 15, amount: 5, xp: 12, seconds: 2, respawnSeconds: 240, density: 4, biomes: [highlands] }
consumables:
- id: gathering_tonic
name: Gatherer's tonic
description: Temporarily improves every gathering profession. Reuse refreshes duration.
seconds: 120
modifiers:
- { stat: gatheringLevel, flat: 5, percent: 0 }
- { stat: gatheringSpeed, flat: 0, percent: 20 }
- { stat: gatheringXP, flat: 0, percent: 20 }
tickHz: 20
snapshotHz: 5
chunkSize: 128
terrainResolution: 16
worldRadius: 1024
maxPlayers: 100
spawnSeparation: 48
seasonSeconds: 604800
collapseSeconds: 1800
dailyPlaySeconds: 7200
playerHp: 100
playerSpeed: 12
attackRange: 6
attackCooldown: 0.7
playerDamage: 18
criticalMultiplier: 2
maxYieldPerAction: 100
spearDamage: 32
gatherRange: 7
gatherCooldown: 0.6
bossHp: 1200
bossDamage: 18
bossRange: 12
bossCooldown: 2
stormDamagePerSecond: 15
mobHp: 54
mobDamage: 6
mobSpeed: 4
mobAggroRange: 24
mobAttackRange: 3
mobCooldown: 1.8
mobRespawnSeconds: 40
mobScalePerDay: 0.1
resourcesPerChunk: 48
resourceRespawnSeconds: 120
skillXpPerAction: 1
startingKit:
knife: 1
axe: 1
flint_and_steel: 1
fishing_pole: 1
recipes:
spear:
inputs: { wood: 3, ore: 2 }
outputs: { spear: 1 }
bandage:
inputs: { herb: 2 }
outputs: { bandage: 1 }
bandageHealing: 35
# Provisional progression tuning; stat allocation waits for the full stat design.
progression:
baseXp: 100
xpPerLevel: 50
statPointsPerLevel: 10
staminaPerLevel: 5
vitalPointsPerChoice: 5
maxLevel: 1000
gatherXp: 10
craftXp: 20
mobKillXp: 50
bossKillXp: 500
# Starter definitions. Requirements are ANDed; awarded definitions are immutable.
titles:
- id: wayfarer
name: Wayfarer
description: Reach level 2 in one life.
scope: personal
requirements: [{ metric: level, atLeast: 2 }]
effects: { damage: 1, moveSpeed: 0 }
- id: world_first_hunter
name: First Hunter of the World
description: Be the first to defeat a sentinel in this world.
scope: world
requirements: [{ metric: worldKills, atLeast: 1 }]
effects: { damage: 2, moveSpeed: 0 }
- id: first_hunter
name: The First Hunter
description: Be the first ever to defeat a sentinel. Power comes with a heavier step.
scope: global
requirements: [{ metric: worldKills, atLeast: 1 }]
effects: { damage: 3, moveSpeed: -0.5 }
# Provisional coefficients. Control can publish changes to these rules.
stats:
version: 1
base:
constitution: 0
intelligence: 0
dexterity: 0
strength: 0
wisdom: 0
charisma: 0
luck: 0
healthPoints: 100
endurance: 0
resistance: 0
healthRecovery: 0
magicDamage: 0
knowledge: 0
spellPoints: 0
manaPoints: 50
moveSpeed: 12
rangedDamage: 18
criticalChance: 0
dodgeChance: 0
staminaRecovery: 1
meleeDamage: 18
heavyDamage: 18
carryCapacity: 100
defence: 0
skillPoints: 0
xpGain: 100
manaRecovery: 0
buffEffectiveness: 100
dropRate: 100
gatherRate: 100
stamina: 100
coefficients:
constitution: { healthPoints: 5, endurance: 1, resistance: 0.5, healthRecovery: 0.02 }
intelligence: { magicDamage: 1, knowledge: 1, spellPoints: 0.5, manaPoints: 5 }
dexterity: { moveSpeed: 0.02, rangedDamage: 1, criticalChance: 0.1, endurance: 0.5, dodgeChance: 0.1, staminaRecovery: 0.05 }
strength: { meleeDamage: 1, heavyDamage: 1.5, carryCapacity: 5, endurance: 0.5, defence: 0.5 }
wisdom: { knowledge: 1, resistance: 0.5, skillPoints: 0.5, xpGain: 0.5, manaRecovery: 0.05 }
charisma: { buffEffectiveness: 1 }
luck: { criticalChance: 0.1, dropRate: 1, gatherRate: 1, dodgeChance: 0.1 }
items:
- id: knife
name: Knife
description: A starting close-combat weapon.
slot: weapon
weight: 1
requirements: { level: 1, stats: {}, titles: [] }
modifiers: []
- id: spear
name: Spear
description: A crafted close-combat weapon.
slot: weapon
weight: 3
requirements: { level: 1, stats: {}, titles: [] }
modifiers: [{ stat: meleeDamage, flat: 14, percent: 0 }]