Difference between revisions of "Category:Spell Cost"

56 bytes added ,  21:23, 10 January 2008
changed "effect base cost" to "component base cost" to reduce confusion (I hope)
imported>Skyranger-1
imported>Skyranger-1
(changed "effect base cost" to "component base cost" to reduce confusion (I hope))
Line 41: Line 41:
  Skill Factor = fMagicCasterSkillCostBase + fMagicCasterSkillCostMult * (1 - Effective Skill/100)
  Skill Factor = fMagicCasterSkillCostBase + fMagicCasterSkillCostMult * (1 - Effective Skill/100)
   
   
  Effect Base Cost = Effect Factor * Magnitude Factor * Duration Factor * Area Factor * Range Factor
  Component Base Cost = Effect Factor * Magnitude Factor * Duration Factor * Area Factor * Range Factor
  Effect Casting Cost = Effect Base Cost * Skill Factor
  Component Casting Cost = Component Base Cost * Skill Factor
   
   
  Spell Base Cost = Sum(Effect Base Costs)
  Spell Base Cost = Sum(Component Base Costs)
  Spell Casting Cost = Sum(Effect Casting Costs)
  Spell Casting Cost = Sum(Component Casting Costs)


== Note ==
== Note ==
* If the Effect Casting Cost is less than 1, then it will be treated as 1 instead when calculating Spell Casting Cost.   
* If a Component Casting Cost is less than 1, then it will be treated as 1 instead when calculating Spell Casting Cost.   
* Likewise, if the Effect Base Cost is less than 1, then it will be treated as 1 instead when calculating Spell Base Cost.  This happens in-game only, and NOT in the Construction set, leading to the Construction Set sometimes displaying incorrect mastery levels for spells.   
* Likewise, if a Component Base Cost is less than 1, then it will be treated as 1 instead when calculating Spell Base Cost.  This happens in-game only, and NOT in the Construction set, leading to the Construction Set sometimes displaying incorrect mastery levels for spells.   
* If the spell has "auto-calculate" disabled, then its manually set base cost overrides the normal base cost.  Non-auto-calculated spells are treated as having only one spell effect, with an Effect Base Cost equal to the Spell Base Cost and a magic school that is manually specified in the Construction Set.   
* If the spell has "auto-calculate" disabled, then its manually set base cost overrides the normal base cost.  Non-auto-calculated spells are treated as having only one spell effect, with a Component Base Cost equal to the Spell Base Cost and a magic school that is manually specified in the Construction Set.   
* Spell Base Cost here is the cost in the CS, while Spell Casting Cost is the actual cost the spell requires.  The Mastery level is determined by comparing the Spell Base Cost to the relevant  
* Spell Base Cost here is the cost in the CS, while Spell Casting Cost is the actual cost the spell requires.  The Mastery level is determined by comparing the Spell Base Cost to the relevant [[:Category:Settings|game settings]]:
* A spell's school is determined by the most expensive single effect, not by which school has the most combined cost, so multiple effects from a single school will not help that school "win".  However, if auto-calculate is disabled then spells school is the explicitly specified spell school.   
* A spell's school is determined by the most expensive single effect, not by which school has the most combined cost, so multiple effects from a single school will not help that school "win".  However, if auto-calculate is disabled then spells school is the explicitly specified spell school.   
* Enchantment cost (in Charge) uses the exact same formula, but is not affected by Luck or any skill.   
* Enchantment cost (in Charge) uses the exact same formula, but is not affected by Luck or any skill.   
Anonymous user