Difference between revisions of "Spell"

477 bytes added ,  13:30, 5 February 2023
I seem to have found an engine limitation. This is what I have observed.
imported>Egocarib
(I seem to have found an engine limitation. This is what I have observed.)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Spell|Spells]] are the most common means of using or applying [[Magic Effects]]. Spells include actual Spells, Powers, [[Shout]] effects, [[Perk]] effects, Diseases, and Poisons.
[[Spell|Spells]] are the most common means of using or applying [[Magic Effects]]. Spells include actual Spells, Powers, [[Shout]] effects, [[Perk]] effects, Diseases, and Poisons.


[[File:SpellWindow.png]]


==Spell Dialog==
==Spell Dialog==
Line 36: Line 37:
* '''Casting Perk:''' The Perk (if any) that reduces the cost of this spell. Note that setting this doesn't do anything on its own beyond setting the [[SpellHasCastingPerk]] function. You need to set up a ''"Mod Spell Cost, Multiply Value, 0.5"'' entry checking the SpellHasCastingPerk condition in the respective Perk (as is done with the vanilla spell cost reduction perks).
* '''Casting Perk:''' The Perk (if any) that reduces the cost of this spell. Note that setting this doesn't do anything on its own beyond setting the [[SpellHasCastingPerk]] function. You need to set up a ''"Mod Spell Cost, Multiply Value, 0.5"'' entry checking the SpellHasCastingPerk condition in the respective Perk (as is done with the vanilla spell cost reduction perks).
* '''Range:''' The maximum range of this spell, in feet.
* '''Range:''' The maximum range of this spell, in feet.
* '''Disallow Spell Absorb/Reflect:''' Not used.
* '''Disallow Spell Absorb/Reflect:''' Prevents the spell from being absorbed by actors with spell absorption greater than 0%.
* '''Ignore Resistance:''' Whether this spell should ignore any applicable Resistances the target might have.
* '''Ignore Resistance:''' Whether this spell should ignore any applicable Resistances the target might have.
* '''Area Effect Ignores LOS:''' By default, spells can only affect targets that the caster has a line of sight to; line of sight in this context simply means that there is a sufficiently unobstructed line between the caster and the target in '''any''' direction (this includes targets that are behind the caster, for instance). If this option is checked, the line of sight requirement will be ignored, allowing this spell's effects to affect any targets that are in range regardless of any obstacles (trees, walls, people, etc) that would otherwise obstruct the line of sight between a target and the caster.
* '''Area Effect Ignores LOS:''' By default, spells can only affect targets that the caster has a line of sight to; line of sight in this context simply means that there is a sufficiently unobstructed line between the caster and the target in '''any''' direction (this includes targets that are behind the caster, for instance). If this option is checked, the line of sight requirement will be ignored, allowing this spell's effects to affect any targets that are in range regardless of any obstacles (trees, walls, people, etc) that would otherwise obstruct the line of sight between a target and the caster.
Line 45: Line 46:
====Effects====
====Effects====
* '''[[Effect Item|Effect List]]:''' The list of effects that occur when the spell is cast.
* '''[[Effect Item|Effect List]]:''' The list of effects that occur when the spell is cast.
**There appears to be a limit of 15 effects to a spell's effects list. If more than 15 effects are attached to a single spell, the 16th effect onwards may fail to apply regardless of whatever conditions for its application return true. (Currently testing, but appears to be the case...)
* '''Auto Calculate:'''
* '''Auto Calculate:'''
** If checked, the spell's charge time and cost will be automatically calculated based on the effect(s).
** If checked, the spell's charge time and cost will be automatically calculated based on the effect(s).
*** Calculated charge time is the greatest number between all effects in the list.
*** Calculated charge time is the greatest number between all effects in the list, ''including effects which will not be included because their conditions are not met''.
** If unchecked, these values can be set manually.
** If unchecked, these values can be set manually.


22

edits