aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/player.rs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-19 07:36:54 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-19 07:36:54 +0100
commit2e39423d11a6cd1e25b54c30d9afd22e8eff9dfe (patch)
tree204e0bfc8f69c1ca57daa449b1eed723e43ef40c /src/shared/player.rs
parent9d8bf0fde7b12fa77569333d17f310e55df58db9 (diff)
feat: shield ability
Diffstat (limited to 'src/shared/player.rs')
-rw-r--r--src/shared/player.rs5
1 files changed, 4 insertions, 1 deletions
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(),