Commit 7c2f4507 authored by VanillaSalt's avatar VanillaSalt

fix

parent 20185f8a
...@@ -3,7 +3,7 @@ function c19025379.initial_effect(c) ...@@ -3,7 +3,7 @@ function c19025379.initial_effect(c)
c:EnableReviveLimit() c:EnableReviveLimit()
--destroy monster --destroy monster
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(CATEGORY_DESTROY) e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_CHAINING) e1:SetCode(EVENT_CHAINING)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
......
...@@ -58,7 +58,7 @@ function c33453260.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -58,7 +58,7 @@ function c33453260.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.IsExistingTarget(c33453260.filter,tp,0,LOCATION_MZONE,1,nil) end if chk==0 then return Duel.IsExistingTarget(c33453260.filter,tp,0,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP)
local g=Duel.SelectTarget(tp,c33453260.filter,tp,0,LOCATION_MZONE,1,1,nil) local g=Duel.SelectTarget(tp,c33453260.filter,tp,0,LOCATION_MZONE,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_EQUIP,e:GetHandler(),0,0) Duel.SetOperationInfo(0,CATEGORY_EQUIP,e:GetHandler(),1,0,0)
Duel.SetOperationInfo(0,CATEGORY_CONTROL,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_CONTROL,g,1,0,0)
end end
function c33453260.activate(e,tp,eg,ep,ev,re,r,rp) function c33453260.activate(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -10,7 +10,7 @@ function c39260991.initial_effect(c) ...@@ -10,7 +10,7 @@ function c39260991.initial_effect(c)
e1:SetOperation(c39260991.thop) e1:SetOperation(c39260991.thop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c39260991.thfilter(c) function c39260991.filter(c)
return c:IsSetCard(0xce) and c:IsAbleToHand() return c:IsSetCard(0xce) and c:IsAbleToHand()
end end
function c39260991.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function c39260991.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
......
...@@ -30,9 +30,9 @@ function c67381587.poscost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -30,9 +30,9 @@ function c67381587.poscost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToRemoveAsCost() end if chk==0 then return e:GetHandler():IsAbleToRemoveAsCost() end
Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_COST) Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_COST)
end end
function c67381587.posfilter1(c,tp) function c67381587.posfilter1(c)
return c:IsFaceup() and c:IsSetCard(0xcc) and c:IsCanTurnSet() return c:IsFaceup() and c:IsSetCard(0xcc) and c:IsCanTurnSet()
and Duel.IsExistingTarget(c67381587.posfilter2,tp,LOCATION_MZONE,LOCATION_MZONE,1,c) and Duel.IsExistingTarget(c67381587.posfilter2,0,LOCATION_MZONE,LOCATION_MZONE,1,c)
end end
function c67381587.posfilter2(c) function c67381587.posfilter2(c)
return c:IsFaceup() and c:IsCanTurnSet() return c:IsFaceup() and c:IsCanTurnSet()
......
...@@ -42,7 +42,7 @@ function c72621670.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -42,7 +42,7 @@ function c72621670.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst() local tc=g:GetFirst()
while tc do while tc do
if not sg:IsContains(tc) or not Duel.GetControl(tc,tp,PHASE_END,1) then if not sg:IsContains(tc) or not Duel.GetControl(tc,tp,PHASE_END,1) then
if not tc:IsImmuneToEffect(e) and tc:IsAbleToChangeControler() and then if not tc:IsImmuneToEffect(e) and tc:IsAbleToChangeControler() then
Duel.Destroy(tc,REASON_EFFECT) Duel.Destroy(tc,REASON_EFFECT)
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