Commit bdb9528b authored by gg123gg's avatar gg123gg

Update c12070001.lua

parent 3d8294a9
Pipeline #6641 failed with stages
in 38 minutes and 3 seconds
...@@ -9,7 +9,7 @@ function Sr_Farw.cannotspop(e,tp,eg,ep,ev,re,r,rp) ...@@ -9,7 +9,7 @@ function Sr_Farw.cannotspop(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) e1:SetCondition(function(e,tp,eg,ep,ev,re,r,rp)
return eg and eg:IsPreviousLocation(LOCATION_DECK) and eg:IsExists(Sr_Farw.cannotfilter,1,nil) end) return eg and eg:GetFirst():IsPreviousLocation(LOCATION_DECK) and eg:IsExists(Sr_Farw.cannotfilter,1,nil) end)
e1:SetOperation(Sr_Farw.cannotspsummon) e1:SetOperation(Sr_Farw.cannotspsummon)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,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