Exemplo n.º 1
0
 public EffectBase(EffectBase effect)
 {
     m_id                    = effect.Id;
     m_template              = EffectManager.Instance.GetTemplate(effect.Id);
     m_targets               = effect.Targets;
     m_targetMask            = effect.TargetMask;
     m_delay                 = effect.Delay;
     m_duration              = effect.Duration;
     m_group                 = effect.Group;
     m_random                = effect.Random;
     m_modificator           = effect.Modificator;
     m_trigger               = effect.Trigger;
     m_triggers              = effect.Triggers;
     m_hidden                = effect.Hidden;
     m_zoneSize              = effect.m_zoneSize;
     m_zoneMinSize           = effect.m_zoneMinSize;
     m_zoneShape             = effect.ZoneShape;
     m_zoneMaxEfficiency     = effect.ZoneMaxEfficiency;
     m_zoneEfficiencyPercent = effect.ZoneEfficiencyPercent;
     ParseTargets();
 }
Exemplo n.º 2
0
 public EffectBase(short id, EffectBase effect)
     : this(effect)
 {
     Id = id;
 }