yvsarkisyan / keeperfx

Automatically exported from code.google.com/p/keeperfx
0 stars 0 forks source link

Prison not reducing prisoner health? #258

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I noticed in the level NeverGrim that no matter how long i kept creatures in 
the prison, they wouldnt lose any health, so i couldnt make any 
skeletons...they did make the starving animation but never lost any health at 
all.

I took a look at the rules.cfg file and saw this line :

PrisonHealthGain = 50
GameTurnsPerPrisonHealthGain = 400

Not sure if it should be health gain? I tried changing it to HealthLoss and 
started a new map, but it didnt make any difference. I also tried changing the 
numbers to -500 health and game turns to 1, but that also did nothing.

Keepeerfx log shows :

Sync: set_creature_assigned_job: Assigned job NULL for creature SORCEROR index 
122 owner 0
Sync: set_creature_assigned_job: Assigned job FREEZE_PRISONERS for creature 
SORCEROR index 122 owner 0
Sync: set_creature_assigned_job: Assigned job NULL for creature HELL_HOUND 
index 189 owner 0
Sync: set_creature_assigned_job: Assigned job FREEZE_PRISONERS for creature 
HELL_HOUND index 189 owner 0

This is after i dropped a warlock and a hellhound into the prison, should it be 
freeze prisoners? I think that's the spider's job...

What version of the product are you using? On what operating system?
(you can see your KeeperFX version by viewing keeperfx.log in notepad)

KeeperFX r1060 patch, dated 2014.02.18 03:10:01

Please provide any additional information below.
(describe one bug per report, but with all you can gather about it)

Save file of the bug in action : https://www.mediafire.com/?po9g0cc5zdcq93b

Original issue reported on code.google.com by Question...@gmail.com on 19 Feb 2014 at 8:42

GoogleCodeExporter commented 9 years ago
Creatures in prison do not lose health automatically - only torturing makes 
them lose their health.

In prison, creatures can only starve - and all humanoid creatures which do not 
have heal spell and need food will become skeletons, but only after they get 
hungry and starve to death.

Original comment by mefistotelis on 19 Feb 2014 at 6:38

GoogleCodeExporter commented 9 years ago
Regarding GameTurnsPerPrisonHealthGain - this option is unused. Its value 
doesn't affect anything.

Original comment by mefistotelis on 19 Feb 2014 at 6:42

GoogleCodeExporter commented 9 years ago
Alright that clears it up. It seems to take absolutely forever for creatures to 
die in a prison though.

How is the time to die determined, if its not based on hp loss? And if its not 
based on hp loss, why can creatures heal themselve to avoid dying in a prison?

And where do you go to check the keeperFX values for prisons, if those values 
in the rules.cfg do not work?

Original comment by Question...@gmail.com on 20 Feb 2014 at 10:25

GoogleCodeExporter commented 9 years ago
As I already wrote, creatures die in prison when they starve to death.

I don't think there are any "values for prison", besides skeleton creation 
chance (which is currently 100%). All settings are in various CFG files. You 
can search through them in any file manager.

Original comment by mefistotelis on 20 Feb 2014 at 12:03

GoogleCodeExporter commented 9 years ago
But if they are starving to death, they should be losing health right? That 
does not appear to be occuring...

I also didnt notice prisoners dying quicker when i dramatically increased the 
speed at which creatures starved to death (see the other issue on this).

Original comment by Question...@gmail.com on 20 Feb 2014 at 12:24

GoogleCodeExporter commented 9 years ago
Cant find the edit button for comments, but basically you are saying there are 
no prison specific values that you can edit to make prisoners starve quicker?

Original comment by Question...@gmail.com on 20 Feb 2014 at 12:24

GoogleCodeExporter commented 9 years ago
There are no prison specific values, prisoners are starving like all other 
creatures.

Original comment by mefistotelis on 20 Feb 2014 at 5:05

GoogleCodeExporter commented 9 years ago
OK so how do i alter the rate at which prisoners starve? Without altering the 
normal starvation rate?

Original comment by Question...@gmail.com on 20 Feb 2014 at 10:09