Beispiel #1
0
 /// <summary>
 /// Restarts effect running after deserialization. Does not execute a MagicRound() tick.
 /// </summary>
 public virtual void Resume(EntityEffectManager.EffectSaveData_v1 effectData, EntityEffectManager manager, DaggerfallEntityBehaviour caster = null)
 {
     this.manager    = manager;
     this.caster     = caster;
     roundsRemaining = effectData.roundsRemaining;
     chanceSuccess   = effectData.chanceSuccess;
     statMods        = effectData.statMods;
     skillMods       = effectData.skillMods;
 }
 /// <summary>
 /// Restarts effect running after deserialization. Does not execute a MagicRound() tick.
 /// </summary>
 public virtual void Resume(EntityEffectManager.EffectSaveData_v1 effectData, EntityEffectManager manager, DaggerfallEntityBehaviour caster = null)
 {
     this.manager    = manager;
     this.caster     = caster;
     roundsRemaining = effectData.roundsRemaining;
     chanceSuccess   = effectData.chanceSuccess;
     statMods        = effectData.statMods;
     statMaxMods     = (effectData.statMaxMods != null) ? effectData.statMaxMods : new int[DaggerfallStats.Count];
     skillMods       = effectData.skillMods;
     variantCount    = effectData.variantCount;
     currentVariant  = effectData.currentVariant;
     effectEnded     = effectData.effectEnded;
 }