Esempio n. 1
0
 public void CheckEffectScores(DamageEffectData current)
 {
     fire   = (fire.GetScore() > current.fire.GetScore()) ? fire : current.fire;
     freeze = (freeze.GetScore() > current.freeze.GetScore()) ? freeze : current.freeze;
     shock  = (shock.GetScore() > current.shock.GetScore()) ? shock : current.shock;
     acid   = (acid.GetScore() > current.acid.GetScore()) ? acid : current.acid;
 }
Esempio n. 2
0
    public bool Compare(ElementalDamageEffect other)
    {
        bool same = true;

        if (other.impactDamage != impactDamage || other.damagePerSecond != damagePerSecond || other.persistentEffectChance != persistentEffectChance ||
            other.intensity != intensity || other.initalDuration != initalDuration || other.initalScore != initalScore)
        {
            same = false;
        }

        return(same);
    }