mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Remove knockback
This commit is contained in:
committed by
Joshua Barretto
parent
4415393ec6
commit
e39324a9d2
@ -54,8 +54,7 @@ impl<'a> System<'a> for Sys {
|
|||||||
stat_b
|
stat_b
|
||||||
.health
|
.health
|
||||||
.change_by(-10, HealthSource::Attack { by: *uid }); // TODO: variable damage and weapon
|
.change_by(-10, HealthSource::Attack { by: *uid }); // TODO: variable damage and weapon
|
||||||
vel_b.0 += (pos_b.0 - pos.0).normalized() * 10.0;
|
vel_b.0.z = 7.0;
|
||||||
vel_b.0.z = 15.0;
|
|
||||||
let _ = force_updates.insert(b, ForceUpdate);
|
let _ = force_updates.insert(b, ForceUpdate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user