Commit 56360ebb authored by songtongtong's avatar songtongtong

辉夜姬月面转化修复

parent 963f0fa6
Pipeline #23931 passed with stages
in 28 minutes and 9 seconds
......@@ -9,11 +9,17 @@ function Kaguya.IsTreasure(c)
return Senya.check_set(c,"treasure")
end
local function KaguyaFilter(c,e,tp)
local ec=e:GetHandler()
local tc=Senya.GetDFCBackSideCard(ec)
local function KaguyaFilter(c,e,tp,cc)
local p=c:GetControler()
return c:IsFaceup() and c:IsCode(77765001) and tc:CheckEquipTarget(c) and Duel.GetLocationCount(p,LOCATION_SZONE,p)>0
local code=c.dfc_front_side
Duel.DisableActionCheck(true)
local tc=Duel.CreateToken(tp,code)
Duel.DisableActionCheck(false)
if tc then
return c:IsFaceup() and c:IsCode(77765001) and Duel.GetLocationCount(p,LOCATION_SZONE,tp)>0 --and tc:CheckEquipTarget(c)
else
return false
end
end
local function KaguyaTransformTarget(e,tp,eg,ep,ev,re,r,rp,chk)
......
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