[0.11.1] Banishment sets HP to 1

Locked
User avatar
Ralzar
Posts: 2211
Joined: Mon Oct 07, 2019 4:11 pm
Location: Norway

[0.11.1] Banishment sets HP to 1

Post by Ralzar »

Not sure if this matches classic or not.

Having looked through the code, it seems this happens:

When arrested: HP set to 1

Found not guilty: HP reset

Prison / Fine: HP reset

Banished: HP left at 1


This leads to appearing outside the city gates with 1 HP. So if any other effect is causing damage, you just insta-die. When combining this with mods like Climates & Calories, the chance of getting 1 or more damage when you appear outside at a more or less random time is pretty high.


See comment here where DFU fixes this for when you are released, but banished is not considered:
https://github.com/Interkarma/daggerfal ... ow.cs#L414

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: [0.11.1] Banishment sets HP to 1

Post by Interkarma »

Seems like a fair oversight to fix, considering Allofich has already partially addressed this. I'll move this to bug reports.

In the meantime, just pretend the guards beat you almost to death before throwing you out of town.

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: [0.11.1] Banishment sets HP to 1

Post by Interkarma »

Player vitals are now refilled after banishment. This is more consistent with release, and we can assume player spent at least a few days cooling off in a cell before their court date.

https://github.com/Interkarma/daggerfal ... e4283d058e

Locked