Commit 366c87d4 authored by wind2009's avatar wind2009

Add ガルガルドの屍煉魔

parent 2b8f034a
No preview for this file type
No preview for this file type
...@@ -5,4 +5,5 @@ ...@@ -5,4 +5,5 @@
100200273 100200273
100200274 100200274
100200275 100200275
100200276 100200276
\ No newline at end of file 100238201
\ No newline at end of file
--ガルガルドの屍煉魔
local s,id,o=GetID()
function s.initial_effect(c)
aux.EnablePendulumAttribute(c)
end
...@@ -85,4 +85,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -85,4 +85,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.indtg(e,c) function s.indtg(e,c)
return c:GetSequence()==0 or c:GetSequence()==4 return c:GetSequence()==0 or c:GetSequence()==4
end end
\ No newline at end of file
...@@ -87,4 +87,4 @@ function s.desop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -87,4 +87,4 @@ function s.desop2(e,tp,eg,ep,ev,re,r,rp)
end end
function s.indtg(e,c) function s.indtg(e,c)
return c:GetSequence()==0 or c:GetSequence()==4 return c:GetSequence()==0 or c:GetSequence()==4
end end
\ No newline at end of file
...@@ -104,4 +104,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -104,4 +104,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(c,nil,REASON_EFFECT) Duel.SendtoHand(c,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,c) Duel.ConfirmCards(1-tp,c)
end end
end end
\ No newline at end of file
...@@ -105,4 +105,4 @@ function s.pzop(e,tp,eg,ep,ev,re,r,rp) ...@@ -105,4 +105,4 @@ function s.pzop(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(c,SUMMON_TYPE_RITUAL,tp,tp,false,true,POS_FACEUP) Duel.SpecialSummon(c,SUMMON_TYPE_RITUAL,tp,tp,false,true,POS_FACEUP)
c:CompleteProcedure() c:CompleteProcedure()
end end
end end
\ No newline at end of file
...@@ -88,4 +88,4 @@ function s.cthop(e,tp,eg,ep,ev,re,r,rp) ...@@ -88,4 +88,4 @@ function s.cthop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToChain() then if tc:IsRelateToChain() then
Duel.SendtoHand(tc,nil,REASON_EFFECT) Duel.SendtoHand(tc,nil,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -73,4 +73,4 @@ end ...@@ -73,4 +73,4 @@ end
function s.drop(e,tp,eg,ep,ev,re,r,rp) function s.drop(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM) local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
Duel.Draw(p,d,REASON_EFFECT) Duel.Draw(p,d,REASON_EFFECT)
end end
\ No newline at end of file
...@@ -153,4 +153,4 @@ function s.thop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -153,4 +153,4 @@ function s.thop2(e,tp,eg,ep,ev,re,r,rp)
e2:SetOperation(s.damop) e2:SetOperation(s.damop)
e2:SetLabelObject(e1) e2:SetLabelObject(e1)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
end end
\ No newline at end of file
...@@ -96,4 +96,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -96,4 +96,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.atkval(e,c) function s.atkval(e,c)
return Duel.GetOverlayCount(e:GetHandlerPlayer(),1,1)*200 return Duel.GetOverlayCount(e:GetHandlerPlayer(),1,1)*200
end end
\ No newline at end of file
...@@ -101,4 +101,4 @@ end ...@@ -101,4 +101,4 @@ end
function s.retop(e,tp,eg,ep,ev,re,r,rp) function s.retop(e,tp,eg,ep,ev,re,r,rp)
local tc=e:GetLabelObject() local tc=e:GetLabelObject()
Duel.SendtoHand(tc,1-tp,REASON_EFFECT) Duel.SendtoHand(tc,1-tp,REASON_EFFECT)
end end
\ No newline at end of file
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