Wehmut Posted April 18, 2006 Share Posted April 18, 2006 Has anyone in here tried to figure out how potion valuesare calculated? I wonder if it is possible at all. The easy part is that for a given value p the potion effectmagnitude 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 tome. I know that the fMagicCostScale constant figures insome way, probably as an exponent[1]. But where and how? For fMagicCostScale=1, the p of a potion made of the firsteffects 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 Athe player's alchemy skill. For instance, with BaseCost=0.01(this is so you get large values for p) and Q=25 (that is anApprentice's Mortar and Pestle), you get potions with m~=40; d~=158 for A=0m~=119; d~=474 for A=50m~=163; d~=652 for A=100 If you ignore that m and d are rounded ingame, thisresults 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 onlyfMagicCostScale, I can't make any sense of the resultingvalues 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, becausewith fMagicCostScale>1 p no longer grows linearly for growingvalues of A - changing A from 0 to 10 makes much more of adifference than changing A from 90 to 100. So there must bea 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 calculatedas 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.