adjust staff firebomb

This commit is contained in:
juliancoffee 2021-06-11 15:41:38 +03:00
parent 25cbff68d3
commit 6c11aa80e0
2 changed files with 3 additions and 3 deletions

View File

@ -3,9 +3,9 @@ BasicRanged(
buildup_duration: 0.5,
recover_duration: 0.4,
projectile: Fireball(
damage: 120.0,
damage: 90.0,
radius: 4.0,
energy_regen: 80,
energy_regen: 60,
),
projectile_body: Object(BoltFire),
projectile_speed: 60.0,

View File

@ -689,7 +689,7 @@ pub fn handle_explosion(server: &Server, pos: Vec3<f32>, explosion: Explosion, o
// Compare both checks, take whichever gives weaker effect, sets minimum of 0 so
// that explosions reach a max strength on edge of entity
((horiz_dist.max(vert_distance).max(0.0) / radius).min(1.0) - 1.0).powi(2)
((horiz_dist.max(vert_distance).max(0.0) / radius).min(1.0) - 1.0).abs()
}
for effect in explosion.effects {