mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'catb0t/climb_no_min_energy' into 'master'
Don't require 10 energy for climbing See merge request veloren/veloren!3798
This commit is contained in:
commit
5ca04365d5
@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Changed
|
||||
- Bats move slower and use a simple proportional controller to maintain altitude
|
||||
- Bats now have less health
|
||||
- Climbing no longer requires having 10 energy
|
||||
|
||||
### Removed
|
||||
|
||||
|
@ -748,7 +748,7 @@ pub fn handle_climb(data: &JoinData<'_>, update: &mut StateUpdate) -> bool {
|
||||
.unwrap_or(false)
|
||||
//&& update.vel.0.z < 0.0
|
||||
&& data.body.can_climb()
|
||||
&& update.energy.current() > 10.0
|
||||
&& update.energy.current() > 1.0
|
||||
{
|
||||
update.character = CharacterState::Climb(climb::Data::create_adjusted_by_skills(data));
|
||||
true
|
||||
|
Loading…
Reference in New Issue
Block a user