Commit 7006a054 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c65850100.lua

parent 536375e0
----极简塔防 水晶矿
--极简塔防 水晶矿
function c65850100.initial_effect(c)
c:EnableReviveLimit()
aux.AddLinkProcedure(c,c65850100.matfilter,2,3)
......@@ -38,7 +38,7 @@ function c65850100.matfilter(c)
return c:IsLinkSetCard(0xa35)
end
function c65850100.filter1(c)
return c:IsSetCard(0xa35) and c:IsAbleToDeck()
return c:IsSetCard(0xa35) and c:IsAbleToDeckOrExtraAsCost() and aux.NecroValleyFilter()
end
function c65850100.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65850100.filter1,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,5,nil) end
......@@ -47,9 +47,6 @@ function c65850100.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.HintSelection(g)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_COST)
end
function c65850100.spfilter(c,e,tp)
return c:IsSetCard(0xa35) and c:IsAbleToHand() and c:IsType(TYPE_MONSTER) and aux.NecroValleyFilter()
end
function c65850100.target1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,2) end
Duel.SetTargetPlayer(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