Магические эффекты

From the CreationKit Wiki
Jump to navigation Jump to search

Magic Effects represent the primary visual and functional effects of a Spell, Enchantment, Potion, Scroll, or Shout. They often receive data (typically a Magnitude and/or Duration) from the Effect Item lists that can be found on those objects.

MagicEffect Fields[edit | edit source]

Base Data[edit | edit source]

  • ID: The form's Editor ID.
  • Name: The name displayed in the Magic Menu's Active Effects window for this Effect (if it has a duration and affects the player).
  • Effect Archetype: The general type of effect; see the list below.
  • Casting Type: Specifies how the caster triggers the effect.
    • Concentration Effects are cast while the button is pressed, and continually drain Magicka while the spell remains in effect.
    • Fire and Forget Effects must charge, then fire when the button is released.
    • Constant Effects behave like an ability and are always active. This only works for Armor or Abilities.
    • All of the effects on a Spell or Enchantment must have the same casting type.
  • Delivery: Specifies how the effect is delivered to the target.
    • Self: Effect is applied to the caster.
    • Contact: Effect is applied to the target by contact (a hit event). This only works for Weapons.
    • Aimed: Effect is attached to a Projectile which is then fired at the crosshairs. If it makes contact with a valid target, the effect is applied.
    • Target Actor: Effect is immediately applied to an Actor in the crosshairs. No projectile is fired.
    • Target Location: Effects is applied to the object/landscape under the crosshairs. No projectile is fired.
    • All of the effects on a Spell or Enchantment must have the same casting type.
  • Magic Skill: The Skill associated with the effect. The skill can modify the Power, Duration, or Cost of the effect, and will accumulate Skill Uses from it.
  • Minimum Skill Level: Only used for NPCs, this is the minimum Skill level necessary to use this effect. This value also governs which level the spell will display as in the user interface. E.g. A value of 25 will display spells using this effect as Apprentice in the magic interface.
  • Assoc. Item 1: The first Associated Item required for this Effect Archetype, if any.
  • Assoc. Item 2: The second Associated Item required for this Effect Archetype, if any.
  • Resist Value: The type of Resistance that applies to this effect.
  • Perk to Apply: The indicated Perk is added to the target for the duration of the spell.
  • Base Cost: The effect's base Magicka or Charge cost. Used as input to a formula that calculates the final cost based on Skill, Perks, and any other applicable factors.
  • Skill Usage Mult: For Spells, a multiplier to the Skill Uses that casting this effect will give the player.

Tapering[edit | edit source]

Taper curves.

These values will cause the effect to continue after its duration has expired.

  • Taper Duration: How long the effect continues.
  • Taper Weight: How strong the effect is at the beginning of the taper duration. For example, a value of 0.5 will make the effect half as strong at the moment the duration expires.
  • Taper Curve: Controls how quickly the effect magnitude decreases during the taper duration. (Negative values cause the effect magnitude to increase.)

Specifically, the magnitude at some taper time (time since the duration expired) is

magnitude = effect magnitude * Taper Weight * (1 - taper time / Taper Duration)Taper Curve

For damage spells, the total damage done during the taper duration is approximately

magnitude = effect magnitude * Taper Weight * Taper Duration / (Taper Curve + 1)

Note that if Taper Curve is less than -1, the spell will be almost invariably fatal, as the total damage fails to converge to a finite value. (A fun experiment: set Taper Duration to several seconds and Taper Curve to -1.1, and make a damage spell with a small magnitude. Nothing will appear to happen for most of the duration, then the target will suddenly drop dead.)

