aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/champion.rs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-20 02:09:36 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-20 02:09:36 +0100
commitb1c524ff645a680e1eea95d036b729125d4c3a32 (patch)
tree581932099b8e1d8a0cc9cdfd2fa2414ba6b2a192 /src/shared/champion.rs
parent7b6d9242e4217c8229cb546de495cd2670b97f2d (diff)
fix: dash deals damage
Diffstat (limited to 'src/shared/champion.rs')
-rw-r--r--src/shared/champion.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/shared/champion.rs b/src/shared/champion.rs
index 86bd41e..6e6b01b 100644
--- a/src/shared/champion.rs
+++ b/src/shared/champion.rs
@@ -49,9 +49,10 @@ impl Champion {
pub fn ability(self, ability_slot: AbilitySlot) -> Ability {
match self {
Champion::Meele => match ability_slot {
- AbilitySlot::Q => {
- Ability::Directional(DirectionalAbility::Dash(Dash { max_distance: 60. }))
- }
+ AbilitySlot::Q => Ability::Directional(DirectionalAbility::Dash(Dash {
+ max_distance: 60.,
+ damage: 15.,
+ })),
AbilitySlot::W => {
Ability::Directional(DirectionalAbility::Pull(Pull { max_distance: 60. }))
}