Commit 6bd868dc authored by Tachibana's avatar Tachibana

-

parent c49d026e
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
function c12056022.initial_effect(c) function c12056022.initial_effect(c)
--link summon --link summon
c:EnableReviveLimit() c:EnableReviveLimit()
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0x9fab),2,2) aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0x9fab),2,2)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetProperty(EFFECT_FLAG_DELAY)
...@@ -31,7 +31,7 @@ function c12056022.thcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -31,7 +31,7 @@ function c12056022.thcon(e,tp,eg,ep,ev,re,r,rp)
end end
function c12056022.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c12056022.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroupCount(Card.IsFaceup,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil) local g=Duel.GetMatchingGroupCount(Card.IsFaceup,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
local ct=Duel.GetCounter(tp,LOCATION_ONFIELD,0,0x1fb0) local ct=Duel.GetCounter(tp,LOCATION_ONFIELD,LOCATION_ONFIELD,0x1fb0)
if chk==0 then return Duel.IsPlayerCanDraw(tp,(g+ct)/3) end if chk==0 then return Duel.IsPlayerCanDraw(tp,(g+ct)/3) end
end end
function c12056022.operation(e,tp,eg,ep,ev,re,r,rp) function c12056022.operation(e,tp,eg,ep,ev,re,r,rp)
...@@ -42,7 +42,7 @@ function c12056022.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -42,7 +42,7 @@ function c12056022.operation(e,tp,eg,ep,ev,re,r,rp)
tc=g:GetNext() tc=g:GetNext()
end end
Duel.BreakEffect() Duel.BreakEffect()
ct=Duel.GetCounter(tp,LOCATION_ONFIELD,0,0x1fb0)/3 local ct=Duel.GetCounter(tp,LOCATION_ONFIELD,LOCATION_ONFIELD,0x1fb0)//3
if Duel.Draw(tp,ct,REASON_EFFECT)==0 then return end if Duel.Draw(tp,ct,REASON_EFFECT)==0 then return end
Duel.ShuffleHand(tp) Duel.ShuffleHand(tp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
......
...@@ -47,7 +47,7 @@ function c23000309.initial_effect(c) ...@@ -47,7 +47,7 @@ function c23000309.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
function c23000309.indct(e,re,r,rp) function c23000309.indct(e,re,r,rp)
if bit.band(r,REASON_EFFECT)~=0 then if bit.band(r,REASON_BATTLE+REASON_EFFECT)~=0 then
return 1 return 1
else return 0 end else return 0 end
end 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