Commit 89018434 authored by Tachibana's avatar Tachibana

ybb

parent 89246040
No preview for this file type
expansions/pics/18016021.jpg

56.8 KB | W: | H:

expansions/pics/18016021.jpg

45.8 KB | W: | H:

expansions/pics/18016021.jpg
expansions/pics/18016021.jpg
expansions/pics/18016021.jpg
expansions/pics/18016021.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -65,7 +65,7 @@ function cm.cfilter(c) ...@@ -65,7 +65,7 @@ function cm.cfilter(c)
return c:IsSynchroType(TYPE_SYNCHRO) return c:IsSynchroType(TYPE_SYNCHRO)
end end
function cm.eqtf(c) function cm.eqtf(c)
return bm.c.cpos(c,tcode) and c:IsLocation(mz) return c:GetEquipTarget():IsSetCard(0x364) and c:IsLocation(sz)
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)
if chk==0 then return eg:IsExists(cm.eqtf,1,nil) and Duel.IsExistingMatchingCard(nil,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end if chk==0 then return eg:IsExists(cm.eqtf,1,nil) and Duel.IsExistingMatchingCard(nil,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
......
...@@ -13,7 +13,7 @@ function cm.initial_effect(c) ...@@ -13,7 +13,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_TOHAND) e2:SetCategory(CATEGORY_TOHAND)
e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET) e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetCode(EVENT_FREE_CHAIN) e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_GRAVE) e2:SetRange(LOCATION_GRAVE)
...@@ -42,7 +42,8 @@ function cm.op1(e,tp,eg,ep,ev,re,r,rp) ...@@ -42,7 +42,8 @@ function cm.op1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
local sc=Duel.SelectMatchingCard(tp,cm.tgf11,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil,e,tp):GetFirst() local sc=Duel.SelectMatchingCard(tp,cm.tgf11,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil,e,tp):GetFirst()
if Duel.SpecialSummonStep(sc,0,tp,tp,false,false,POS_FACEUP) and not tc:IsFacedown() and tc:IsRelateToEffect(e) then local cc=Duel.SpecialSummonStep(sc,0,tp,tp,false,false,POS_FACEUP)
if cc and not tc:IsFacedown() and tc:IsRelateToEffect(e) then
local st=0 local st=0
if tc:IsType(TYPE_XYZ) then st=tc:GetRank() if tc:IsType(TYPE_XYZ) then st=tc:GetRank()
else st=tc:GetLevel() end else st=tc:GetLevel() end
...@@ -61,8 +62,8 @@ function cm.op1(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,8 +62,8 @@ function cm.op1(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE)
sc:RegisterEffect(e1) sc:RegisterEffect(e1)
end end
Duel.SpecialSummonComplete()
end end
Duel.SpecialSummonComplete()
end end
--e2 --e2
function cm.tgf2(c,e,tp) function cm.tgf2(c,e,tp)
......
...@@ -8,7 +8,6 @@ function cm.initial_effect(c) ...@@ -8,7 +8,6 @@ function cm.initial_effect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING) e1:SetCode(EVENT_CHAINING)
e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,m)
e1:SetCondition(function(e,tp,eg,ep,ev,re,r,rp)return ep~=tp and re:IsActiveType(TYPE_SPELL+TYPE_TRAP)end) e1:SetCondition(function(e,tp,eg,ep,ev,re,r,rp)return ep~=tp and re:IsActiveType(TYPE_SPELL+TYPE_TRAP)end)
e1:SetTarget(SNNM.FanippetTrapSPTarget(m,1900,700,RACE_ZOMBIE,ATTRIBUTE_LIGHT)) e1:SetTarget(SNNM.FanippetTrapSPTarget(m,1900,700,RACE_ZOMBIE,ATTRIBUTE_LIGHT))
e1:SetOperation(SNNM.FanippetTrapSPOperation(800,m,1900,700,RACE_ZOMBIE,ATTRIBUTE_LIGHT)) e1:SetOperation(SNNM.FanippetTrapSPOperation(800,m,1900,700,RACE_ZOMBIE,ATTRIBUTE_LIGHT))
......
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