mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
adjust staff firebomb
This commit is contained in:
parent
25cbff68d3
commit
6c11aa80e0
@ -3,9 +3,9 @@ BasicRanged(
|
|||||||
buildup_duration: 0.5,
|
buildup_duration: 0.5,
|
||||||
recover_duration: 0.4,
|
recover_duration: 0.4,
|
||||||
projectile: Fireball(
|
projectile: Fireball(
|
||||||
damage: 120.0,
|
damage: 90.0,
|
||||||
radius: 4.0,
|
radius: 4.0,
|
||||||
energy_regen: 80,
|
energy_regen: 60,
|
||||||
),
|
),
|
||||||
projectile_body: Object(BoltFire),
|
projectile_body: Object(BoltFire),
|
||||||
projectile_speed: 60.0,
|
projectile_speed: 60.0,
|
||||||
|
@ -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
|
// Compare both checks, take whichever gives weaker effect, sets minimum of 0 so
|
||||||
// that explosions reach a max strength on edge of entity
|
// 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 {
|
for effect in explosion.effects {
|
||||||
|
Loading…
Reference in New Issue
Block a user