コード例 #1
0
 public void AttackTarget(Creature target)
 {
     OnAttack(target);
     Stealth = false;
     target.OnAttacked(this);
     target.TakeDamage(CalculatedDamage, AttackDamageType, this);
 }
コード例 #2
0
 public void AttackTarget(Creature target)
 {
     OnAttack(target);
     Stealth = false;
     target.OnAttacked(this);
     target.TakeDamage(CalculatedDamage, AttackDamageType, this);
 }