Commit 52377c3f authored by Amiya's avatar Amiya

修复

parent 6511050c
Pipeline #41494 passed with stages
in 2 minutes
No preview for this file type
......@@ -39,13 +39,12 @@ function s.tkcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.filter,1,nil,nil,tp)
end
function s.cfilter(c,g,e,tp)
return c:IsSummonPlayer(1-tp) and g:IsContains(c) and c:IsType(TYPE_EFFECT)
return g:IsContains(c) and c:IsType(TYPE_EFFECT)
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())
end
function s.tktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsSummonPlayer(1-tp) and eg:IsContains(chkc)
and chkc:IsType(TYPE_EFFECT)
if chkc then return eg:IsContains(chkc) and chkc:IsType(TYPE_EFFECT)
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())
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