コード例 #1
0
ファイル: SingleFireM.cs プロジェクト: nealmcc204/devproject
 public override bool Execute(Enemy target)
 {
     bool success = false;
     success = target.ReduceHealth (MediumDamage(), target.GetShield(), AttackElement() );
     target.SetStatus (Status.BURNED);
     return success;
 }
コード例 #2
0
ファイル: SingleEarthL.cs プロジェクト: nealmcc204/devproject
 public override bool Execute(Enemy target)
 {
     bool success = false;
     success = target.ReduceHealth (LargeDamage(), target.GetShield(), AttackElement() );
     if (success) {
         target.SetStatus (Status.DAZED);
     }
     return success;
 }