View Full Version: Attribute Limits

ivan >>Programming >>Attribute Limits


Freelance Berzerker- 08-07-2006
Attribute Limits
Hi all, Does anyone know of how the game codes for upper attribute limits for the PC and monsters?

holybanana- 08-23-2006

Currently the maximum attribute given an exp source is proportional to the starting stat. Let's consider ommel cerumen. If you consume Amount units of volume (millilitres) of it, the following code is run: EditExperience(INTELLIGENCE, 500, Amount << 5); EditExperience(WISDOM, 500, Amount << 5); This means that you can increase the base stat by 500%. So for normal players with base int and wis 10 you can get int and wis 60 with cerumen. The speed you approach this maximum is proportional to the last parameter of EditExperience, i.e. Amount * 2^5 = Amount * 32. So if you consume two times as much cerumen, you approach the limit twice as fast (as it should be). A priestess of Silva, on the other hand, has base int 20 and wis 35, so she can get int 120 and wis 210. She gets int 60 by consuming the same amount of ommel cerumen as the player needs for int 30. I think this algorithm quite well models the differences of say, humans and cave bears. The latter are naturally five times as strong and 50% more agile as humans, so after getting the same amount of exp from some source they are still five times as strong and 50% more agile. However, it doesn't realize that the priestess of Silva's base attribute is actually very close to 10, as she's a human, and her maximums should be close to the player's maximums. She has a starting stats larger than the base stats because she has trained vehemently before the game started. This function for calculating exp is thus responsible for producing the inhuman 100+ agilities and dexterities of mistresses and such. :? I'm going to make some corrections to it in the next version.

Freelance Berzerker- 08-23-2006

Thank you so much for that explanation. My curiosity has been satisfied.

dalboz- 08-24-2006

wait, mistresses are HUMAN? :shock:

Freelance Berzerker- 08-24-2006

That's what the man said.

dalboz- 08-25-2006

more like superhuman if you ask me... I guess they'll be less difficult to kill now, right?

Freelance Berzerker- 08-25-2006

I ate them for lunch as it was in the present version.

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.