Commit d740603b authored by Nemo Ma's avatar Nemo Ma

Update c98910022.lua

parent de9bf820
...@@ -114,7 +114,7 @@ function c98910022.adfilter(c) ...@@ -114,7 +114,7 @@ function c98910022.adfilter(c)
end end
function c98910022.adtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c98910022.adtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE+LOCATION_GRAVE) and chkc:IsControler(tp) and c98910022.adfilter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE+LOCATION_GRAVE) and chkc:IsControler(tp) and c98910022.adfilter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c98910022.adfilter,tp,LOCATION_MZONE+LOCATION_GRAVE,0,1,nil) end if chk==0 then return Duel.IsExistingTarget(c98910022.adfilter,tp,LOCATION_MZONE+LOCATION_GRAVE,0,1,nil) and Duel.IsExistingMatchingCard(Card.IsFaceup,tp,0,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
local g=Duel.SelectTarget(tp,c98910022.adfilter,tp,LOCATION_MZONE+LOCATION_GRAVE,0,1,1,nil) local g=Duel.SelectTarget(tp,c98910022.adfilter,tp,LOCATION_MZONE+LOCATION_GRAVE,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_ATKCHANGE,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_ATKCHANGE,g,1,0,0)
......
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