Commit 56360ebb authored by songtongtong's avatar songtongtong

辉夜姬月面转化修复

parent 963f0fa6
...@@ -9,11 +9,17 @@ function Kaguya.IsTreasure(c) ...@@ -9,11 +9,17 @@ function Kaguya.IsTreasure(c)
return Senya.check_set(c,"treasure") return Senya.check_set(c,"treasure")
end end
local function KaguyaFilter(c,e,tp) local function KaguyaFilter(c,e,tp,cc)
local ec=e:GetHandler()
local tc=Senya.GetDFCBackSideCard(ec)
local p=c:GetControler() 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 end
local function KaguyaTransformTarget(e,tp,eg,ep,ev,re,r,rp,chk) 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