コード例 #1
0
 public bool CheckDoubleStrike(Fight fight, Character opponent)
 {
     return(fight.CheckIsTurn(unitId));
 }
コード例 #2
0
ファイル: BuffList.cs プロジェクト: Keleonix/Heroes_of_Unity
 public bool CheckDoubleStrike(Fight fight, Character opponent)
 {
     return(fight.SearchByFightId(unitId).FightHealth == fight.SearchByFightId(unitId).GetTotalStat(fight, fight.SearchByFightId(unitId), "Health"));
 }
コード例 #3
0
ファイル: BuffList.cs プロジェクト: Keleonix/Heroes_of_Unity
 public bool CheckConditionalBuff(Fight fight, Character opponent)
 {
     return(fight.CheckAlliedCharacterNSpace(unitId, 2) >= 1);
 }
コード例 #4
0
ファイル: BuffList.cs プロジェクト: Keleonix/Heroes_of_Unity
 public bool CheckConditionalBuff(Fight fight, Character opponent)
 {
     return(fight.SearchByFightId(unitId).FightHealth == fight.SearchByFightId(unitId).GetTotalStat(fight, fight.SearchByFightId(unitId), "Health"));
 }
コード例 #5
0
ファイル: BuffList.cs プロジェクト: Keleonix/Heroes_of_Unity
 public bool CheckNullifyDoubleStrikeOpponent(Fight fight, Character opponent)
 {
     return(true);
 }
コード例 #6
0
ファイル: BuffList.cs プロジェクト: Keleonix/Heroes_of_Unity
 public void ApplyEndOfCombatEffect(Fight fight, Character opponent)
 {
     fight.AddTemporaryBuff(opponent.FightId, new TemporaryCommonAttackDebuff(opponent.FightId));
 }
コード例 #7
0
 public bool CheckValidMovement(Fight fight, int allyFightId)
 {
     return(fight.CheckCanAccessTile(unitId, (fight.SearchByFightId(allyFightId).X + (fight.SearchByFightId(allyFightId).X - fight.SearchByFightId(unitId).X)), fight.SearchByFightId(allyFightId).Y + (fight.SearchByFightId(allyFightId).Y - fight.SearchByFightId(unitId).Y)));
 }
コード例 #8
0
 public bool CheckValidMovement(Fight fight, int allyFightId)
 {
     return(fight.CheckCanAccessTileSupport(unitId, allyFightId, fight.SearchByFightId(allyFightId).X, fight.SearchByFightId(allyFightId).Y) && fight.CheckCanAccessTileSupport(allyFightId, unitId, fight.SearchByFightId(unitId).X, fight.SearchByFightId(unitId).Y));
 }