Commit 4ad32378 authored by nanahira's avatar nanahira

fix

parent b78e03cb
Pipeline #4262 failed with stages
in 1 minute and 30 seconds
......@@ -115,7 +115,7 @@ namespace YGOSharp
public bool IsCanPlayInRule(int hostInfoRule) {
if(hostInfoRule == -233)
return true;
const int cardOt = this.Ot;
int cardOt = this.Ot;
bool allow_ocg = hostInfoRule == 0 || hostInfoRule == 2; // OCG can be used in OCG and OT duels
bool allow_tcg = hostInfoRule == 1 || hostInfoRule == 2; // TCG can be used in TCG and OT duels
bool allow_ccg = hostInfoRule == 0 || hostInfoRule == 4 || hostInfoRule == 2; // CCG can be used in OCG, CCG and OT duels
......
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