Commit 27377b9a authored by wyykak's avatar wyykak

静更新

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