Commit 27377b9a authored by wyykak's avatar wyykak

静更新

parent 4bb51fc1
Pipeline #5757 passed with stages
in 24 minutes and 22 seconds
......@@ -51,6 +51,7 @@ function cm.rfilter(c)
return c:IsSetCard(0x1fb3) and c:IsAbleToRemove()
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISCARD)
local tc=Duel.SelectMatchingCard(tp,cm.filter,tp,LOCATION_HAND,0,1,1,c)
if #tc>0 and Duel.SendtoGrave(tc,REASON_DISCARD+REASON_EFFECT)~=0 then
......
--贪欲之罪 阿库娅
local m=12069004
local cm=_G["c"..m]
Duel.LoadScript("c12000000.lua")
Duel.LoadScript("c12069000.lua")
function cm.initial_effect(c)
aux.AddCodeList(c,12069000)
......
......@@ -44,7 +44,7 @@ function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
end
function cm.thfilter(c)
return c:IsCodeListed(12069000) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
return aux.IsCodeListed(c,12069000) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK,0,1,nil) 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