Commit 18b5f79f authored by POLYMER's avatar POLYMER

fix

parent 6bd0520f
...@@ -63,7 +63,7 @@ function s.desfilter(c) ...@@ -63,7 +63,7 @@ function s.desfilter(c)
return c:IsFaceup() and c:GetAttack()>=0 return c:IsFaceup() and c:GetAttack()>=0
end end
function s.gcheck(g) function s.gcheck(g)
return g:GetSum(Card.GetAttack)<=2100 return g:GetSum(Card.GetAttack)>=2100
end end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -129,12 +129,12 @@ function s.actop(e,tp,eg,ep,ev,re,r,rp) ...@@ -129,12 +129,12 @@ function s.actop(e,tp,eg,ep,ev,re,r,rp)
if Duel.MoveToField(c,tp,tp,LOCATION_SZONE,POS_FACEUP,true) then if Duel.MoveToField(c,tp,tp,LOCATION_SZONE,POS_FACEUP,true) then
local g=Duel.GetMatchingGroup(s.thfilter,tp,LOCATION_DECK,0,nil) local g=Duel.GetMatchingGroup(s.spcfilter,tp,LOCATION_DECK,0,nil)
if #g>0 and Duel.SelectYesNo(tp,aux.Stringid(id,0)) then if g:GetCount()>0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) and Duel.SelectYesNo(tp,aux.Stringid(id,0)) then
local sg=g:Select(tp,1,1,nil) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
Duel.SendtoHand(sg,nil,REASON_EFFECT) local sg=g:Select(tp,1,1,nil)
Duel.ConfirmCards(1-tp,sg) Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
end end
local owner=c:GetOwner() local owner=c:GetOwner()
......
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