Class 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.
Inheritance
LycanthropyEffect
Assembly: Assembly-CSharp.dll
Syntax
public class LycanthropyEffect : RacialOverrideEffect, IEntityEffect, IMacroContextProvider
Constructors
|
Improve this Doc
View Source
LycanthropyEffect()
Declaration
public LycanthropyEffect()
Fields
|
Improve this Doc
View Source
LycanthropyCurseKey
Declaration
public const string LycanthropyCurseKey = "Lycanthropy-Curse"
Field Value
Properties
|
Improve this Doc
View Source
CustomRace
Declaration
public override RaceTemplate CustomRace { get; }
Property Value
Overrides
|
Improve this Doc
View Source
InfectionType
Declaration
public LycanthropyTypes InfectionType { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public bool IsTransformed { get; }
Property Value
|
Improve this Doc
View Source
NeedToKill
Declaration
public bool NeedToKill { get; }
Property Value
|
Improve this Doc
View Source
SuppressCrime
Lycanthropes are not tagged with crimes while transformed.
Declaration
public override bool SuppressCrime { get; }
Property Value
Overrides
|
Improve this Doc
View Source
SuppressOptionalCombatVoices
Combat Voices option is suppressed while transformed.
Transformed lycanthropes play custom attack voices on enemy hit.
Declaration
public override bool SuppressOptionalCombatVoices { get; }
Property Value
Overrides
|
Improve this Doc
View Source
SuppressPaperDollBodyAndItems
Lycanthropes only display a custom background while transformed.
Declaration
public override bool SuppressPaperDollBodyAndItems { get; }
Property Value
Overrides
|
Improve this Doc
View Source
SuppressPopulationSpawns
Do not spawn additional population while transformed.
Declaration
public override bool SuppressPopulationSpawns { get; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
ConstantEffect()
Declaration
public override void ConstantEffect()
Overrides
|
Improve this Doc
View Source
CureLycanthropy()
Cure lycanthropy and allow this racial override effect to expire.
Game time is raised by one minute so effect payload expires almost immediately.
Declaration
public void CureLycanthropy()
|
Improve this Doc
View Source
End()
Declaration
public override void End()
Overrides
|
Improve this Doc
View Source
GetCustomHeadImageData(PlayerEntity, out ImageData)
Declaration
public override bool GetCustomHeadImageData(PlayerEntity playerEntity, out ImageData imageDataOut)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetCustomPaperDollBackgroundTexture(PlayerEntity, out Texture2D)
Declaration
public override bool GetCustomPaperDollBackgroundTexture(PlayerEntity playerEntity, out Texture2D textureOut)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetSaveData()
Declaration
public override object GetSaveData()
Returns
Overrides
|
Improve this Doc
View Source
GetSuppressInventory(out String)
Declaration
public override bool GetSuppressInventory(out string suppressInventoryMessage)
Parameters
Type |
Name |
Description |
String |
suppressInventoryMessage |
|
Returns
Overrides
|
Improve this Doc
View Source
GetSuppressTalk(out String)
Declaration
public override bool GetSuppressTalk(out string suppressTalkMessage)
Parameters
Type |
Name |
Description |
String |
suppressTalkMessage |
|
Returns
Overrides
|
Improve this Doc
View Source
MagicRound()
Declaration
public override void MagicRound()
Overrides
|
Improve this Doc
View Source
MorphSelf(Boolean)
Declaration
public virtual void MorphSelf(bool forceMorph = false)
Parameters
Type |
Name |
Description |
Boolean |
forceMorph |
|
|
Improve this Doc
View Source
OnWeaponHitEntity(PlayerEntity, DaggerfallEntity)
Declaration
public override void OnWeaponHitEntity(PlayerEntity playerEntity, DaggerfallEntity targetEntity = null)
Parameters
Overrides
|
Improve this Doc
View Source
RestoreSaveData(Object)
Declaration
public override void RestoreSaveData(object dataIn)
Parameters
Type |
Name |
Description |
Object |
dataIn |
|
Overrides
|
Improve this Doc
View Source
Resume(EntityEffectManager.EffectSaveData_v1, EntityEffectManager, DaggerfallEntityBehaviour)
Declaration
public override void Resume(EntityEffectManager.EffectSaveData_v1 effectData, EntityEffectManager manager, DaggerfallEntityBehaviour caster = null)
Parameters
Overrides
|
Improve this Doc
View Source
SetFPSWeapon(FPSWeapon)
Declaration
public override bool SetFPSWeapon(FPSWeapon target)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
SetProperties()
Declaration
public override void SetProperties()
Overrides
|
Improve this Doc
View Source
Start(EntityEffectManager, DaggerfallEntityBehaviour)
Declaration
public override void Start(EntityEffectManager manager, DaggerfallEntityBehaviour caster = null)
Parameters
Overrides
|
Improve this Doc
View Source
StartQuest(Boolean)
Declaration
public override void StartQuest(bool isCureQuest)
Parameters
Type |
Name |
Description |
Boolean |
isCureQuest |
|
Overrides
|
Improve this Doc
View Source
UpdateSatiation()
Sets lycanthrope need to kill sated from current point in time.
Declaration
public void UpdateSatiation()
Implements