Commit c445181f authored by Grajade's avatar Grajade

Update c51562805.lua

parent 77dd0d4f
Pipeline #6874 failed with stages
in 44 minutes and 11 seconds
...@@ -6,7 +6,7 @@ function c51562805.initial_effect(c) ...@@ -6,7 +6,7 @@ function c51562805.initial_effect(c)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND) e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,51562805) e1:SetCountLimit(1,51562805)
e1:SetLabel(0) e1:SetLabel(0)
e1:SetCost(c51562805.tscost) e1:SetCost(c51562805.tscost)
e1:SetTarget(c51562805.tstg) e1:SetTarget(c51562805.tstg)
e1:SetOperation(c51562805.tsop) e1:SetOperation(c51562805.tsop)
...@@ -88,6 +88,7 @@ function c51562805.spfilter(c,e,tp,lv1,lv2) ...@@ -88,6 +88,7 @@ function c51562805.spfilter(c,e,tp,lv1,lv2)
or (Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and not c:IsForbidden())) or (Duel.GetLocationCount(tp,LOCATION_SZONE)>0 and not c:IsForbidden()))
end end
function c51562805.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c51562805.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chkc then return false end
if chk==0 then return Duel.IsExistingTarget(c51562805.tfilter1,tp,LOCATION_ONFIELD,0,1,nil,e,tp) end if chk==0 then return Duel.IsExistingTarget(c51562805.tfilter1,tp,LOCATION_ONFIELD,0,1,nil,e,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
local g1=Duel.SelectTarget(tp,c51562805.tfilter1,tp,LOCATION_ONFIELD,0,1,1,nil,e,tp) local g1=Duel.SelectTarget(tp,c51562805.tfilter1,tp,LOCATION_ONFIELD,0,1,1,nil,e,tp)
......
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