Commit 22b11455 authored by mercury233's avatar mercury233

update default OnPreBattleBetween

know VampireFräulein and InjectionFairyLily
parent 3f0e0200
......@@ -33,6 +33,9 @@ namespace WindBot.Game.AI
public const int Number39Utopia = 84013237;
public const int UltimayaTzolkin = 1686814;
public const int VampireFräulein = 6039967;
public const int InjectionFairyLily = 79575620;
}
protected DefaultExecutor(GameAI ai, Duel duel)
......@@ -63,6 +66,12 @@ namespace WindBot.Game.AI
if (defender.Id == _CardId.NumberS39UtopiaTheLightning && defender.IsAttack() && !defender.IsDisabled() && defender.HasXyzMaterial(2, _CardId.Number39Utopia))
defender.RealPower = 5000;
if (defender.Id == _CardId.VampireFräulein && !defender.IsDisabled())
defender.RealPower += (Duel.LifePoints[defender.Controller] > 3000) ? 3000 : (Duel.LifePoints[defender.Controller] - 100);
if (defender.Id == _CardId.InjectionFairyLily && !defender.IsDisabled() && Duel.LifePoints[defender.Controller] > 2000)
defender.RealPower += 3000;
}
if (!defender.IsMonsterHasPreventActivationEffectInBattle())
......
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