Show / Hide Table of Contents

Namespace DaggerfallWorkshop.Game.MagicAndEffects.MagicEffects

Classes

AbsorbsSpells

Absorbs spells.

AzurasStarEffect

Azura's Star is a powerful soul trap.

BadReactionsFrom

Lowers chance to hit and armour class when the specific enemy type is closely nearby.

BadRepWith

Lower reaction with selected social groups while item held. Notes:

  • Sources claim that effect persists even when item in wagon, but this is suspect and not consistent with other item effects.
  • Classic allows unusual stacking of variants, e.g. all is exclusive to groups but each group not exclusive with itself.
  • Changed this to work uniformly as per GoodRepWith, which does not allow self-stacking of groups.

BloodRot

BrainFever

CalironsCurse

CastWhenHeld

Cast spell when item held (equipped).

CastWhenStrikes

Cast spell on target when weapon strikes.

CastWhenUsed

Cast spell when item used.

ChameleonNormal

Chameleon - Normal

ChameleonTrue

Chameleon - True

CharmEffect

Charm NOTES: -Spellbook and spellmaker descriptions for charm effect are incorrect in TEXT.RSC. -Charm actually operates just like Pacify Humanoid, but only on enemy classes. -Enemy class will remain pacified permanently until player attacks them (confirmed in classic). -As Duration has no effect in classic, it is intentionally disabled here. This also slightly lowers base cost. -Can enable Duration again later by uncommenting related lines in properties.

Cholera

Chrondiasis

Climbing

Climbing

ComprehendLanguages

Comprehend Languages

ConcealmentEffect

Magical concealment effect base. Provides functionality common to all magical concealment effects (Chameleon/Invisibility/Shadow).

Consumption

ContinuousDamageFatigue

Continuous Damage - Fatigue

ContinuousDamageHealth

Continuous Damage - Health

ContinuousDamageSpellPoints

Continuous Damage - Spell Points

CreateItem

Create Item

CureDisease

Cure - Disease

CureParalyzation

CureParalyzation

CurePoison

Cure - Poison

DamageFatigue

Damage - Fatigue

DamageHealth

Damage - Health

DamageSpellPoints

Damage - Spell Points

Dementia

DetectEffect

Detect effect base. Provides functionality common to detection effects.

DetectEnemy

Detect Enemy

DetectMagic

Detect Magic

DetectTreasure

Detect Treasure

DiseaseEffect

Disease effect base. Does all the heavy lifting for time management, reducing stats, curing, serialization, etc. Child class can just use a custom DiseaseData matrix or override virtuals to do completely their own thing.

Disintegrate

Disintegrate

DispelDaedra

Dispel - Daedra

DispelMagic

Dispel - Magic

DispelUndead

Dispel - Undead

DrainAgility

Drain - Agility

DrainEffect

Drain effect base. Provides functionality common to all Drain effects which vary only by properties and stat. This effect uses an incumbent pattern where future applications of same effect type will only add to total magnitude of first effect of this type. Incumbent drain effect persists indefinitely until player heals stat enough for magnitude to reach 0.

DrainEndurance

Drain - Endurance

DrainIntelligence

Drain - Intelligence

DrainLuck

Drain - Luck

DrainPersonality

Drain - Personality

DrainSpeed

Drain - Speed

DrainStrength

Drain - Strength

DrainWillpower

Drain - Willpower

ElementalResistance

ElementalResistance Fire/Frost/Poison/Shock/Magic multi-effect

EnhancesSkill

Enhances one skill by 15 points. Effect can stack over multiple items.

ExtraSpellPts

Extra spell points.

ExtraWeight

Item weight is increased by multiple times.

FeatherWeight

Item weight is reduced to a low fixed value regardless of original weight.

FortifyAgility

Fortify Attribute - Agility

FortifyEffect

Fortify Attribute effect base. Provides functionality common to all Fortify Attribute effects which vary only by properties and stat.

FortifyEndurance

Fortify Attribute - Endurance

FortifyIntelligence

Fortify Attribute - Intelligence

FortifyLuck

Fortify Attribute - Luck

FortifyPersonality

Fortify Attribute - Personality

FortifySpeed

Fortify Attribute - Speed

FortifyStrength

