Difference between revisions of "Magic Effect"

620 bytes added ,  20:26, 2 October 2023
→‎Keywords: small additional clarification
(→‎Keywords: small additional clarification)
 
(3 intermediate revisions by 3 users not shown)
Line 64: Line 64:
*'''Gory Visuals:''' Not used.
*'''Gory Visuals:''' Not used.
*'''Hide in UI:''' If checked, the Effect is not displayed to the player in the Magic Effects section of the interface, nor will this effect's description be displayed in the spell's concatenated spell-effect description.
*'''Hide in UI:''' If checked, the Effect is not displayed to the player in the Magic Effects section of the interface, nor will this effect's description be displayed in the spell's concatenated spell-effect description.
**If all Magic Effects attached to an Enchantment have this flag checked, the equipment will appear unenchanted and in the case of weapons, not display a charge bar. This is only visual however; the enchantment will still function as intended.
**If all Magic Effects attached to an Enchantment have this flag checked, the enchanted equipment will appear unenchanted and in the case of weapons, not display a charge bar. This is only visual however; the enchantment will still function as intended.


====[[Keywords]]====
====[[Keywords]]====
A list of [[Keywords]] associated with the spell. These Keywords are not applied directly to the target, but can be checked by scripts or used in other ways.
Has one of two mutually exclusive effects, depending on whether the '''Dispel Effects with these Keywords''' checkbox is checked.


The checkbox is all-or-nothing. If any other spell effect on the target has a keyword that matches one of the keywords in this list, it will be dispelled.
If the box is ''unchecked'', the list of [[Keywords]] are associated with the Magic Effect. These Keywords are not applied directly to the target, but can be checked by scripts or used in other ways.
 
If the box is ''checked'', then the list of Keywords indicates Keywords to dispel. If a Spell that is currently active on the target has any Magic Effect that matches ''any'' of the Keywords in the list, the Spell will be dispelled when this Magic Effect is applied.
 
The checkbox is all-or-nothing. The same Magic Effect cannot both have Keywords applied to it and dispel Keywords. However, a Spell can contain two Magic Effects, one of which has Keywords and another that dispels Keywords.


====Counter Effects====
====Counter Effects====
Line 91: Line 95:
*'''Enchant Art:''' For [[Enchantment|Enchantments]] only, this is the art attached to the object.
*'''Enchant Art:''' For [[Enchantment|Enchantments]] only, this is the art attached to the object.
*'''Enchant Shader:''' For [[Enchantment|Enchantments]] only, this is the shader attached to the object.
*'''Enchant Shader:''' For [[Enchantment|Enchantments]] only, this is the shader attached to the object.
*'''[[Projectile]]:''' The [[projectile]] fired by the effect.
*'''[[Projectile]]:''' The [[projectile]] fired by the effect. If multiple effects are attached to a Spell, only the projectile of the first effect will be drawn.
*'''Impact Data Set:''' When the projectile hits an object, the impact data set is used to determine which decals, if any, are applied.
*'''Impact Data Set:''' When the projectile hits an object, the impact data set is used to determine which decals, if any, are applied.
*'''[[Explosion]]:''' The [[explosion]] object created when the projectile hits an object.
*'''[[Explosion]]:''' The [[explosion]] object created when the projectile hits an object.
56

edits