Reduce player health
This commit is contained in:
parent
65cde7d8ab
commit
27f1133b60
@ -9,8 +9,8 @@ pub fn spawn_player(ecs: &mut World, pos: Point) {
|
|||||||
glyph: to_cp437('@'),
|
glyph: to_cp437('@'),
|
||||||
},
|
},
|
||||||
Health {
|
Health {
|
||||||
current: 20,
|
current: 10,
|
||||||
max: 20,
|
max: 10,
|
||||||
},
|
},
|
||||||
Name("Player 1".to_string()),
|
Name("Player 1".to_string()),
|
||||||
));
|
));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user