Commit 40a99ecf authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12005018.lua

parent 3667b04d
...@@ -66,7 +66,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -66,7 +66,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(c,REASON_COST+REASON_DISCARD) Duel.SendtoGrave(c,REASON_COST+REASON_DISCARD)
end end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp) function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsReason(REASON_DRAW) and c:IsPreviousLocation(LOCATION_DECK) return not e:GetHandler():IsReason(REASON_DRAW) and e:GetHandler():IsPreviousLocation(LOCATION_DECK)
end end
function cm.filter(c) function cm.filter(c)
return c:IsSetCard(0xfbb) and c:IsType(TYPE_TRAP) and c:IsAbleToHand() return c:IsSetCard(0xfbb) and c:IsType(TYPE_TRAP) and c:IsAbleToHand()
...@@ -127,4 +127,4 @@ function cm.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -127,4 +127,4 @@ function cm.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel.HintSelection(g) Duel.HintSelection(g)
Duel.SendtoGrave(g,REASON_EFFECT) Duel.SendtoGrave(g,REASON_EFFECT)
end end
end end
\ No newline at end of file
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