User Tools

Site Tools


combat-magic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
combat-magic [2021/10/27 20:31]
naaira [Gem Usage]
combat-magic [2023/02/07 18:06] (current)
tlagnoj [Combat Magic Workflow]
Line 1: Line 1:
 ======Combat Magic====== ======Combat Magic======
  
-Battle magic can only be cast during a tactical battle.  These spells have battle effects like inflicting damage, granting increased [[protection]], reducing [[fatigue]], or some similar effect which only makes sense in the context of the battle mechanics.  Battle magic can be scripted into a mage’s list of battle actions using Set battle orders.  If a battle spell requires [[gems]], that mage must have those gems in his inventory before the battle begins. +Battle [[magic]] can only be cast during a tactical battle.  These spells have battle effects like inflicting damage, [[combat summons|summoning units]], granting increased [[protection]], reducing [[fatigue]], or some similar effect which only makes sense in the context of the battle mechanics.  Battle magic can be scripted into a mage’s list of battle actions using Set battle orders.  If a battle spell requires [[gems]], that mage must have those gems in his inventory before the battle begins. 
    
 Some battle spells affect the whole battlefield and are termed [[battle enchantment]]s.  Some of these last the length of the battle.  A battle enchantment is dispelled if its caster dies. Some battle spells affect the whole battlefield and are termed [[battle enchantment]]s.  Some of these last the length of the battle.  A battle enchantment is dispelled if its caster dies.
Line 9: Line 9:
   - The game checks if any potential targets are within range.   - The game checks if any potential targets are within range.
   - The mage's current path level is checked to determine if the mage is able to cast the spell at all.    - The mage's current path level is checked to determine if the mage is able to cast the spell at all. 
-  - If the spell requires [[gems]], those are spent. If the mage has additional gems those may be spent to help cast the spell.+  - If the spell requires [[gems]], those are spent. If the mage has additional gems those may be spent to help cast the spell. The gems are consumed at the point of casting.
   - The casting point for the spell is calculated. It is approximately half the total casting time.   - The casting point for the spell is calculated. It is approximately half the total casting time.
   - If the mage takes damage before the casting point a check is made to determine if the spellcast was interrupted.   - If the mage takes damage before the casting point a check is made to determine if the spellcast was interrupted.
Line 18: Line 18:
 Certain spells have specific requirements to who they can affect. E.g. ??Dust to Dust?? only affects [[undead]] units within range. When attempting to cast a scripted spell, if no available targets are within range the mage will skip casting that spell. Certain spells have specific requirements to who they can affect. E.g. ??Dust to Dust?? only affects [[undead]] units within range. When attempting to cast a scripted spell, if no available targets are within range the mage will skip casting that spell.
  
