Commit 4bf96670 authored by Amiya's avatar Amiya

修复

parent 52377c3f
Pipeline #41495 passed with stages
in 2 minutes and 33 seconds
...@@ -39,12 +39,13 @@ function s.tkcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -39,12 +39,13 @@ function s.tkcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.filter,1,nil,nil,tp) return eg:IsExists(s.filter,1,nil,nil,tp)
end end
function s.cfilter(c,g,e,tp) function s.cfilter(c,g,e,tp)
return g:IsContains(c) and c:IsType(TYPE_EFFECT) return g:IsContains(c) and c:IsType(TYPE_EFFECT) and c:IsFaceup()
and Duel.GetLocationCount(1-c:GetControler(),LOCATION_MZONE)>0 and Duel.GetLocationCount(1-c:GetControler(),LOCATION_MZONE)>0
and Duel.IsPlayerCanSpecialSummonMonster(tp,id+o,0,TYPES_TOKEN_MONSTER,0,0,3,RACE_AQUA,ATTRIBUTE_WATER,POS_FACEUP_DEFENSE,1-c:GetControler()) and Duel.IsPlayerCanSpecialSummonMonster(tp,id+o,0,TYPES_TOKEN_MONSTER,0,0,3,RACE_AQUA,ATTRIBUTE_WATER,POS_FACEUP_DEFENSE,1-c:GetControler())
end end
function s.tktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function s.tktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return eg:IsContains(chkc) and chkc:IsType(TYPE_EFFECT) if chkc then return eg:IsContains(chkc) and chkc:IsType(TYPE_EFFECT)
and chkc:IsFaceup() and chkc:IsOnField()
and Duel.GetLocationCount(1-chkc:GetControler(),LOCATION_MZONE)>0 and Duel.GetLocationCount(1-chkc:GetControler(),LOCATION_MZONE)>0
and Duel.IsPlayerCanSpecialSummonMonster(tp,id+o,0,TYPES_TOKEN_MONSTER,0,0,3,RACE_AQUA,ATTRIBUTE_WATER,POS_FACEUP_DEFENSE,1-chkc:GetControler()) and Duel.IsPlayerCanSpecialSummonMonster(tp,id+o,0,TYPES_TOKEN_MONSTER,0,0,3,RACE_AQUA,ATTRIBUTE_WATER,POS_FACEUP_DEFENSE,1-chkc:GetControler())
end 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