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)
c:RegisterEffect(e3)
--spsummon
local e1=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(m,2))
e1:SetDescription(aux.Stringid(m,2))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
......@@ -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:SetCountLimit(1)
e1:SetCondition(cm.incon)
e1:SetTarget(cm.sptg)
--e1:SetTarget(cm.sptg)
e1:SetOperation(cm.spop)
c:RegisterEffect(e1)
end
......@@ -93,7 +93,7 @@ function cm.eop(e,tp,eg,ep,ev,re,r,rp)
end
end
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
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
......@@ -21,7 +21,7 @@ function cm.cfil(c)
return c:IsFaceup() and c:IsCanAddCounter(0x624,1) and c:IsType(TYPE_MONSTER)
end
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
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
......
......@@ -18,7 +18,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectMatchingCard(tp,Card.IsDiscardable,tp,LOCATION_HAND,0,1,1,e:GetHandler())
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
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and chkc~=e:GetHandler() end
......
......@@ -36,7 +36,7 @@ function cm.incon(e)
return Card.GetCounter(e:GetHandler(),0x624)>=1
end
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
function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
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