forked from andanteyk/ElectronicObserver
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
解压自带记录文件时转换编码 合并、汉化原版 v2.5.1 更新内容: 新增索敌值计算公式 "新判定式(33)" 增强航空战数据分析 "对空炮火详情"
- Loading branch information
Showing
96 changed files
with
3,930 additions
and
1,174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
using ElectronicObserver.Data.Battle.Phase; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace ElectronicObserver.Data.Battle { | ||
|
||
/// <summary> | ||
/// 基地空襲戦 | ||
/// </summary> | ||
public class BattleBaseAirRaid : BattleDay { | ||
|
||
public override void LoadFromResponse( string apiname, dynamic data ) { | ||
base.LoadFromResponse( apiname, (object)data ); | ||
|
||
AirBattle = new PhaseBaseAirRaid( this, "空袭战" ); | ||
|
||
AirBattle.EmulateBattle( _resultHPs, _attackDamages ); | ||
} | ||
|
||
|
||
public override string APIName { | ||
get { return "api_req_map/next"; } | ||
} | ||
|
||
public override string BattleName { | ||
get { return "基地空袭战"; } | ||
} | ||
|
||
public override BattleData.BattleTypeFlag BattleType { | ||
get { return BattleTypeFlag.Day | BattleTypeFlag.BaseAirRaid; } | ||
} | ||
|
||
public override IEnumerable<Phase.PhaseBase> GetPhases() { | ||
yield return Initial; | ||
yield return Searching; | ||
yield return AirBattle; | ||
} | ||
} | ||
} |
Oops, something went wrong.