Commit fc320357 authored by VanillaSalt's avatar VanillaSalt

fix

parent a2e266ea
...@@ -15,7 +15,6 @@ function c16024176.initial_effect(c) ...@@ -15,7 +15,6 @@ function c16024176.initial_effect(c)
e2:SetDescription(aux.Stringid(16024176,0)) e2:SetDescription(aux.Stringid(16024176,0))
e2:SetCategory(CATEGORY_DRAW+CATEGORY_SPECIAL_SUMMON) e2:SetCategory(CATEGORY_DRAW+CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCode(EVENT_SPSUMMON_SUCCESS) e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetTarget(c16024176.target) e2:SetTarget(c16024176.target)
e2:SetOperation(c16024176.operation) e2:SetOperation(c16024176.operation)
...@@ -45,7 +44,7 @@ function c16024176.hspop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -45,7 +44,7 @@ function c16024176.hspop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c16024176.target(e,tp,eg,ep,ev,re,r,rp,chk) function c16024176.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end if chk==0 then return true end
Duel.SetTargetPlayer(tp) Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(1) Duel.SetTargetParam(1)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1)
......
...@@ -15,7 +15,6 @@ function c16802689.initial_effect(c) ...@@ -15,7 +15,6 @@ function c16802689.initial_effect(c)
e2:SetDescription(aux.Stringid(16802689,0)) e2:SetDescription(aux.Stringid(16802689,0))
e2:SetCategory(CATEGORY_DRAW+CATEGORY_SPECIAL_SUMMON) e2:SetCategory(CATEGORY_DRAW+CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCode(EVENT_SPSUMMON_SUCCESS) e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetTarget(c16802689.target) e2:SetTarget(c16802689.target)
e2:SetOperation(c16802689.operation) e2:SetOperation(c16802689.operation)
...@@ -44,7 +43,7 @@ function c16802689.hspop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -44,7 +43,7 @@ function c16802689.hspop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c16802689.target(e,tp,eg,ep,ev,re,r,rp,chk) function c16802689.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end if chk==0 then return true end
Duel.SetTargetPlayer(tp) Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(1) Duel.SetTargetParam(1)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1)
......
...@@ -15,7 +15,6 @@ function c43413875.initial_effect(c) ...@@ -15,7 +15,6 @@ function c43413875.initial_effect(c)
e2:SetDescription(aux.Stringid(43413875,0)) e2:SetDescription(aux.Stringid(43413875,0))
e2:SetCategory(CATEGORY_DRAW+CATEGORY_SPECIAL_SUMMON) e2:SetCategory(CATEGORY_DRAW+CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCode(EVENT_SPSUMMON_SUCCESS) e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetTarget(c43413875.target) e2:SetTarget(c43413875.target)
e2:SetOperation(c43413875.operation) e2:SetOperation(c43413875.operation)
...@@ -44,7 +43,7 @@ function c43413875.hspop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -44,7 +43,7 @@ function c43413875.hspop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c43413875.target(e,tp,eg,ep,ev,re,r,rp,chk) function c43413875.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end if chk==0 then return true end
Duel.SetTargetPlayer(tp) Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(1) Duel.SetTargetParam(1)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1)
......
...@@ -33,5 +33,7 @@ end ...@@ -33,5 +33,7 @@ end
function c72621670.activate(e,tp,eg,ep,ev,re,r,rp) function c72621670.activate(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(c72621670.tfilter,nil,e) local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(c72621670.tfilter,nil,e)
if g:GetCount()<2 then return end if g:GetCount()<2 then return end
Duel.GetControl(g,tp,PHASE_END+RESET_SELF_TURN,1) local rct=1
if Duel.GetTurnPlayer()~=tp then rct=2 end
Duel.GetControl(g,tp,PHASE_END,rct)
end end
...@@ -15,7 +15,6 @@ function c89818984.initial_effect(c) ...@@ -15,7 +15,6 @@ function c89818984.initial_effect(c)
e2:SetDescription(aux.Stringid(89818984,0)) e2:SetDescription(aux.Stringid(89818984,0))
e2:SetCategory(CATEGORY_DRAW+CATEGORY_SPECIAL_SUMMON) e2:SetCategory(CATEGORY_DRAW+CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCode(EVENT_SPSUMMON_SUCCESS) e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetTarget(c89818984.target) e2:SetTarget(c89818984.target)
e2:SetOperation(c89818984.operation) e2:SetOperation(c89818984.operation)
...@@ -42,7 +41,7 @@ function c89818984.hspop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -42,7 +41,7 @@ function c89818984.hspop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c89818984.target(e,tp,eg,ep,ev,re,r,rp,chk) function c89818984.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end if chk==0 then return true end
Duel.SetTargetPlayer(tp) Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(1) Duel.SetTargetParam(1)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1)
......
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