Commit d4b39dfd authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c11800075.lua

parent bf6f5e5a
Pipeline #31203 failed with stages
in 9 minutes and 35 seconds
......@@ -17,6 +17,7 @@ function s.initial_effect(c)
e0:SetType(EFFECT_TYPE_IGNITION)
e0:SetRange(LOCATION_PZONE)
e0:SetCountLimit(1,id)
e0:SetCondition(s.recon)
e0:SetTarget(s.retg)
e0:SetOperation(s.reop)
c:RegisterEffect(e0)
......@@ -26,7 +27,7 @@ function s.initial_effect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCode(EVENT_SUMMON_SUCCESS)
e2:SetCountLimit(1,id)
e2:SetCountLimit(1,id+10000)
e2:SetTarget(s.sptg)
e2:SetOperation(s.spop)
c:RegisterEffect(e2)
......@@ -39,6 +40,7 @@ function s.initial_effect(c)
e4:SetRange(LOCATION_GRAVE)
e4:SetProperty(EFFECT_FLAG_CARD_TARGET)
e4:SetCost(aux.bfgcost)
e4:SetCountLimit(1,id+10000)
e4:SetTarget(s.target)
e4:SetOperation(s.operation)
c:RegisterEffect(e4)
......@@ -82,7 +84,7 @@ end
function s.cfilter(c)
return c:IsFaceup() and c:IsRace(RACE_MACHINE)
end
function s.condition(e,tp,eg,ep,ev,re,r,rp)
function s.recon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_MZONE,0,1,nil) and Duel.GetFieldGroup(tp,0,LOCATION_ONFIELD)>Duel.GetFieldGroup(tp,LOCATION_ONFIELD,0)
end
function s.retg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
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