Commit 259ec551 authored by SherryChaos's avatar SherryChaos

add RuleCode & workaround

parent 31c24e53
......@@ -242,6 +242,7 @@ namespace Percy
public int LScale;
public int RScale;
public int LinkMarker;
public int RuleCode;
public void ConvertLongToSetCode(long value)
{
......
......@@ -16,6 +16,7 @@ namespace MDPro3.Duel.YGOSharp
public int Id;
public int Ot;
public int Alias;
public int RuleCode;
public long Setcode;
public int Type;
......@@ -68,6 +69,7 @@ namespace MDPro3.Duel.YGOSharp
r.Id = Id;
r.Ot = Ot;
r.Alias = Alias;
r.RuleCode = RuleCode;
r.Setcode = Setcode;
r.Type = Type;
r.Level = Level;
......@@ -98,6 +100,7 @@ namespace MDPro3.Duel.YGOSharp
r.Id = Id;
r.Ot = Ot;
r.Alias = Alias;
r.RuleCode = RuleCode;
r.Setcode = Setcode;
r.Type = Type;
r.Level = Level;
......@@ -153,10 +156,14 @@ namespace MDPro3.Duel.YGOSharp
{
Str[ii] = reader.GetString(14 + ii);
}
//TODO
if(Id == 6218705)
{
RuleCode = 13331639;
Alias = 13331639;
}
}
#region Tools
public bool HasType(CardType type)
......
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