After looking into its prefab file, it seems like OnLoadPostPass restores the correct amount of health, but right after that OnEntitySleep overrides it back to 200000.
Here's how I tracked the max health changes:
AddComponentPostInit("health", function(self, inst) if inst:HasTag("crabking") then addsetter(self, "maxhealth", print) --prints self, maxhealth, oldmaxhealth end end)
[01:31:06]: table: 53E4AAE0 200000 100 [01:31:06]: table: 53E4AAE0 200000 200000 [01:31:13]: table: 53E4AAE0 20000 200000 [01:31:13]: table: 53E4AAE0 200000 20000
Steps to Reproduce
1) Begin a fight with the Crab King, fully socketed
2) Save and reload
A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now