Commit 78a443e5 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c81905015.lua

parent 7256d4ec
......@@ -113,7 +113,7 @@ function cm.stcon(e,tp,eg,ep,ev,re,r,rp)
return c:IsPreviousLocation(LOCATION_ONFIELD) and c:IsPreviousPosition(POS_FACEDOWN)
end
function cm.stfilter(c)
return c:IsSetCard(0x596) and c:IsSSetable() and c:IsType(TYPE_SPELL+TYPE_TRAP)
return c:IsSetCard(0x596) and c:IsSSetable() and c:IsType(TYPE_TRAP)
end
function cm.sttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.stfilter,tp,LOCATION_DECK+LOCATION_REMOVED,0,1,nil) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 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