protected void EndTargetingPhase() { FightStatus local = FightStatus.local; if (local.currentTurnPlayerId == local.localPlayerId) { if (m_fightMap.IsInTargetingPhase()) { m_fightMap.SetMovementPhase(); } } else { m_fightMap.SetNoInteractionPhase(); } }
private static void RevertFightMapTargetingPhase(FightMap fightMap) { FightStatus local = FightStatus.local; if (local != null && local.currentTurnPlayerId == s_playerCasting.id) { if (fightMap.IsInTargetingPhase()) { fightMap.SetMovementPhase(); } } else { fightMap.EndCurrentPhase(); } }