mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
fix hp as notplayer with glass cannon
This commit is contained in:
parent
93eb43bd60
commit
39a1ceb692
1 changed files with 2 additions and 0 deletions
|
@ -281,6 +281,8 @@ local function player_died()
|
|||
inventory_helper.set_item_data(item_data, ctx.my_player)
|
||||
remove_inventory_tags()
|
||||
perk_fns.update_perks_for_entity(perk_data, ctx.my_player.entity, allow_notplayer_perk)
|
||||
util.set_ent_health_cap(ctx.my_player.entity, max_hp)
|
||||
util.set_ent_health(ctx.my_player.entity, {max_hp, max_hp})
|
||||
rpc.add_nickname_change_cursor()
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue