Jump to content

Calculating Potion Stats?


Wehmut

Recommended Posts

Has anyone in here tried to figure out how potion values

are calculated? I wonder if it is possible at all.

 

The easy part is that for a given value p the potion effect

magnitude m is (p/4)^0.5, and the effect duration d is m*4.

So we only need to calculate p.

 

Calculating p, however, seems more or less impossible to

me. I know that the fMagicCostScale constant figures in

some way, probably as an exponent[1]. But where and how?

 

For fMagicCostScale=1, the p of a potion made of the first

effects of its ingredients can be calculated as

 

p = (Q*2.5 + A*10) / BaseCost

 

with Q being the Quality of the Mortar and Pestle, and A

the player's alchemy skill. For instance, with BaseCost=0.01

(this is so you get large values for p) and Q=25 (that is an

Apprentice's Mortar and Pestle), you get potions with

 

m~=40; d~=158 for A=0

m~=119; d~=474 for A=50

m~=163; d~=652 for A=100

 

If you ignore that m and d are rounded ingame, this

results in p=6250, p=56250 and p=106250, respectively.

 

But I lack the mathematical background to go from there.

If I set D=25, A=0, BaseCost=0.01 and change only

fMagicCostScale, I can't make any sense of the resulting

values of p:

 

fMagicCostScale=1 --> p=6250 (that's Q*250)

fMagicCostScale=2 --> 529<=p<=540 (that's Q*21,16 to Q*21,6)

fMagicCostScale=3 --> 152<=p<=168 (that's Q*6,08 to Q*6,72)

fMagicCostScale=1.1 --> 4390<=p<=4455 (that's Q*175,6 tp Q*178,2)

 

So what does that tell me?

 

Another thing is that the A*10 part can't be right either, because

with fMagicCostScale>1 p no longer grows linearly for growing

values of A - changing A from 0 to 10 makes much more of a

difference than changing A from 90 to 100. So there must be

a A^(1/fMagicCostScale) in there, or something, mustn't there?

So perhaps it's D^(1/fMagicScale), too?

 

Well, right now I'm lost. Anyone?

 

 

[1] The thing called "Total effect cost", for instance, is calculated

as BaseCost * (Duration / 10) * Magnitude^fMagicCostScale.

For Alchemy, however, neither the "Duration" nor the "Magnitude"

setting seem to have any influence.

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...