示例#1
0
文件: Effect.cs 项目: MRCulpo/RPGCore
 /// <summary>
 /// Construtor com parametro dos estados dos efeitos
 /// </summary>
 /// <param name="_effect"></param>
 public StatesEffect(StatesEffect _effect)
 {
     this.condition = _effect.condition;
     this.effectsRemove = _effect.effectsRemove;
     this.reservedValue = _effect.reservedValue;
     this.value = _effect.value;
     this.cooldownEffects = _effect.cooldownEffects;
     this.c_cooldownEffects = 0f;
     this.instante = _effect.instante;
 }
示例#2
0
 /// <summary>
 /// Construtor com parametro dos estados dos efeitos
 /// </summary>
 /// <param name="_effect"></param>
 public StatesEffect(StatesEffect _effect)
 {
     this.condition         = _effect.condition;
     this.effectsRemove     = _effect.effectsRemove;
     this.reservedValue     = _effect.reservedValue;
     this.value             = _effect.value;
     this.cooldownEffects   = _effect.cooldownEffects;
     this.c_cooldownEffects = 0f;
     this.instante          = _effect.instante;
 }