Commit 78033498 authored by mercury233's avatar mercury233

fix 曇天気スレット

parent aba90c2e
...@@ -38,7 +38,8 @@ function c28806532.tfcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -38,7 +38,8 @@ function c28806532.tfcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c28806532.tfcfilter,1,e:GetHandler(),tp) return eg:IsExists(c28806532.tfcfilter,1,e:GetHandler(),tp)
end end
function c28806532.tffilter(c,tp) function c28806532.tffilter(c,tp)
return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsSetCard(0x109) and not c:IsForbidden() and c:CheckUniqueOnField(tp) return c:IsType(TYPE_SPELL+TYPE_TRAP) and not c:IsType(TYPE_FIELD) and c:IsSetCard(0x109)
and not c:IsForbidden() and c:CheckUniqueOnField(tp)
end end
function c28806532.tftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c28806532.tftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c28806532.tffilter(chkc,tp) end if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c28806532.tffilter(chkc,tp) end
......
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