Commit 8d8b75c0 authored by GuGu's avatar GuGu

Update c29056.lua 特召检测

parent d78e15cd
Pipeline #21219 passed with stage
in 1 minute and 19 seconds
......@@ -19,7 +19,7 @@ function c29056.initial_effect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP)
e2:SetCode(EVENT_TO_GRAVE)
e2:SetCountLimit(1,29054)
e2:SetCountLimit(1,29057)
e2:SetCondition(c29056.condition2)
e2:SetTarget(c29056.target2)
e2:SetOperation(c29056.operation2)
......@@ -49,14 +49,14 @@ end
--效果对象:这张卡
function c29056.target1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
--发动操作:特殊召唤这张卡
function c29056.operation1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) then
if c:IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
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