Beispiel #1
0
 public Damage(AbilityDataSet damageDataSet, AbilityDataSet damageDataSetEnemy, int idHeroAttack, int idHeroInAttack)
 {
     this.damageDataSet      = damageDataSet;
     this.damageDataSetEnemy = damageDataSetEnemy;
     this.idHeroAttack       = idHeroAttack;
     this.idHeroInAttack     = idHeroInAttack;
 }
Beispiel #2
0
 public Damage(AbilityDataSet damageDataSet, int idHeroAttack = -1, bool init = false)
 {
     this.damageDataSet = damageDataSet;
     this.idHeroAttack  = idHeroAttack;
     if (init)
     {
         InitAbility();
     }
 }
Beispiel #3
0
 public BurstEnergy(AbilityDataSet burstEDataSet, bool init = false)
 {
     particleSystem     = burstEDataSet.effects[0].GetComponent <ParticleSystem>();
     this.burstEDataSet = burstEDataSet;
     if (init)
     {
         InitAbility();
     }
 }
Beispiel #4
0
        public Shield(AbilityDataSet shieldDataSet, bool init = false)
        {
            this.shieldDataSet = shieldDataSet;

            if (init)
            {
                InitAbility();
            }
        }