Fortify Attribute - Strength

FortifyWillpower

Fortify Attribute - Willpower

FreeAction

Free Action.

GoodRepWith

Increase reaction with selected social groups while item held.

HealAgility

Heal - Agility

HealEffect

Heal drain effect base. Looks for an incumbent DrainEffect to heal. NOTE: Does not currently heal attribute loss from disease. Need to confirm if this is allowed in classic.

HealEndurance

Heal - Endurance

HealFatigue

Heal - Fatigue

HealHealth

Heal - Health

HealIntelligence

Heal - Intelligence

HealLuck

Heal - Luck

HealPersonality

Heal - Personality

HealSpeed

Heal - Speed

HealSpellPoints

Heal - Magicka

HealStrength

Heal - Strength

HealthLeech

Remove health when used or if not used frequently enough.

HealWillpower

Heal - Willpower

Identify

Identify - currently just opens a free identify window

ImprovesTalents

Improves natural talents for hearing, athleticism, adrenaline rush.

IncreasedWeightAllowance

Increases carry weight.

IncumbentEffect

Some effects in Daggerfall add to the state an existing like-kind effect (the incumbent) rather than become instantiated as a new effect on the host entity. One example is a drain effect which only adds to the magnitude of incumbent drain for same stat. Another example is an effect which tops up the duration of same effect in progress. This class establishes a base for these incumbent effects to coordinate. NOTES: Unflagged incumbent effects (IsIncumbent == false) do not persist beyond AddState() call. They will never receive a single MagicRound() call and are never saved/loaded. The flagged incumbent (IsIncumbent == true) receives MagicRound() calls and is saved/load as normal.

InvisibilityNormal

Invisibility - Normal

InvisibilityTrue

Invisibility - True

ItemDeteriorates

Item quality degrades by around one condition level per day. Only equipped items lose condition, they do not degrade just sitting in inventory. Item does not degrade while fast travelling, possibly for balance reasons. Classic allows multiples of each side-effect with stacking penalties.

Jumping

Jumping

Leprosy

Levitate

Levitate.

LightNormal

Lock

Lock

LowDamageVs

Lower damage vs enemy types. TODO: Find correct damage reduction amount.

LycanthropyEffect

Stage two curse effect for lycanthropy deployed after stage one infection completed. Handles buffs and other long-running werebeast effects. Note: This effect should only be assigned to player entity by stage one disease effect or classic character import.

LycanthropyEffect.LycanthropeConsoleCommands

LycanthropyInfection

Parent class for both variants of lycanthropy infection to manage infection lifecycle.

MaceOfMolagBalEffect

Used by Mace of Molag Bal to transfer spell points or strength from target to wielder. Can temporarily increase spell points and strength of wielder over their usual maximum value.

MageLight

Creates a soft glow around player based on variant of effect. This is a primarily a demo class for creating a custom effect. Effect is intended to be a simple example without being too trivial. Does not require any serialization. See other effects for examples of how to save effect state.

MasqueOfClavicusEffect

Used by the Masque of Clavicus. Improves all reaction mods.

MehrunesRazorEffect

Used by Mehrunes Razor. Kills target instantly if it does not save vs. magic.

MorphSelf

Morph Self (Lycanthropy)

OghmaInfiniumEffect

Oghma Infinium artifact gives player additional attribute points to distribute.

Open

Open

PacifyEffect

Pacify - Animal/Undead/Humanoid/Daedra

Paralyze

Paralyze

PassiveSpecialsEffect

Uber-effect used to deliver passive special advantages and disadvantages to player. More active specials (e.g. critical strike, disallowed armour types) are handled in related systems. NOTES:

  • This effect is a work in progress and will be added to over time.
  • Could also be assigned to other entities but at this time only using on player.

Plague

PoisonEffect

PotentVs

Increase damage vs enemy types. TODO: Find correct damage increase amount.

RacialOverrideEffect

Allows an effect to override player's racial display information such as race name and portrait. Used for vampirism and lycanthropy and possibly could be used for future racial overrides. Considered a minimal implementation at this time for core game to support vamp/were only. Only intended to be used on player entity. Will be permanent until removed. Only a single racial override incumbent effect can be active on player at one time.

RedDeath

Regenerate

Regenerate

