Sacred:Formulae and Calculators

From SacredWiki
Revision as of 16:53, 22 October 2007 by Shard (talk | contribs)
Jump to navigation Jump to search

Attribute

Initial attribute values are allocated to all characters when they are created. These values are automatically increased by one tenth of their initial value every time a character gains a level.

More formally, defining

L as the current character level;
BV as the Base Value of the attribute (the unmodified value it has at level 1);
AA as the number of Allocated Attribute Points (the number of points you have "spent" on this attribute);
EB as Equipment Bonus (the increase to the attribute due to equipped items); and, finally,
AV as the displayed Actual Value of the attribute

then the formula for calculating the current attribute value is

AV = EB + AA + BV * (1 + (L - 1)/10)

If the displayed Attribute Value is white, this indicates no equipment bonus is in effect. If the displayed value is blue, then at least one item equipped is increasing that attribute.


Spell Damage Formula

Spell Damage Formula includes 3 different sets of parameters:

1) Character dependant paramteres
1.a) L -> Character Level
1.b) M -> Points spent in Mental Regeneration
1.c) R -> Spell level
1.d) T -> Magic Lore bonus
2) Spell dependant parameters: A, B, C, D
3) Class dependant parameters: x, y, z

The formula is

A*[ x*L + y*M + z*( 1 + T/100 ) + 1 ]*R + B*L + C*M + D

It's important to pay attention to the fact that M is the number of points spent in Mental Regeneration. Shard didn't test if M includes equipment's bonus to Mental Regeneration (he tought it would be so), but what is not included in M is Mental Regeneration's base value (the one you would have with no attribute points spent and nothing equipped).

This formula is due to Shard. He calculated the Wood Elf Class' parameters and the Wood Elf Spells' parameters exactly, than, using the Wood Elf Class' parameters he interpolated the formula to find the Spell parameters for every spell of every class (with a negligible error when R is 250). It's possible to find a list of the known parameters on the Spell Damage Formula's Parameters.


Spell Damage Formula: Daemon's Infernal Power

There are only three possible target spells: Blazing Disc, Hell Sphere and Inferna Power itself. The additional fire damage depends, of course, from Infernal Power's level, but to include such (simple) dependency is not important.

Defining:

F, G -> Target spell dependant parameters
K -> Additional fire damage (given by Infernal Power)
R -> Target spell level

Infernal Power adds the following termn to the Spell Damage Formula:

F*K*( R + G)

Example: We want to find how much fire damage is added to Blazing Disc (level 120) if we have Infernal Power (level 195). Infernal Power level 195 means +1000% additional fire damage, so K = 1000. Blazing Disc's level is 120, so R = 120. Now that we have the values for the two variables, we can carry out the counts using the F and G parameters for the Blazing Disc spell.

This formula is due to Shard. It's possible to find a list of the F and G parameters HERE.