78
71
            set;
71
            set;
72
        }
72
        }
73
 
73
 
 
 
74
        public bool IsCAC
 
 
75
        {
 
 
76
            get;
 
 
77
            set;
 
 
78
        }
 
 
79
 
74
        public bool IsTrap
80
        public bool IsTrap
75
        {
81
        {
76
            get;
82
            get;
...
 
...
 
139
            set;
145
            set;
140
        }
146
        }
141
 
147
 
142
        public EffectCast(EffectEnum EffectType, int SpellId, int CellId, int Value1, int Value2, int Value3, int Chance, int Duration, Fighter Caster,
List<Fighter> Targets, EffectEnum SubEffect = EffectEnum.None, int DamageValue = 0)
148
        public EffectCast(EffectEnum EffectType, int SpellId, int CellId, int Value1, int Value2, int Value3, int Chance, int Duration, Fighter Caster, List<Fighter> Targets, bool IsCAC = false, EffectEnum SubEffect = EffectEnum.None, int DamageValue = 0)
143
        {
149
        {
144
            this.EffectType = EffectType;
150
            this.EffectType = EffectType;
145
            this.SpellId = SpellId;
151
            this.SpellId = SpellId;
...
 
...
 
153
            this.Targets = Targets;
159
            this.Targets = Targets;
154
            this.SubEffect = SubEffect;
160
            this.SubEffect = SubEffect;
155
            this.DamageValue = DamageValue;
161
            this.DamageValue = DamageValue;
 
 
162
            this.IsCAC = IsCAC;
156
        }
163
        }
157
    }
164
    }
158
}
165
}