Exemple #1
0
 public StatusEffect(uint id, string name, uint flags, uint overwrite, uint tickMs)
 {
     this.id        = (StatusEffectId)id;
     this.name      = name;
     this.flags     = (StatusEffectFlags)flags;
     this.overwrite = (StatusEffectOverwrite)overwrite;
     this.tickMs    = tickMs;
 }
Exemple #2
0
        public StatusEffect(Character owner, StatusEffect effect)
        {
            this.owner     = owner;
            this.source    = owner;
            this.id        = effect.id;
            this.magnitude = effect.magnitude;
            this.tickMs    = effect.tickMs;
            this.duration  = effect.duration;
            this.tier      = effect.tier;
            this.startTime = effect.startTime;
            this.lastTick  = effect.lastTick;

            this.name      = effect.name;
            this.flags     = effect.flags;
            this.overwrite = effect.overwrite;
            this.extra     = effect.extra;
            this.script    = effect.script;
        }
Exemple #3
0
 public void SetOverwritable(byte overwrite)
 {
     this.overwrite = (StatusEffectOverwrite)overwrite;
 }