Slightly nerfed sword dash. Reduced particle count on fire aoe by factor of 3.

This commit is contained in:
Sam 2020-10-17 11:39:25 -05:00
parent 15286a094a
commit 844e6f2b60
2 changed files with 4 additions and 4 deletions

View File

@ -173,8 +173,8 @@ impl Tool {
},
DashMelee {
energy_cost: 200,
base_damage: (120.0 * self.base_power()) as u32,
max_damage: (260.0 * self.base_power()) as u32,
base_damage: (100.0 * self.base_power()) as u32,
max_damage: (250.0 * self.base_power()) as u32,
base_knockback: 10.0,
max_knockback: 20.0,
range: 5.0,

View File

@ -594,8 +594,8 @@ impl ParticleMgr {
));
}
} else {
for d in 0..10 * distance as i32 {
let arc_position = theta - radians / 2.0 + dtheta * d as f32 / 10.0;
for d in 0..3 * distance as i32 {
let arc_position = theta - radians / 2.0 + dtheta * d as f32 / 3.0;
let position = pos.0
+ distance * Vec3::new(arc_position.cos(), arc_position.sin(), 0.0);