Jump to content

Max HP Bug


aigleborgne

Recommended Posts

Posted

I'm testing the max HP code with dual class.

 

Fighter to mage (level 3/7)

So level 1 = 3, Level 2 = 7

HP = 3*10 + 4*4 = 46

It works :O

 

 

Now mage to fighter (level 3/7)

So level 1 = 7, level 2 = 3

HP = 3*4 + 4*10 = 52

But tututweak found 28. I assume it is an error in the class order, since level 2 = mage class, and level 1 = fighter class

 

I will try to fix it

Posted
I'm testing the max HP code with dual class.

 

Fighter to mage (level 3/7)

So level 1 = 3, Level 2 = 7

HP = 3*10 + 4*4 = 46

It works :)

 

 

Now mage to fighter (level 3/7)

So level 1 = 7, level 2 = 3

HP = 3*4 + 4*10 = 52

But tututweak found 28. I assume it is an error in the class order, since level 2 = mage class, and level 1 = fighter class

 

I will try to fix it

Ah, I see where I went wrong. I though the 'level first class' field always corresponded to the original class of the creature, but this is not the case. This is now fixed locally.

Posted

If class is fighter/mage, then the first level is the fighter one, and the second the mage one.

 

Luckily, the engine never tricks us here (EG, there is no case whereby the class IDS is CLERIC_THIEF and level1 is thief).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...