mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Slightly nerfed sword dash. Reduced particle count on fire aoe by factor of 3.
This commit is contained in:
parent
15286a094a
commit
844e6f2b60
@ -173,8 +173,8 @@ impl Tool {
|
|||||||
},
|
},
|
||||||
DashMelee {
|
DashMelee {
|
||||||
energy_cost: 200,
|
energy_cost: 200,
|
||||||
base_damage: (120.0 * self.base_power()) as u32,
|
base_damage: (100.0 * self.base_power()) as u32,
|
||||||
max_damage: (260.0 * self.base_power()) as u32,
|
max_damage: (250.0 * self.base_power()) as u32,
|
||||||
base_knockback: 10.0,
|
base_knockback: 10.0,
|
||||||
max_knockback: 20.0,
|
max_knockback: 20.0,
|
||||||
range: 5.0,
|
range: 5.0,
|
||||||
|
@ -594,8 +594,8 @@ impl ParticleMgr {
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for d in 0..10 * distance as i32 {
|
for d in 0..3 * distance as i32 {
|
||||||
let arc_position = theta - radians / 2.0 + dtheta * d as f32 / 10.0;
|
let arc_position = theta - radians / 2.0 + dtheta * d as f32 / 3.0;
|
||||||
|
|
||||||
let position = pos.0
|
let position = pos.0
|
||||||
+ distance * Vec3::new(arc_position.cos(), arc_position.sin(), 0.0);
|
+ distance * Vec3::new(arc_position.cos(), arc_position.sin(), 0.0);
|
||||||
|
Loading…
Reference in New Issue
Block a user