Commit b2453980 authored by mercury233's avatar mercury233

fix DragunofRedEyes enum

parent f91fdbcf
using System; using System;
using WindBot.Game.AI.Enums; using WindBot.Game.AI.Enums;
using YGOSharp.OCGWrapper.Enums;
namespace WindBot.Game.AI namespace WindBot.Game.AI
{ {
...@@ -34,7 +35,7 @@ namespace WindBot.Game.AI ...@@ -34,7 +35,7 @@ namespace WindBot.Game.AI
/// </summary> /// </summary>
public static bool IsShouldNotBeTarget(this ClientCard card) public static bool IsShouldNotBeTarget(this ClientCard card)
{ {
return !card.IsDisabled() && Enum.IsDefined(typeof(ShouldNotBeTarget), card.Id); return !card.IsDisabled() && !card.HasType(CardType.Normal) && Enum.IsDefined(typeof(ShouldNotBeTarget), card.Id);
} }
/// <summary> /// <summary>
......
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
DisdainfulBirdofParadise = 27240101, DisdainfulBirdofParadise = 27240101,
DarkestDiabolosLordOfTheLair = 50383626, DarkestDiabolosLordOfTheLair = 50383626,
Blackwing_FullArmoredWing = 54082269, Blackwing_FullArmoredWing = 54082269,
DragunofRedEyes = 37818794 DragunofRedEyes = 37818794,
RedEyesBDragon = 74677422, // sometimes the name of DragunofRedEyes will be changed to RedEyesBDragon
} }
} }
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