Flags[edit | edit source]

  • Hostile: This Effect is treated as an attack. Only Hostile effects can be resisted.
  • Detrimental: This Effect is applied as a negative value (damage) to the specified Actor Value.
  • Recover: When this Effect expires, the attribute returns to its previous state. Note that for Magicka and Health, this works as follows: If checked, the Maximum and Current values are changed. If unchecked, only current value is affected. Which means that "Ravage Health" and "Fortify Health" has it checked, but Healing potions do not.
  • FX Persist: If checked, the visual effect on the target persists for the entire duration of the Effect. Otherwise, it only plays once.
  • Snap to Navmesh: If checked, the Aimed or Target Location target point will be snapped to the nearest point on the Navmesh. Used for summoned creatures, to make sure they begin in a valid location.
  • No Recast: Not used.
  • No Hit Effect: No visual effects play on the target of this Effect.
  • No Death Dispel: If checked, the effect persists even if the target dies.
  • No Duration: The effect is instantaneous. The Duration field is not available for objects with this effect.
  • No Hit Event: The effect is stealthy; the target does not register a hit event when struck.
  • No Magnitude: The effect is "all or nothing." The Magnitude field is not available for objects with this effect.
  • No Area: The Area field is not available for objects with this effect.
  • Painless: If checked, the target of this effect does not cry out in pain.
  • 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.

Keywords[edit | edit source]

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.

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.

Counter Effects[edit | edit source]

Not used. Spells are now canceled through the Keyword system described above.

Target Conditions[edit | edit source]

If these conditions evaluate to false, the effect will not be applied to the target. Frequently used in conjunction with Keywords to exclude specific types of Actors from the effect.

For Fire and Forget effects: Note that if you put these into the Magic Effect editor, they will be checked only once, on cast, and in the order the effects are added to a spell.

But if you add an Effect to a spell, and add the condition there, it will be checked every second if the duration is longer than instant.

This means that if you for example try to make an effect that doesn't stick if it's already there, you can put the check into the effect's condition window, but if you put it into the spell itself, it will get canceled because it finds itself.

Visual Effects[edit | edit source]

  • Menu Display Object: The visual representation of the spell or effect in the Magic Menu.
  • Casting Art: The art on the hands while preparing to cast.
  • Casting Light: The light on the hands while preparing to cast.
  • Hit Effect Art: The art attached to the target on impact.
  • Hit Shader: The shader attached to the target on impact.
  • Enchant Art: For Enchantments only, this is the art attached to the object.
  • Enchant Shader: For Enchantments only, this is the shader attached to the object.
  • Projectile: The projectile fired by the effect.
  • 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.
  • Image Space Mod: The image space caused by the effect when it is triggered.

Dual Casting[edit | edit source]

Alternate art and scaling to apply to the dualcast version of the effect.

Spellmaking[edit | edit source]

  • Power Affects Magnitude/Duration: Determines whether the Magnitude and/or Duration properties on the Effect Item can be used.
  • Area: If the effect has an area associated with it, it is indicated here. Area is measured in feet, not units.
  • Casting Time: The number of seconds the casting button needs to be held down before the spell can be cast. Usually 0.5 seconds.

Script Effect AI Data[edit | edit source]

  • Score: Determines how likely the AI is to use this Effect. Higher-valued abilities will be used more often.
  • Delay Time: The amount of time that must elapse before the AI will use this Effect again.

Equip Ability[edit | edit source]

An effect to apply to the caster when this effect is equipped.

Sounds[edit | edit source]

  • Draw/Sheathe: The sound that plays when the player draws or sheathes their weapons with this spell in either hand.
  • Charge: For a Fire and Forget spell, this sound plays when the player first presses the button.
  • Ready: For a Fire and Forget spell, this sound plays when the spells reaches its 'Ready' state. Releasing the button at this time will cast the spell.
  • Release: For a Fire and Forget spell, this sound plays when the player releases the button and successfully casts the spell.
  • Cast Loop (Conc.): For a Concentration spell, this sound loops while the button is pressed.
  • On Hit: Sound that plays when this effect is applied to its target.
  • Casting Sound Level: The 'volume' of the Detection Event created by casting this spell.

Magic Item Description[edit | edit source]

