Commit 82d6b946 authored by DailyShana's avatar DailyShana

fix

parent 447fc6fb
...@@ -51,7 +51,7 @@ function c60990740.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,7 +51,7 @@ function c60990740.operation(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c60990740.sdtg(e,tp,eg,ep,ev,re,r,rp,chk) function c60990740.sdtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFieldGroupCount(tp,0,LOCATION_DECK)>2 end if chk==0 then return Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>2 end
end end
function c60990740.sdop(e,tp,eg,ep,ev,re,r,rp) function c60990740.sdop(e,tp,eg,ep,ev,re,r,rp)
Duel.SortDecktop(tp,tp,3) Duel.SortDecktop(tp,tp,3)
......
...@@ -10,6 +10,13 @@ function c67234805.initial_effect(c) ...@@ -10,6 +10,13 @@ function c67234805.initial_effect(c)
--Add counter --Add counter
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetCode(EVENT_CHAINING)
e2:SetRange(LOCATION_SZONE)
e2:SetOperation(aux.chainreg)
c:RegisterEffect(e2)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e2:SetCode(EVENT_CHAIN_SOLVING) e2:SetCode(EVENT_CHAIN_SOLVING)
e2:SetProperty(EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetRange(LOCATION_SZONE) e2:SetRange(LOCATION_SZONE)
...@@ -41,8 +48,7 @@ function c67234805.initial_effect(c) ...@@ -41,8 +48,7 @@ function c67234805.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
function c67234805.ctop(e,tp,eg,ep,ev,re,r,rp) function c67234805.ctop(e,tp,eg,ep,ev,re,r,rp)
local c=re:GetHandler() if re:IsActiveType(TYPE_MONSTER) and e:GetHandler():GetFlagEffect(1)>0 then
if c:IsType(TYPE_MONSTER) then
e:GetHandler():AddCounter(0x16,1) e:GetHandler():AddCounter(0x16,1)
end end
end end
......
...@@ -20,8 +20,8 @@ end ...@@ -20,8 +20,8 @@ end
function c79571449.activate(e,tp,eg,ep,ev,re,r,rp) function c79571449.activate(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)
if Duel.Draw(p,d,REASON_EFFECT)==3 then if Duel.Draw(p,d,REASON_EFFECT)==3 then
Duel.ShuffleHand(tp) Duel.ShuffleHand(p)
Duel.BreakEffect() Duel.BreakEffect()
Duel.DiscardHand(tp,aux.TRUE,2,2,REASON_EFFECT+REASON_DISCARD) Duel.DiscardHand(p,nil,2,2,REASON_EFFECT+REASON_DISCARD)
end 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