Commit 2e9329a9 authored by Huangnan's avatar Huangnan

fix

parent 25f9367a
Pipeline #38080 passed with stages
in 36 minutes and 44 seconds
...@@ -43,7 +43,7 @@ function cm.initial_effect(c) ...@@ -43,7 +43,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
--spsummon --spsummon
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(m,2)) e1:SetDescription(aux.Stringid(m,2))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
...@@ -51,7 +51,7 @@ function cm.initial_effect(c) ...@@ -51,7 +51,7 @@ function cm.initial_effect(c)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL+EFFECT_FLAG_NO_TURN_RESET) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL+EFFECT_FLAG_NO_TURN_RESET)
e1:SetCountLimit(1) e1:SetCountLimit(1)
e1:SetCondition(cm.incon) e1:SetCondition(cm.incon)
e1:SetTarget(cm.sptg) --e1:SetTarget(cm.sptg)
e1:SetOperation(cm.spop) e1:SetOperation(cm.spop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
...@@ -93,7 +93,7 @@ function cm.eop(e,tp,eg,ep,ev,re,r,rp) ...@@ -93,7 +93,7 @@ function cm.eop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.spfil(c,e,tp) function cm.spfil(c,e,tp)
return c:IsCode(60001506) and c:IsFacedown() and c:IsCanBeSpecialSummoned(e,0,tp,true,true) return c:IsCode(60001506) and c:IsFacedown() --and c:IsCanBeSpecialSummoned(e,0,tp,true,true)
end end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -21,7 +21,7 @@ function cm.cfil(c) ...@@ -21,7 +21,7 @@ function cm.cfil(c)
return c:IsFaceup() and c:IsCanAddCounter(0x624,1) and c:IsType(TYPE_MONSTER) return c:IsFaceup() and c:IsCanAddCounter(0x624,1) and c:IsType(TYPE_MONSTER)
end end
function cm.mfil(c) function cm.mfil(c)
return c:IsFaceup() and c:IsSetCard(0x5622) and c:IsLevelAbove(5) return c:IsFaceup() and c:IsSetCard(0x3310) and c:IsLevelAbove(5)
end end
function cm.activate(e,tp,eg,ep,ev,re,r,rp) function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
......
...@@ -18,7 +18,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -18,7 +18,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectMatchingCard(tp,Card.IsDiscardable,tp,LOCATION_HAND,0,1,1,e:GetHandler()) local g=Duel.SelectMatchingCard(tp,Card.IsDiscardable,tp,LOCATION_HAND,0,1,1,e:GetHandler())
Duel.SendtoGrave(g,REASON_COST+REASON_DISCARD) Duel.SendtoGrave(g,REASON_COST+REASON_DISCARD)
if Duel.GetOperatedGroup():GetFirst():IsSetCard(0x5622) then e:SetLabel(99) end if Duel.GetOperatedGroup():GetFirst():IsSetCard(0x3310) then e:SetLabel(99) end
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and chkc~=e:GetHandler() end if chkc then return chkc:IsOnField() and chkc~=e:GetHandler() end
......
...@@ -36,7 +36,7 @@ function cm.incon(e) ...@@ -36,7 +36,7 @@ function cm.incon(e)
return Card.GetCounter(e:GetHandler(),0x624)>=1 return Card.GetCounter(e:GetHandler(),0x624)>=1
end end
function cm.spfil(c,e,tp) function cm.spfil(c,e,tp)
return c:IsCode(60001507) and c:IsFacedown() and c:IsCanBeSpecialSummoned(e,0,tp,true,true) return c:IsCode(60001507) and c:IsFacedown() --and c:IsCanBeSpecialSummoned(e,0,tp,true,true)
end end
function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
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