From 2e39423d11a6cd1e25b54c30d9afd22e8eff9dfe Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Tue, 19 Mar 2024 07:36:54 +0100 Subject: feat: shield ability --- src/shared/player.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/shared/player.rs') diff --git a/src/shared/player.rs b/src/shared/player.rs index d1df3af..3805969 100644 --- a/src/shared/player.rs +++ b/src/shared/player.rs @@ -37,7 +37,10 @@ impl PlayerBundle { color: PlayerColor(color), imperative: Imperative::Idle, cooldown: Cooldown::default(), - health: Health(effective_stats.0.max_health), + health: Health { + health: effective_stats.0.max_health, + shield: 0., + }, champion, effective_stats, buffs: Buffs::default(), -- cgit v1.2.3