Commit 7e75176c authored by Tachibana's avatar Tachibana

sign out

parent c06f3cda
Pipeline #2951 passed with stages
in 25 minutes and 31 seconds
......@@ -38,8 +38,9 @@ end
function cm.exmfilter(c)
return c:IsLocation(LOCATION_HAND) and c:IsCode(m)
end
function cm.matval(e,c,mg)
return c:IsSetCard(0x3603) and mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
function cm.matval(e,lc,mg,c,tp)
if not lc:IsSetCard(0x3603) then return false,nil end
return true,not mg or mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
end
function cm.effcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_LINK)~=0 and e:GetHandler():GetReasonCard():IsSetCard(0x3603)
......
......@@ -36,8 +36,9 @@ end
function cm.exmfilter(c)
return c:IsLocation(LOCATION_HAND) and c:IsCode(m)
end
function cm.matval(e,c,mg)
return c:IsSetCard(0x3603) and mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
function cm.matval(e,lc,mg,c,tp)
if not lc:IsSetCard(0x3603) then return false,nil end
return true,not mg or mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
end
function cm.effcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_LINK)~=0 and e:GetHandler():GetReasonCard():IsSetCard(0x3603)
......
......@@ -39,8 +39,9 @@ end
function cm.exmfilter(c)
return c:IsLocation(LOCATION_HAND) and c:IsCode(m)
end
function cm.matval(e,c,mg)
return c:IsSetCard(0x3603) and mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
function cm.matval(e,lc,mg,c,tp)
if not lc:IsSetCard(0x3603) then return false,nil end
return true,not mg or mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
end
function cm.effcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_LINK)~=0 and e:GetHandler():GetReasonCard():IsSetCard(0x3603)
......
......@@ -36,8 +36,9 @@ end
function cm.exmfilter(c)
return c:IsLocation(LOCATION_HAND) and c:IsCode(m)
end
function cm.matval(e,c,mg)
return c:IsSetCard(0x3603) and mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
function cm.matval(e,lc,mg,c,tp)
if not lc:IsSetCard(0x3603) then return false,nil end
return true,not mg or mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
end
function cm.effcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_LINK)~=0 and e:GetHandler():GetReasonCard():IsSetCard(0x3603)
......
......@@ -35,8 +35,9 @@ end
function cm.exmfilter(c)
return c:IsLocation(LOCATION_HAND) and c:IsCode(m)
end
function cm.matval(e,c,mg)
return c:IsSetCard(0x3603) and mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
function cm.matval(e,lc,mg,c,tp)
if not lc:IsSetCard(0x3603) then return false,nil end
return true,not mg or mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
end
function cm.effcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_LINK)~=0 and e:GetHandler():GetReasonCard():IsSetCard(0x3603)
......
......@@ -35,8 +35,9 @@ end
function cm.exmfilter(c)
return c:IsLocation(LOCATION_HAND) and c:IsCode(m)
end
function cm.matval(e,c,mg)
return c:IsSetCard(0x3603) and mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
function cm.matval(e,lc,mg,c,tp)
if not lc:IsSetCard(0x3603) then return false,nil end
return true,not mg or mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
end
function cm.effcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_LINK)~=0 and e:GetHandler():GetReasonCard():IsSetCard(0x3603)
......
......@@ -39,8 +39,9 @@ end
function cm.exmfilter(c)
return c:IsLocation(LOCATION_HAND) and c:IsCode(m)
end
function cm.matval(e,c,mg)
return c:IsSetCard(0x3603) and mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
function cm.matval(e,lc,mg,c,tp)
if not lc:IsSetCard(0x3603) then return false,nil end
return true,not mg or mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
end
function cm.effcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_LINK)~=0 and e:GetHandler():GetReasonCard():IsSetCard(0x3603)
......
......@@ -39,8 +39,9 @@ end
function cm.exmfilter(c)
return c:IsLocation(LOCATION_HAND) and c:IsCode(m)
end
function cm.matval(e,c,mg)
return c:IsSetCard(0x3603) and mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
function cm.matval(e,lc,mg,c,tp)
if not lc:IsSetCard(0x3603) then return false,nil end
return true,not mg or mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
end
function cm.effcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_LINK)~=0 and e:GetHandler():GetReasonCard():IsSetCard(0x3603)
......
......@@ -37,8 +37,9 @@ end
function cm.exmfilter(c)
return c:IsLocation(LOCATION_HAND) and c:IsCode(m)
end
function cm.matval(e,c,mg)
return c:IsSetCard(0x3603) and mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
function cm.matval(e,lc,mg,c,tp)
if not lc:IsSetCard(0x3603) then return false,nil end
return true,not mg or mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
end
function cm.effcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_LINK)~=0 and e:GetHandler():GetReasonCard():IsSetCard(0x3603)
......
......@@ -40,8 +40,9 @@ end
function cm.exmfilter(c)
return c:IsLocation(LOCATION_HAND) and c:IsCode(m)
end
function cm.matval(e,c,mg)
return c:IsSetCard(0x3603) and mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
function cm.matval(e,lc,mg,c,tp)
if not lc:IsSetCard(0x3603) then return false,nil end
return true,not mg or mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
end
function cm.effcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_LINK)~=0 and e:GetHandler():GetReasonCard():IsSetCard(0x3603)
......
......@@ -39,8 +39,9 @@ end
function cm.exmfilter(c)
return c:IsLocation(LOCATION_HAND) and c:IsCode(m)
end
function cm.matval(e,c,mg)
return c:IsSetCard(0x3603) and mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
function cm.matval(e,lc,mg,c,tp)
if not lc:IsSetCard(0x3603) then return false,nil end
return true,not mg or mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
end
function cm.effcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_LINK)~=0 and e:GetHandler():GetReasonCard():IsSetCard(0x3603)
......
......@@ -39,8 +39,9 @@ end
function cm.exmfilter(c)
return c:IsLocation(LOCATION_HAND) and c:IsCode(m)
end
function cm.matval(e,c,mg)
return c:IsSetCard(0x3603) and mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
function cm.matval(e,lc,mg,c,tp)
if not lc:IsSetCard(0x3603) then return false,nil end
return true,not mg or mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
end
function cm.effcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_LINK)~=0 and e:GetHandler():GetReasonCard():IsSetCard(0x3603)
......
......@@ -39,8 +39,9 @@ end
function cm.exmfilter(c)
return c:IsLocation(LOCATION_HAND) and c:IsCode(m)
end
function cm.matval(e,c,mg)
return c:IsSetCard(0x3603) and mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
function cm.matval(e,lc,mg,c,tp)
if not lc:IsSetCard(0x3603) then return false,nil end
return true,not mg or mg:IsExists(cm.mfilter,1,nil) and not mg:IsExists(cm.exmfilter,1,nil)
end
function cm.effcon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(r,REASON_LINK)~=0 and e:GetHandler():GetReasonCard():IsSetCard(0x3603)
......
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