RegensHealth

Regenerate health under specific conditions.

RepairsObjects

Repairs equipped items.

RingOfNamiraEffect

Used by the Ring of Namira. Reflects damage back at an attacker at a cost to the item's durability.

SanguineRoseEffect

Used by the Sanguine Rose. Spawns a Daedroth ally.

ShadowNormal

Shadow - Normal

ShadowTrue

Shadow - True

Shield

Shield

Silence

Silence

Slowfall

Slowfall

SoulBound

Binds a soul to item, increasing enchantment power. Can force other enchantments onto item. Bound soul is released when item breaks and will attack player.

SoulTrap

Soul Trap

SpellAbsorption

Spell Absorption

SpellReflection

Spell Reflection

SpellResistance

Spell Resistance

StomachRot

StrengthensArmor

Adds +5 to armour class in every armor slot. Does not stack with other items of this effect.

SwampRot

Teleport

Teleport

TransferAgility

Transfer - Agility

TransferEffect

Base class for Transfer stat effect classes. Essentially a DrainEffect on target with a HealEffect step for caster.

TransferEndurance

Transfer - Endurance

TransferFatigue

Transfer - Fatigue

TransferHealth

Transfer - Health

TransferIntelligence

Transfer - Intelligence

TransferLuck

Transfer - Luck

TransferPersonality

Transfer - Personality

TransferSpeed

Transfer - Speed

TransferStrength

Transfer - Strength

TransferWillpower

Transfer - Willpower

TyphoidFever

UserTakesDamage

User takes damage while item held. Works like vampire damage from sunlight and holy places but damage is much less (1 HP per 4 minutes). Classic allows multiples of each side-effect with stacking penalties.

VampiricEffect

Vampiric effect at range or on strike.

VampiricFortifyEffect

WORK IN PROGRESS - Not currently implemented by any effects A custom effect unique to Daggerfall Unity. Also a test-case for future effect mod support (e.g. custom text tokens for spellmaker and spellbook). Works like a combined Drain/Fortify effect by draining target and fortifying caster by same amount. The vampiric link is permanent once establised until target dies or caster leaves the area.

VampirismEffect

Stage two curse effect for vampirism deployed after stage one infection completed. Handles buffs and other long-running vampire effects. Note: This effect should only be assigned to player entity by stage one disease effect or classic character import.

VampirismEffect.VampireConsoleCommands

VampirismInfection

Stage one disease effect for vampirism. Handles deployment tasks over three-day infection window. This disease can be cured in the usual way up until it completes. Note: This disease should only be assigned to player entity.

TODO:

  • Clear guild memberships and reset reputations

WabbajackEffect

Used by the Wabbajack artifact staff to change enemies into random monsters.

WaterBreathing

Water Breathing.

WaterWalking

Water Walking.

WeakensArmor

Adds -5 to armour class in every armor slot. Does not stack with other items of this effect.

WereboarInfection

Stage one disease effect for wereboar variant of lycanthropy. This disease can be cured in the usual way up until it completes. Note: This disease should only be assigned to player entity.

WerewolfInfection

Stage one disease effect for werewolf variant of lycanthropy. This disease can be cured in the usual way up until it completes. Note: This disease should only be assigned to player entity.

WitchesPox

WizardFever

WoundRot

YellowFever

Structs

DiseaseEffect.SaveData_v1

DrainEffect.SaveData_v1

FortifyEffect.SaveData_v1

LycanthropyEffect.CustomSaveData_v1

LycanthropyInfection.CustomSaveData_v1

MaceOfMolagBalEffect.CustomSaveData_v1

PoisonEffect.SaveData_v1

PoisonEffect.VariantProperties

Shield.SaveData_v1

Teleport.SaveData_v1

VampiricFortifyEffect.SaveData_v1

VampirismEffect.CustomSaveData_v1

VampirismInfection.CustomSaveData_v1

Enums

BadReactionsFrom.Params

GoodRepWith.Params

HealthLeech.Params

ItemDeteriorates.Params

LowDamageVs.Params

PoisonEffect.PoisonStates

PotentVs.Params

RegensHealth.Params

UserTakesDamage.Params

In This Article
  • Classes
  • Structs
  • Enums
Back to top Generated by DocFX