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)
Duel.SendtoGrave(c,REASON_COST+REASON_DISCARD)
end
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
function cm.filter(c)
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)
Duel.HintSelection(g)
Duel.SendtoGrave(g,REASON_EFFECT)
end
end
\ No newline at end of file
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