mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Separated knockback out from basicmelee. Added weapon for cyclops boss to use, and added 1 ability to it.
This commit is contained in:
@ -50,6 +50,7 @@ pub enum CharacterAbility {
|
||||
buildup_duration: Duration,
|
||||
recover_duration: Duration,
|
||||
base_healthchange: i32,
|
||||
knockback: f32,
|
||||
range: f32,
|
||||
max_angle: f32,
|
||||
},
|
||||
@ -250,6 +251,7 @@ impl From<&CharacterAbility> for CharacterState {
|
||||
buildup_duration,
|
||||
recover_duration,
|
||||
base_healthchange,
|
||||
knockback,
|
||||
range,
|
||||
max_angle,
|
||||
energy_cost: _,
|
||||
@ -258,6 +260,7 @@ impl From<&CharacterAbility> for CharacterState {
|
||||
buildup_duration: *buildup_duration,
|
||||
recover_duration: *recover_duration,
|
||||
base_healthchange: *base_healthchange,
|
||||
knockback: *knockback,
|
||||
range: *range,
|
||||
max_angle: *max_angle,
|
||||
}),
|
||||
|
Reference in New Issue
Block a user