Skip to content

Zero hitpoints when levelling up, after choosing a different master #31

@ndoody

Description

@ndoody

Hi, I'm on a BBS and they seem to be running version 0.25 compiled Dec '22.

I had chose a new master, Apollonia, I am a dwarf of Barbarian class. As soon as I choose the new master, I do not receive any hit points when I level up?

I did look through the code, excuse me for never seening pascal before, but my light understanding is that i represents hitpoints we should level up with. When we're a Barbarian i has a baseline of 7, which in the proceeding loops by the default master should be 7 hitpoints per level up. I note that if we change to Apollonia we have inc(i, 2) which if I understand correctly should increment i by 2 (so now we should be at 9?) and then loop through adding an extra 2 for each level up.

I have done a load of steroids, so I notice that anything under 70 for mental stability is punished with dec(i) which should deduct one. If I'm not mistaken again, we should get 8 hitpoints per level right?

What I'm actually getting is zero points per level, this happened for 4 levels so I switched back and now I'm getting 6 which would be the baseline minus the punishment for having a low mental stability.

So, is this a bug? I also tested on another BBS that is running the same version, compiled in Aug '21 and it's the same behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions