Beispiel #1
0
 public int SuperAttack(BattleUnit enemy)
 {
     return(enemy?.SufferedSuperAttack(this, superAttackPower) ?? -1);
 }
Beispiel #2
0
 public virtual int Attack(BattleUnit enemy)
 {
     //return (enemy != null) ? enemy.Injured(this, Power) : -1;
     return(enemy?.Injured(this, Power) ?? -1);
 }