Commit 5ecf2a29 authored by 花桃白音's avatar 花桃白音

fix 42s

parent eadceba9
...@@ -93,7 +93,7 @@ function c4270003.operation2(e,tp,eg,ep,ev,re,r,rp) ...@@ -93,7 +93,7 @@ function c4270003.operation2(e,tp,eg,ep,ev,re,r,rp)
e3:SetTargetRange(1,0) e3:SetTargetRange(1,0)
e3:SetTarget(aux.TargetBoolFunction(function(c) e3:SetTarget(aux.TargetBoolFunction(function(c)
return (c:IsLocation(LOCATION_DECK) or c:IsLocation(LOCATION_GRAVE)) return (c:IsLocation(LOCATION_DECK) or c:IsLocation(LOCATION_GRAVE))
and not c:IsRace(RACE_BEASTWARRIOR) and c:IsType(TYPE_MONSTER) and not c:IsRace(RACE_BEASTWARRIOR)
end,LOCATION_DECK)) end,LOCATION_DECK))
Duel.RegisterEffect(e3,tp) Duel.RegisterEffect(e3,tp)
end end
......
...@@ -35,7 +35,7 @@ function c4270009.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -35,7 +35,7 @@ function c4270009.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local g = Duel.SelectMatchingCard(tp,c4270009.filter,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,1,nil,tp) local g = Duel.SelectMatchingCard(tp,c4270009.filter,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,1,nil,tp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
if Duel.SelectYesNo(tp,aux.Stringid(4270009,2)) then if Duel.SelectYesNo(tp,aux.Stringid(4270009,2)) then
local g2=Duel.SelectMatchingCard(tp,Card.IsAbleToRemove(),tp,LOCATION_GRAVE,LOCATION_GRAVE,1,2,g) local g2=Duel.SelectMatchingCard(tp,Card.IsAbleToRemove,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,2,g)
g:Merge(g2) g:Merge(g2)
end end
Duel.SetTargetCard(g) Duel.SetTargetCard(g)
......
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