v0.8.10 (BWM fill) released to Google Play!

Useful links
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.10) from Google, F-Droid, our server, or itch.io

question about regeneration

A place to submit bugs to the Andor's Trail Development Team.
thk
Posts: 21
Joined: Wed May 02, 2012 9:30 am
android_version: 4.0

question about regeneration

Post by thk »

What exactly happens when a player that has the Regeneration skill gets a negative health effect like poison or bleeding wound? Is the total loss or gain of health per turn calculated as the total of all positive and negative effects, or is Regeneration 'switched off' as long as the negative effects are active, effectively only summing negative effects? While playing north of Lonefort, I got the impression that the latter is the way it works, but I am not sure.
Level: 30, XP: 514147, Gold: 23814
HP: 67(60), AC: 177(110)%, AD: 21-28(20), CC: 16%, CM: 3.0, BC: 51(0)%, DR: 1(0)
Combat Speed: 2
Increased Fortitude: 2
Regeneration: 2
Pure Blood: 1
Dark blessing of the Shadow: 1
User avatar
nyktos
VIP
Posts: 3463
Joined: Wed Sep 14, 2011 5:38 pm
android_version: 7.1 - Nougat
Location: Nor City, Dhayavar

Re: question about regeneration

Post by nyktos »

I'm going to use the RoLS for an example,
because you can see the blue burst from the
Shadow Regeneration...

If you get poisoned in the snake cave,
it lasts one round... (after battle ends)

So in six seconds -
you see one blue burst, but no HP gain.
(notice the poison marker disappear)

Another six seconds later you see the blue burst and an HP gain of 1.
So, it is all happening at the same time.

:D

Unless we have bugs?
Let us know if you see anything fishy!

8-)
"Embrace the Shadow"

Image

[Lv: 60] [HP: 175] [AC: 361] [AD: 25-39] [BC: 75]
[Dual Wielding Swords] [Unarmored Fighting]
thk
Posts: 21
Joined: Wed May 02, 2012 9:30 am
android_version: 4.0

Re: question about regeneration

Post by thk »

Sorry, took some time, but I had to get out of that iqhan cave first :D
I tested this now on the newest version (6.11). I have Regeneration skill level one (i.e. +1 hp per turn) and took negative effects from both a Poisonous Frog and a Strong Itziel. The former gives 2x weak poison (i.e. -2 hp per turn) and the latter 2x bleeding wound (also -2hp per turn). With either one of the two negative effects, the little number that pops up on top of Andor's brother at the end of the turn is -2, not -1.
However, looking closely at the amount of hit points before and after the turn, it appears that only 1 (one) hit point is subtracted from the total. In other words, it appears that the calculation for the total in-/decrease of hit points works as expected, but the graphic shown (number on the map) does not.
I have maybe an idea where that may come from: As the shown numbers of hit point in-/decrease are color coded (blue for Regeneration, green for poison, red for bleeding wound), could it be that the calculation for determining that number is a different one than that used for determining the total effect? I will try to stack bleeding wound and poison next to see what happens.
If the above text doesn't make much sense at first reading, please read it again -- there is a point -- or ask me. This is just a little hard to explain without pointing fingers :D
Level: 30, XP: 514147, Gold: 23814
HP: 67(60), AC: 177(110)%, AD: 21-28(20), CC: 16%, CM: 3.0, BC: 51(0)%, DR: 1(0)
Combat Speed: 2
Increased Fortitude: 2
Regeneration: 2
Pure Blood: 1
Dark blessing of the Shadow: 1
thk
Posts: 21
Joined: Wed May 02, 2012 9:30 am
android_version: 4.0

Re: question about regeneration

Post by thk »

Ok, now I tried also this: 2x weak poison + 4 x bleeding wound + Regeneration level 1. The number shown on top of Andors brother is -6 and red (does the choice of color depend on the order of in which effects are stacked?), but the amount of hit points subtracted from the total is 5.
Level: 30, XP: 514147, Gold: 23814
HP: 67(60), AC: 177(110)%, AD: 21-28(20), CC: 16%, CM: 3.0, BC: 51(0)%, DR: 1(0)
Combat Speed: 2
Increased Fortitude: 2
Regeneration: 2
Pure Blood: 1
Dark blessing of the Shadow: 1
mdmedlin
Posts: 139
Joined: Sat May 14, 2011 5:52 am
android_version: 2.1 - Eclair

Re: question about regeneration

Post by mdmedlin »

I did the same thing, I have regen 2 and I was poisoned, took one poison damage, but hp's when up by one
Level 39 Exp: 1093259 HP: 111 AC: 189% AD: 22-29 AP: 6 CC: 10% CM:2 BC 54% DR: 0 SR:2543 RoLS: 1

frog killer
DarkSavant13
Posts: 466
Joined: Sun May 20, 2012 1:06 am
android_version: 2.3 - Gingerbread
Location: Somewhere between here and there... I'm lost...

Re: question about regeneration

Post by DarkSavant13 »

As far as I recall, it was that way before 6.11. Just thought that was how it was supposed to be to show what the condition was supposed to be taking off before regeneration and RoLS.

Great that it was brought up,though. :D
Bard
Posts: 87
Joined: Thu Apr 19, 2012 9:00 am
android_version: 4.0

Re: question about regeneration

Post by Bard »

I've got two RoLS (no stacking for regen - grml) and regeneration. I get +2HP but shown is +1 ... on 6.11
thk
Posts: 21
Joined: Wed May 02, 2012 9:30 am
android_version: 4.0

Re: question about regeneration

Post by thk »

DarkSavant13 wrote:As far as I recall, it was that way before 6.11.
Yes, I'm quite sure it was -- I just never got around to ask :)
Bard wrote:I've got two RoLS (no stacking for regen - grml) and regeneration. I get +2HP but shown is +1 ... on 6.11
If shadow regeneration and the regeneration skill don't show up right either, then it is most likely due to the fact that regeneration is a skill (introduced to the game later on), and the part of the code that computes the displayed change of hit points has not been updated accordingly -- this is, of course, only a guess...
Level: 30, XP: 514147, Gold: 23814
HP: 67(60), AC: 177(110)%, AD: 21-28(20), CC: 16%, CM: 3.0, BC: 51(0)%, DR: 1(0)
Combat Speed: 2
Increased Fortitude: 2
Regeneration: 2
Pure Blood: 1
Dark blessing of the Shadow: 1
User avatar
Antison
Posts: 5284
Joined: Mon Mar 28, 2011 11:33 pm
android_version: 14 - Android 14
Location: A home without a beagle is just a house

Re: question about regeneration

Post by Antison »

Sounds like a bug to me.
"A home without a beagle is just a house"
sdevaney
Site Admin
Posts: 1178
Joined: Fri Jan 28, 2011 10:17 pm
android_version: 14 - Android 14
Contact:

Re: question about regeneration

Post by sdevaney »

Indeed it is a bug, moved to the proper section.
Post Reply