Esempio n. 1
0
 public EiDamage ConfigHealing(EiCombatData data)
 {
     data.Convert();
     this.damageType = data.damageType;
     this.data       = data;
     return(this);
 }
Esempio n. 2
0
 public EiDamage ConfigHealing(EiCombatData data, EiHealth target)
 {
     data.Convert();
     this.damageType = data.damageType;
     this.data       = data;
     this.target     = target;
     this.damage     = data.flatAmount + target.CurrentHealth * data.currentHealthPercentage + target.MaxHealth * data.maxHealthPercentage;
     return(this);
 }
Esempio n. 3
0
 public EiDamage ConfigDamage(EiCombatData data, EiHealth target)
 {
     this.target = target;
     this.damage = data.flatAmount + target.CurrentHealth * data.currentHealthPercentage + target.MaxHealth * data.maxHealthPercentage;
     return(ConfigDamage(data));
 }
Esempio n. 4
0
 public EiDamage ConfigDamage(EiCombatData data)
 {
     this.damageType = data.damageType;
     this.data       = data;
     return(this);
 }
Esempio n. 5
0
 public virtual void Heal(EiCombatData healData)
 {
     Heal(EiDamage.NewInstance.ConfigHealing(healData, this));
 }
Esempio n. 6
0
 public virtual void Damage(EiCombatData damageData)
 {
     Damage(EiDamage.NewInstance.ConfigDamage(damageData, this));
 }