diff options
Diffstat (limited to 'src/shared/champion.rs')
-rw-r--r-- | src/shared/champion.rs | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/shared/champion.rs b/src/shared/champion.rs index 05f13ef..da63664 100644 --- a/src/shared/champion.rs +++ b/src/shared/champion.rs @@ -33,13 +33,15 @@ impl Champion { match self { Champion::Meele => BaseStats(Stats { attack_range: 25., - movement_speed: 75., + attack_speed: 0.75, max_health: 150., + movement_speed: 75., }), Champion::Ranged => BaseStats(Stats { attack_range: 60., - movement_speed: 85., + attack_speed: 1.5, max_health: 100., + movement_speed: 85., }), } } @@ -62,14 +64,17 @@ impl Champion { _ => Ability::Targeted(TargetedAbility::MeeleAttack(MeeleAttack { damage: 5. })), }, Champion::Ranged => match ability_slot { - AbilitySlot::Q => Ability::Directional(DirectionalAbility::Spear(Spear { + AbilitySlot::E => Ability::Directional(DirectionalAbility::Spear(Spear { max_distance: 250., - damage: 15., + damage: 25., })), + AbilitySlot::R => { + Ability::Activated(ActivatedAbility::Focus(Focus { duration: 5. })) + } AbilitySlot::G => { Ability::Activated(ActivatedAbility::Speed(Speed { duration: 2.5 })) } - _ => Ability::Targeted(TargetedAbility::RangedAttack(RangedAttack { damage: 6. })), + _ => Ability::Targeted(TargetedAbility::RangedAttack(RangedAttack { damage: 8. })), }, } } @@ -77,10 +82,10 @@ impl Champion { pub fn base_cooldown(self) -> BaseCooldown { match self { Champion::Meele => { - BaseCooldown([0.75, 5., 5., 10., 25., 50., 50.].map(Duration::from_secs_f32)) + BaseCooldown([0., 5., 5., 10., 25., 50., 50.].map(Duration::from_secs_f32)) } Champion::Ranged => { - BaseCooldown([1.25, 5., 5., 10., 25., 50., 50.].map(Duration::from_secs_f32)) + BaseCooldown([0., 10., 10., 15., 35., 50., 50.].map(Duration::from_secs_f32)) } } } |