mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed fall damage and sceptre regen.
This commit is contained in:
parent
640d968eff
commit
c4c4318ac0
@ -5,7 +5,7 @@ BasicAura(
|
||||
targets: InGroup,
|
||||
aura: (
|
||||
kind: Regeneration,
|
||||
strength: 2.0,
|
||||
strength: 0.2,
|
||||
duration: Some(10.0),
|
||||
category: Magical,
|
||||
),
|
||||
|
@ -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>();
|
||||
|
Loading…
Reference in New Issue
Block a user