|
|
@@ -34,10 +34,10 @@ public class SelectDigiXrosClass : MonoBehaviourPunCallbacks
|
|
|
{
|
|
|
List<int> maxTrashCountList = new List<int>();
|
|
|
|
|
|
- #region 選択可能トラッシュ枚数を変更する効果
|
|
|
+ #region 驕ク謚槫庄閭ス繝医Λ繝�す繝・譫壽焚繧貞、画峩縺吶k蜉ケ譫�
|
|
|
foreach (Player player in GManager.instance.turnStateMachine.gameContext.Players_ForTurnPlayer)
|
|
|
{
|
|
|
- #region 場のパーマネントの効果
|
|
|
+ #region 蝣エ縺ョ繝代�繝槭ロ繝ウ繝医�蜉ケ譫�
|
|
|
foreach (Permanent permanent in player.GetBattleAreaPermanents())
|
|
|
{
|
|
|
foreach (ICardEffect cardEffect in permanent.EffectList(EffectTiming.None))
|
|
|
@@ -58,7 +58,7 @@ public class SelectDigiXrosClass : MonoBehaviourPunCallbacks
|
|
|
}
|
|
|
#endregion
|
|
|
|
|
|
- #region プレイヤーの効果
|
|
|
+ #region 繝励Ξ繧、繝、繝シ縺ョ蜉ケ譫�
|
|
|
foreach (ICardEffect cardEffect in player.EffectList(EffectTiming.None))
|
|
|
{
|
|
|
if (cardEffect is IAddMaxTrashCountDigiXrosEffect)
|
|
|
@@ -77,7 +77,7 @@ public class SelectDigiXrosClass : MonoBehaviourPunCallbacks
|
|
|
#endregion
|
|
|
}
|
|
|
|
|
|
- #region カード自身の効果
|
|
|
+ #region 繧ォ繝シ繝芽�霄ォ縺ョ蜉ケ譫�
|
|
|
if (card.PermanentOfThisCard() == null)
|
|
|
{
|
|
|
foreach (ICardEffect cardEffect in card.EffectList(EffectTiming.None))
|
|
|
@@ -129,10 +129,10 @@ public class SelectDigiXrosClass : MonoBehaviourPunCallbacks
|
|
|
{
|
|
|
List<int> maxTamerDigivolutionCardsCountList = new List<int>();
|
|
|
|
|
|
- #region 選択可能テイマー進化元枚数を変更する効果
|
|
|
+ #region 驕ク謚槫庄閭ス繝�う繝槭�騾イ蛹門�譫壽焚繧貞、画峩縺吶k蜉ケ譫�
|
|
|
foreach (Player player in GManager.instance.turnStateMachine.gameContext.Players_ForTurnPlayer)
|
|
|
{
|
|
|
- #region 場のパーマネントの効果
|
|
|
+ #region 蝣エ縺ョ繝代�繝槭ロ繝ウ繝医�蜉ケ譫�
|
|
|
foreach (Permanent permanent in player.GetBattleAreaPermanents())
|
|
|
{
|
|
|
foreach (ICardEffect cardEffect in permanent.EffectList(EffectTiming.None))
|
|
|
@@ -153,7 +153,7 @@ public class SelectDigiXrosClass : MonoBehaviourPunCallbacks
|
|
|
}
|
|
|
#endregion
|
|
|
|
|
|
- #region プレイヤーの効果
|
|
|
+ #region 繝励Ξ繧、繝、繝シ縺ョ蜉ケ譫�
|
|
|
foreach (ICardEffect cardEffect in player.EffectList(EffectTiming.None))
|
|
|
{
|
|
|
if (cardEffect is IAddMaxUnderTamerCountDigiXrosEffect)
|
|
|
@@ -172,7 +172,7 @@ public class SelectDigiXrosClass : MonoBehaviourPunCallbacks
|
|
|
#endregion
|
|
|
}
|
|
|
|
|
|
- #region カード自身の効果
|
|
|
+ #region 繧ォ繝シ繝芽�霄ォ縺ョ蜉ケ譫�
|
|
|
if (card.PermanentOfThisCard() == null)
|
|
|
{
|
|
|
foreach (ICardEffect cardEffect in card.EffectList(EffectTiming.None))
|
|
|
@@ -518,7 +518,7 @@ public class SelectDigiXrosClass : MonoBehaviourPunCallbacks
|
|
|
{
|
|
|
GManager.instance.commandText.OpenCommandText($"The opponent is choosing from which area to select {element.selectMessage}.", digiXros: true);
|
|
|
|
|
|
- #region AIモード
|
|
|
+ #region AI繝「繝シ繝�
|
|
|
if (GManager.instance.IsAI)
|
|
|
{
|
|
|
List<int> indexes = new List<int>();
|
|
|
@@ -624,7 +624,7 @@ public class SelectDigiXrosClass : MonoBehaviourPunCallbacks
|
|
|
}
|
|
|
#endregion
|
|
|
|
|
|
- #region 輯elect Battle Area Permanent
|
|
|
+ #region Select Battle Area Permanent
|
|
|
IEnumerator SelectBattleAreaPermanent(DigiXrosCondition digiXrosCondition, DigiXrosConditionElement element, CardSource card)
|
|
|
{
|
|
|
bool CanSelectPermanentCondition(Permanent permanent) => permanent.TopCard.Owner.GetBattleAreaPermanents().Contains(permanent) && CanSelectDigiXros(element, permanent.TopCard, card);
|
|
|
@@ -896,7 +896,7 @@ public class SelectDigiXrosClass : MonoBehaviourPunCallbacks
|
|
|
{
|
|
|
yield return ContinuousController.instance.StartCoroutine(GManager.instance.GetComponent<Effects>().CreateDigiXrosSelectCardEffect(cardSource.PermanentOfThisCard()));
|
|
|
|
|
|
- IPlacePermanentToDigivolutionCards placePermanentToDigivolutionCards = new IPlacePermanentToDigivolutionCards(new List<Permanent[]>() { new Permanent[] { cardSource.PermanentOfThisCard(), card.PermanentOfThisCard() } }, false, null);
|
|
|
+ IPlacePermanentToDigivolutionCards placePermanentToDigivolutionCards = new IPlacePermanentToDigivolutionCards(new List<Permanent[]>() { new Permanent[] { cardSource.PermanentOfThisCard(), card.PermanentOfThisCard() } }, false, null, isDigixros: true);
|
|
|
placePermanentToDigivolutionCards.SetNotShowCards();
|
|
|
yield return ContinuousController.instance.StartCoroutine(placePermanentToDigivolutionCards.PlacePermanentToDigivolutionCards());
|
|
|
}
|
|
|
@@ -927,7 +927,7 @@ public class SelectDigiXrosClass : MonoBehaviourPunCallbacks
|
|
|
}
|
|
|
#endregion
|
|
|
|
|
|
- #region 効果によって進化元を付与(天野ユウ(BT10),シャウトモンX7スペリオルモード(BT12))
|
|
|
+ #region 蜉ケ譫懊↓繧医▲縺ヲ騾イ蛹門�繧剃サ倅ク�(螟ゥ驥弱Θ繧ヲ(BT10),繧キ繝」繧ヲ繝医Δ繝ウX7繧ケ繝壹Μ繧ェ繝ォ繝「繝シ繝�(BT12))
|
|
|
public IEnumerator AddDigivolutiuonCardsByEffect(CardSource card)
|
|
|
{
|
|
|
if (addDigivolutionCardInfos.Count >= 1)
|
|
|
@@ -980,7 +980,7 @@ public class SelectDigiXrosClass : MonoBehaviourPunCallbacks
|
|
|
{
|
|
|
foreach (Permanent digimonPermanent in digimonPermanents)
|
|
|
{
|
|
|
- yield return ContinuousController.instance.StartCoroutine(new IPlacePermanentToDigivolutionCards(new List<Permanent[]>() { new Permanent[] { digimonPermanent, card.PermanentOfThisCard() } }, false, info.cardEffect).PlacePermanentToDigivolutionCards());
|
|
|
+ yield return ContinuousController.instance.StartCoroutine(new IPlacePermanentToDigivolutionCards(new List<Permanent[]>() { new Permanent[] { digimonPermanent, card.PermanentOfThisCard() } }, false, info.cardEffect, isDigixros: true).PlacePermanentToDigivolutionCards());
|
|
|
}
|
|
|
}
|
|
|
|