Commit 78892295 authored by Tachibana's avatar Tachibana

eme

parent afe27a11
No preview for this file type
...@@ -41,13 +41,13 @@ function c64800100.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -41,13 +41,13 @@ function c64800100.desop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,1-tp,64800100) Duel.Hint(HINT_CARD,1-tp,64800100)
if op==0 then if op==0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectMatchingCard(tp,nil,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil) local g=Duel.SelectMatchingCard(tp,nil,tp,LOCATION_ONFIELD,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.HintSelection(g) Duel.HintSelection(g)
Duel.Destroy(g,REASON_EFFECT) Duel.Destroy(g,REASON_EFFECT)
end end
else else
Duel.SetLP(tp,Duel.GetLP(tp)-1000) Duel.SendtoDeck(e:GetHandler(),nil,2,REASON_EFFECT)
end end
end end
......
...@@ -3,6 +3,9 @@ local m=81047012 ...@@ -3,6 +3,9 @@ local m=81047012
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua") Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c) function cm.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkType,TYPE_EFFECT),2)
c:EnableReviveLimit()
--special summon --special summon
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0)) e1:SetDescription(aux.Stringid(m,0))
......
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