Commit d6a48acd authored by Tachibana's avatar Tachibana

eme

parent 26106ae2
...@@ -38,6 +38,7 @@ function cm.descon(e,tp,eg,ep,ev,re,r,rp) ...@@ -38,6 +38,7 @@ function cm.descon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetLP(tp)<Duel.GetLP(1-tp)+7000 return Duel.GetLP(tp)<Duel.GetLP(1-tp)+7000
end end
function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local g=Duel.GetMatchingGroup(aux.TRUE,tp,0,LOCATION_ONFIELD,nil) local g=Duel.GetMatchingGroup(aux.TRUE,tp,0,LOCATION_ONFIELD,nil)
if chk==0 then return g:GetCount()>0 end if chk==0 then return g:GetCount()>0 end
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,g,g:GetCount(),0,0)
......
--贪欲之罪 阿库娅 --贪欲之罪 阿库娅
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)
...@@ -22,7 +22,7 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -22,7 +22,7 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
local mg1=Duel.GetFusionMaterial(tp,LOCATION_HAND+LOCATION_MZONE):Filter(Card.IsType,nil,TYPE_PENDULUM) local mg1=Duel.GetFusionMaterial(tp,LOCATION_HAND+LOCATION_MZONE):Filter(Card.IsType,nil,TYPE_PENDULUM)
local res=Duel.IsExistingMatchingCard(cm.pffilter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,mg1,nil,chkf) local res=Duel.IsExistingMatchingCard(cm.pffilter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,mg1,nil,chkf)
if not res then if not res then
local ce=Duel.GetFusionMaterial(tp,LOCATION_HAND+LOCATION_MZONE):Filter(Card.IsType,nil,TYPE_PENDULUM) local ce=Duel.GetChainMaterial(tp)
if ce~=nil then if ce~=nil then
local fgroup=ce:GetTarget() local fgroup=ce:GetTarget()
local mg2=fgroup(ce,e,tp) local mg2=fgroup(ce,e,tp)
......
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