This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
combat-magic [2021/10/26 18:13] naaira [Casting Point] |
combat-magic [2022/03/30 21:30] joste [Communions] |
||
---|---|---|---|
Line 7: | Line 7: | ||
===== Combat Magic Workflow ===== | ===== Combat Magic Workflow ===== | ||
When a mage attempts to cast a spell the game goes through a workflow to determine whether the spell is cast. | When a mage attempts to cast a spell the game goes through a workflow to determine whether the spell is cast. | ||
- | - First, the mage's current path level is checked to determine if the mage is able to cast the spell at all. | + | - 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. | ||
- 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 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. | ||
Line 13: | Line 14: | ||
- The effect of a succesful spellcast is resolved. | - The effect of a succesful spellcast is resolved. | ||
- [[Fatigue]] is calculated | - [[Fatigue]] is calculated | ||
+ | |||
+ | ==== Targets in Range ==== | ||
+ | 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. | ||
+ | * 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. | ||
==== Current Path Level ==== | ==== Current Path Level ==== | ||
Line 29: | Line 36: | ||
* A mage may use additional gems to increase his level in that path further, but only for the purposes of reducing the fatigue incurred by spellcasting. For instance, an {{path> | * A mage may use additional gems to increase his level in that path further, but only for the purposes of reducing the fatigue incurred by spellcasting. For instance, an {{path> | ||
+ | {{template> | ||
- | <WRAP box 800px center> | ||
- | <WRAP column 120px rightalign> | ||
- | <WRAP column 120px rightalign> | ||
- | <WRAP column 120px rightalign> | ||
- | <WRAP column 120px rightalign> | ||
- | ------- | ||
- | Current level is the mage's basic path level + path boosts from [[items]], path boosting spells and being in a [[communion]] | ||
- | </ | ||
// | // | ||
* An {{path> | * An {{path> | ||
- | * An {{path>E3}} mage can cast it by spending {{gems> | + | * An {{path>E2}} mage can cast it by spending {{gems> |
* An {{path> | * An {{path> | ||
Line 57: | Line 57: | ||
</ | </ | ||
- | // | + | // |
- | * Among the A2 mages, some will start their second spell right before | + | * Among the {{path>A2}} mages, some will start their second spell right before |
* Others will cast their second spell right after ??Storm?? is up, and thus will be able to cast ??Thunder Strike??. | * Others will cast their second spell right after ??Storm?? is up, and thus will be able to cast ??Thunder Strike??. | ||
- | <WRAP column 35px>{{ : | + | <WRAP column 35px>{{ : |
- | <WRAP column 35px>{{ : | + | <WRAP column 35px>{{ : |
==== Interrupts ==== | ==== Interrupts ==== | ||
- | During the preparation time mentioned in the previous section, the caster can be interrupted | + | During the preparation time mentioned in the previous section, the caster can be interrupted |
- | The chance of being interrupted when damaged | + | The chance of being interrupted when taking damage |
- | + | ||
- | Units with the [[combat caster]] ability are half as likely to be interrupted as a normal unit. [[Mindless]] units are also half as likely to be interrupted as a normal unit would be. | + | |
- | <WRAP box 800px center> | + | <WRAP box 800px center> |
- | <WRAP column 120px rightalign> | + | <WRAP column 120px rightalign> |
- | **/ 2** if [[combat caster]] or [[mindless]] | + | **/ 2** if [[Combat Caster]] or [[Mindless]] |
</ | </ | ||
- | <WRAP column | + | <WRAP group><WRAP column |
+ | <WRAP column 55px centeralign> | ||
==== Spell effect resolution ==== | ==== Spell effect resolution ==== | ||
- | The method for resolving battle magic is very similar to that for missile weapons. Mages have a [[precision]] attribute just like archers do. Spells have a Precision rating, also. For the purposes of calculation these two are added together. Many spells have 100 Precision, intended to make them impossible to miss; unlike with Morale on Mindless | + | When a spell has been succesfully cast the spell' |
+ | ==== Fatigue ==== | ||
+ | Just like attacking in combat, casting spells in battle incurs [[fatigue]]. And just like all other units, | ||
+ | * Each spell has a listed fatigue cost which a caster incurs when casting that spell. | ||
+ | * In other words, having an extra skill level means the mage suffers | ||
+ | * Two extra skill levels means he suffers only 1/3 as much. | ||
+ | * 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. | ||
+ | * Finally there is a random component that might increase the fatigue cost of a spell. | ||
- | Spell range is measured | + | Various factors may affect this basic calculation: |
+ | * Fighting | ||
+ | * Casting in Drain scales adds 10% per scale to the fatigue | ||
+ | * Some effects might incur a fatigue penalty to spellcasters. Most notably Fire spells cost double when cast during a ??Rain??. | ||
- | ==== Fatigue ==== | + | {{template> |
- | Just like attacking in combat, casting spells in battle incurs [[fatigue]]. | + | |
- | + | ||
- | Spell casters also incur fatigue equal to their base Encumbrance value + 2x Encumbrance value of any armor worn for each spell cast. This is not subject to reduction by skill bonuses. | + | |
- | Fatigue is very important for spell casters. | + | Spells that reduce fatigue, like ?? |
- | <WRAP box 800px center> | + | <WRAP column |
- | <WRAP column | + | ===== Communions ===== |
- | + Base [[Encumbrance]] \\ | + | 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. |
- | + 2 x Armor [[Encumbrance]] value \\ | + | |
- | + [[Scales]] modifiers | + | {{template>magicindex}} |
- | </ | + |