mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'timo-tweeks' into 'master'
fix: all enemies start with lvl 1 hp See merge request veloren/veloren!572
This commit is contained in:
commit
c0732d7787
@ -597,6 +597,9 @@ impl Server {
|
||||
}
|
||||
|
||||
stats.update_max_hp();
|
||||
stats
|
||||
.health
|
||||
.set_to(stats.health.maximum(), comp::HealthSource::Revive);
|
||||
self.create_npc(comp::Pos(npc.pos), stats, body)
|
||||
.with(comp::Agent::enemy())
|
||||
.with(comp::Scale(scale))
|
||||
|
Loading…
Reference in New Issue
Block a user