A description of the Effect. This description will appear:

  • In the Magic Menu's Active Effects list, whenever this Effect affects the player.
  • In the description of any Spell, Enchantment, Potion, Scroll, or Shout that uses the Effect, unless that item has a description of its own (which overrides any inherited descriptions).

This text field supports three special text replacement tags:

  • <mag>: Magnitude
  • <dur>: Duration
  • <[TEXT]>: Bolds and enlarges the text enclosed in angle brackets <>

Papyrus Scripts[edit | edit source]

Any Papyrus Scripts applied to or by the MagicEffect. These typically extend the ActiveMagicEffect Script.


Effect Archetypes[edit | edit source]

Effect Archetypes are essentially code-based effects that can be triggered by the MagicEffect. These effects occur in addition to any scripted effects that may result from the Papyrus Script on the MagicEffect. The available Effect Archetypes are listed below.

Archetype Assoc. Item(s) Description
Absorb 1: The Actor Value to be absorbed. Usually Health, Magicka, or Stamina. Does up to <MAG> damage to the target's attribute, and restores the caster's attribute by the amount of damage done.
Accum. Magnitude 1: WardPower Linked to ward charging mechanic.
Banish Banishes targets up to level <MAG>.
Bound Weapon 1: The Weapon to create. Creates the specified Weapon, and dispels it when the duration expires or the weapon is sheathed.
Calm Calms Actors up to level <MAG>.
Cloak 1: A spell representing the Cloak's damage effect. While this spell is active, casts the Cloak's damage effect spell on all targets in the area.
Command Summoned Takes control of Summoned Actors up to level <MAG>.
Concussion Not Used
Cure Addiction Not Used
Cure Disease Removes all disease effects from the target.
Cure Paralysis Removes Paralysis on the target.
Cure Poison Removes all poison effects from the target.
Demoralize ??? ???
Detect Life Applies the Detect Life visual effect to all valid targets in range.
Disarm Disarms targets up to level <MAG>.
Disguise ??? ???
Dispel ??? ???
Dual Value Modifier 1: The first value 2: The second value Modifies both Actor Values by <MAG>. In order for the 2nd value to be used, 2nd AV Weight has to be changed 1.
Enhance Weapon ???
Etherealize Causes the targets to become ethereal.
Frenzy Causes the targets to be frenzied.
Guide Creates a trail of Hazard objects from the caster to the nearest quest target. Typically used with the Clairvoyance Hazard.
Invisibility Causes the target to become invisible.
Light 1: The light object to create. Creates the specified light object.
Lock Locks the target.
Open Unlocks the target.
Paralysis Paralyzes the target.
Peak Value Modifier 1: The first value to modify 2: A keyword for effects it does not stack with. If there are two PVMs with the same keyword active at the same time, the one with the lower <mag> will be dispelled automatically?
Rally Increases the confidence of the target, making them less likely to flee.
Reanimate If the target is dead, reanimate them, putting them under the caster's control.
Script 1: [Not Used] Has no effect other than any Papyrus Scripts specified.
Slow Time 1: [Not Used] Slows time for all but the player by the indicated amount (a multiplier, with 1 being normal time).
Soul Trap If the target dies while this effect is active, fills a soul gem carried by the caster.
Spawn Hazard 1: The Hazard to spawn. Creates the specified Hazard object at the target.
Spawn Scripted Ref Not used.
Stagger Staggers the target.
Summon Creature 1. The creature to summon. Summons the specified creature, placing them under the caster's control.
Telekinesis Applies the Telekinesis effect to the target object, allowing the caster to manipulate it at a distance.
Turn Undead Causes the target to flee from the caster.
Value and Parts 1. ??? ???
Value Modifier 1. The value to modify. Modifies the Actor Value by <MAG>. In other words, this is a stacking effect. For a non-stacking effect, use Peak Value Modifier.
Werewolf 1. The Race to transform into. Changes the Caster's race to the specified race.
Werewolf Feed ??? ???