Commit e122ed32 authored by xiaoye's avatar xiaoye

Revert "Merge branch 'master' of https://code.moenext.com/mycard/windbot"

This reverts commit 75aa85de, reversing
changes made to 3175207d.
parent 3359b06f
Pipeline #31533 failed with stages
in 58 seconds
...@@ -177,22 +177,6 @@ namespace WindBot.Game.AI.Decks ...@@ -177,22 +177,6 @@ namespace WindBot.Game.AI.Decks
return null; return null;
} }
public override void OnSpSummoned()
{
// not special summoned by chain
if (Duel.GetCurrentSolvingChainCard() == null)
{
foreach (ClientCard card in Duel.LastSummonedCards)
{
if (card.Controller == 0 && card.IsCode(CardId.AlternativeWhiteDragon))
{
AlternativeWhiteDragonSummoned = true;
}
}
}
base.OnSpSummoned();
}
private bool DragonShrineEffect() private bool DragonShrineEffect()
{ {
AI.SelectCard( AI.SelectCard(
...@@ -517,6 +501,7 @@ namespace WindBot.Game.AI.Decks ...@@ -517,6 +501,7 @@ namespace WindBot.Game.AI.Decks
private bool AlternativeWhiteDragonSummon() private bool AlternativeWhiteDragonSummon()
{ {
AlternativeWhiteDragonSummoned = true;
return true; return true;
} }
......
...@@ -237,16 +237,6 @@ namespace WindBot.Game.AI ...@@ -237,16 +237,6 @@ namespace WindBot.Game.AI
return 0; return 0;
} }
/// <summary>
/// Called when card is successfully special summoned.
/// Used on monsters that can only special summoned once per turn.
/// </summary>
public virtual void OnSpSummoned()
{
// For overriding
return;
}
public void SetMain(MainPhase main) public void SetMain(MainPhase main)
{ {
Main = main; Main = main;
......
...@@ -165,15 +165,6 @@ namespace WindBot.Game ...@@ -165,15 +165,6 @@ namespace WindBot.Game
Executor.OnChainSolved(chainIndex); Executor.OnChainSolved(chainIndex);
} }
/// <summary>
/// Called when card is successfully special summoned.
/// Used on monsters that can only special summoned once per turn.
/// </summary>
public void OnSpSummoned()
{
Executor.OnSpSummoned();
}
/// <summary> /// <summary>
/// Called when a chain has been solved. /// Called when a chain has been solved.
/// </summary> /// </summary>
......
...@@ -1971,7 +1971,6 @@ namespace WindBot.Game ...@@ -1971,7 +1971,6 @@ namespace WindBot.Game
card.IsSpecialSummoned = true; card.IsSpecialSummoned = true;
_duel.LastSummonedCards.Add(card); _duel.LastSummonedCards.Add(card);
} }
_ai.OnSpSummoned();
_duel.SummoningCards.Clear(); _duel.SummoningCards.Clear();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment