mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Better equip durations, fix roll bug, slow down while attacking, smoother gliding, stronger npcs, giants
This commit is contained in:
@ -57,6 +57,7 @@ impl CharacterAbility {
|
||||
CharacterAbility::Roll => {
|
||||
data.physics.on_ground
|
||||
&& data.body.is_humanoid()
|
||||
&& data.vel.0.xy().magnitude_squared() > 0.5
|
||||
&& update
|
||||
.energy
|
||||
.try_change_by(-150, EnergySource::Ability)
|
||||
|
Reference in New Issue
Block a user