Commit 98082452 authored by nanahira's avatar nanahira

fix

parent e0cde931
...@@ -812,9 +812,9 @@ function cm.PrismRemoveExtraCostFilter(c) ...@@ -812,9 +812,9 @@ function cm.PrismRemoveExtraCostFilter(c)
return cm.CheckPrism(c) and c:IsAbleToRemoveAsCost() return cm.CheckPrism(c) and c:IsAbleToRemoveAsCost()
end end
function cm.PrismRemoveExtraCost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.PrismRemoveExtraCost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.PrismRemoveExtraCostfilter,tp,LOCATION_EXTRA,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.PrismRemoveExtraCostFilter,tp,LOCATION_EXTRA,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,cm.PrismRemoveExtraCostfilter,tp,LOCATION_EXTRA,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,cm.PrismRemoveExtraCostFilter,tp,LOCATION_EXTRA,0,1,1,nil)
Duel.Remove(g,POS_FACEUP,REASON_COST) Duel.Remove(g,POS_FACEUP,REASON_COST)
end 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