-When picking a target the mage will generally go for the square with the highest damage potential. This means that units with high hit points per square and no elemental resistances are more likely to be targeted by damage spells than other units.+When picking a target the mage will generally go for the square with the highest damage potential. This means that units with high [[units-attributes#General Attributes|hit points]] per square and no [[elemental resistance|elemental resistances]] are more likely to be targeted by damage spells than other units.
   * Note that the AI will regard units with high amounts of elemental resistance as being immune to spells of that damage type, even when they are clearly not. The AI might refuse to cast elemental damage spells if all possible targets have high elemental resistance.   * Note that the AI will regard units with high amounts of elemental resistance as being immune to spells of that damage type, even when they are clearly not. The AI might refuse to cast elemental damage spells if all possible targets have high elemental resistance.
  
Line 81: Line 81:
 When a spell has been succesfully cast the spell's effect is resolved. Each spell has a [[spell description]] that determines what happens when a spell is cast. When a spell has been succesfully cast the spell's effect is resolved. Each spell has a [[spell description]] that determines what happens when a spell is cast.
 ==== Fatigue ==== ==== Fatigue ====
-Just like attacking in combat, casting spells in battle incurs [[fatigue]].  Each spell has a listed fatigue cost which a caster incurs when casting that spell.  For each skill level in the required path that the mage exceeds the minimum, he incurs 1 / (1 + (mage skill – minimum skill) of the listed spell fatigue.  In other words, having an extra skill level means the mage suffers only ½ fatigue, two extra skill levels means he suffers only 1/3 as much, three extra is ¼, and so forth.  +Just like attacking in combat, casting spells in battle incurs [[fatigue]]. And just like all other units, a mage that reaches **100 fatigue** will pass out. For this reason, fatigue management is very important for spellcasters. It is often the limiting factor in combat, and higher-pathed mages thus have an advantage in that they incur less fatigue. 
- +  Each spell has a listed fatigue cost which a caster incurs when casting that spell.  For each skill level in the required path that the mage exceeds the minimum, he incurs 1 / (1 + (mage skill – minimum skill) of the listed spell fatigue.   
-Spellcasters also incur fatigue equal to their base Encumbrance value + 2 x Encumbrance value of any armor worn for each spell cast.  This is not subject to reduction by skill bonuses.  It is harder to make magical gestures in heavy armor. +      * In other words, having an extra skill level means the mage suffers only half fatigue.  
- +      * Two extra skill levels means he suffers only 1/3 as much
-Finally there is a random component that might increase the fatigue cost of a spell.+      * Three extra is ¼, and so forth.  
 +  Spellcasters also incur fatigue equal to their base [[Encumbrance]] value + 2 x Encumbrance value of any armor worn for each spell cast.  This is not subject to reduction by skill bonuses.  It is harder to make magical gestures in heavy armor. 
 +  Finally there is a random component that might increase the fatigue cost of a spell.
  
 Various factors may affect this basic calculation: Various factors may affect this basic calculation:
Line 92: Line 94:
   * Some effects might incur a fatigue penalty to spellcasters. Most notably Fire spells cost double when cast during a ??Rain??.   * Some effects might incur a fatigue penalty to spellcasters. Most notably Fire spells cost double when cast during a ??Rain??.
  
-Fatigue is very important for spell casters.  It is often the limiting factor in combat, and higher-skill mages thus have an advantage in that they incur less fatigue.  Spells that reduce fatigue, like ??Reinvigoration??, ??Summon Earthpower?? and ??Relief??, can be very useful as well.+{{template>spellfatigue}}
  
-<WRAP box 800px center>==== Spell Fatigue ==== +Spells that reduce fatigue, like ??Reinvigoration??, ??Summon Earthpower?? and ??Relief??, can be very useful as a way of getting mages to cast more spells in combat.
-<WRAP column 120px rightalign>**Spell fatigue:** \\ \\ \\ \\ \\ \\ </WRAP> Spell fatigue cost / (1 + mage's path level - minimum path level required) \\ +
-+/- 10% per scale in [[Scales|Drain]] or [[Scales|Magic]] \\ +
-+ Base [[Encumbrance]] \\ +
-+ 2 x Armor [[Encumbrance]] value \\ +
-+ [[Temperature|Cold]] / [[Temperature|Heat]] penalties \\ +
-+ Other [[fatigue]] modifiers \\ +
-+ a random component +
-</WRAP>+
  
 <WRAP column 35px>{{ :abilities:spell_singer.png?nolink |}}</WRAP>A mage with [[spell singer]] halves the basic fatigue cost of all spells cast by the mage. <WRAP column 35px>{{ :abilities:spell_singer.png?nolink |}}</WRAP>A mage with [[spell singer]] halves the basic fatigue cost of all spells cast by the mage.
 ===== Communions ===== ===== Communions =====
 Joining a communion significantly changes spellcasting in different ways. It boosts the path level of communion masters and spreads the fatigue cost between masters and slaves. Please refer to the [[Communions]] page for an in-depth explanation. Joining a communion significantly changes spellcasting in different ways. It boosts the path level of communion masters and spreads the fatigue cost between masters and slaves. Please refer to the [[Communions]] page for an in-depth explanation.
 +
 +{{template>magicindex}}
combat-magic.1635366693.txt.gz · Last modified: 2021/10/27 20:31 by naaira