Fixed fall damage and sceptre regen.

This commit is contained in:
Sam 2021-09-14 06:53:01 -04:00
parent 640d968eff
commit c4c4318ac0
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ BasicAura(
targets: InGroup,
aura: (
kind: Regeneration,
strength: 2.0,
strength: 0.2,
duration: Some(10.0),
category: Magical,
),

View File

@ -599,7 +599,7 @@ pub fn handle_land_on_ground(server: &Server, entity: EcsEntity, vel: Vec3<f32>)
.copied()
.unwrap_or_default();
let impact_energy = mass.0 * vel.z.powi(2) / 2.0;
let falldmg = impact_energy / 100.0;
let falldmg = impact_energy / 1000.0;
let inventories = ecs.read_storage::<Inventory>();
let stats = ecs.read_storage::<Stats>();