Difference between revisions of "Spell Cost"
adding links
imported>DragoonWraith m (correction) |
imported>DragoonWraith (adding links) |
||
Line 7: | Line 7: | ||
If any of the pieces of the formula are less than 1, 1 is used instead. | If any of the pieces of the formula are less than 1, 1 is used instead. | ||
The game settings fMagicDurMagBaseCostMult, fMagicCostScale, fMagicAreaBaseCostMult, and fMagicRangeTargetCostMult have default values of 0.1, 1.28, 0.15, and 1.5 respectively. | The game settings [[FMagicDurMagBaseCostMult|fMagicDurMagBaseCostMult]], [[FMagicCostScale|fMagicCostScale]], [[FMagicAreaBaseCostMult|fMagicAreaBaseCostMult]], and [[FMagicRangeTargetCostMult|fMagicRangeTargetCostMult]] have default values of 0.1, 1.28, 0.15, and 1.5 respectively. | ||
The actual cost to cast these spells is further modified by the caster's skill in the appropriate school of magic (which itself is modified by the character's Luck): | The actual cost to cast these spells is further modified by the caster's skill in the appropriate school of magic (which itself is modified by the character's Luck): | ||
fMagicCasterSkillCostBase+(fMagicCasterSkillCostMult*(1-((Skill+(0.4*(Luck-50)/100))) | fMagicCasterSkillCostBase+(fMagicCasterSkillCostMult*(1-((Skill+(0.4*(Luck-50)/100))) | ||
The GMST fMagicCasterSkillCostBase defaults to 0.2 and fMagicCasterSkillCostMult defaults to 1.2. | The GMST [[FMagicCasterSkillCostBase|fMagicCasterSkillCostBase]] defaults to 0.2 and [[FMagicCasterSkillCostMult|fMagicCasterSkillCostMult]] defaults to 1.2. | ||
[[Category: Magic]] | [[Category: Magic]] |