Commit 6cba898b authored by VanillaSalt's avatar VanillaSalt

fix

parent 8e2ac5ac
...@@ -26,8 +26,7 @@ function c20513882.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -26,8 +26,7 @@ function c20513882.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then if chk==0 then
if e:GetLabel()~=100 then return false end if e:GetLabel()~=100 then return false end
e:SetLabel(0) e:SetLabel(0)
return Duel.GetLocationCount(tp,LOCATION_MZONE)>-1 return Duel.CheckReleaseGroup(tp,c20513882.cfilter,1,nil,e,tp)
and Duel.CheckReleaseGroup(tp,c20513882.cfilter,1,nil,e,tp)
end end
local g=Duel.SelectReleaseGroup(tp,c20513882.cfilter,1,1,nil,e,tp) local g=Duel.SelectReleaseGroup(tp,c20513882.cfilter,1,1,nil,e,tp)
local rc=g:GetFirst() local rc=g:GetFirst()
......
...@@ -26,6 +26,7 @@ function c81057455.initial_effect(c) ...@@ -26,6 +26,7 @@ function c81057455.initial_effect(c)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_DELAY) e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_DELAY)
e3:SetCode(EVENT_TO_GRAVE) e3:SetCode(EVENT_TO_GRAVE)
e3:SetCountLimit(1,81057455)
e3:SetCondition(c81057455.drcon) e3:SetCondition(c81057455.drcon)
e3:SetTarget(c81057455.drtg) e3:SetTarget(c81057455.drtg)
e3:SetOperation(c81057455.drop) e3:SetOperation(c81057455.drop)
...@@ -64,7 +65,7 @@ end ...@@ -64,7 +65,7 @@ end
function c81057455.posop(e,tp,eg,ep,ev,re,r,rp) function c81057455.posop(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end if not e:GetHandler():IsRelateToEffect(e) then return end
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and Duel.ChangePosition(tc,POS_FACEDOWN_DEFENCE) then if tc:IsRelateToEffect(e) and Duel.ChangePosition(tc,POS_FACEDOWN_DEFENCE)~=0 then
e:GetHandler():AddCounter(0x37,1) e:GetHandler():AddCounter(0x37,1)
end end
end end
......
...@@ -43,6 +43,7 @@ function c82270047.initial_effect(c) ...@@ -43,6 +43,7 @@ function c82270047.initial_effect(c)
e7:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e7:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e7:SetCode(EVENT_TO_GRAVE) e7:SetCode(EVENT_TO_GRAVE)
e7:SetProperty(EFFECT_FLAG_DELAY) e7:SetProperty(EFFECT_FLAG_DELAY)
e7:SetCountLimit(1,82270047)
e7:SetCondition(c82270047.thcon) e7:SetCondition(c82270047.thcon)
e7:SetCost(c82270047.thcost) e7:SetCost(c82270047.thcost)
e7:SetTarget(c82270047.thtg) e7:SetTarget(c82270047.thtg)
......
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