Commit b61b2348 authored by mallu11's avatar mallu11 Committed by GitHub

fix and typo (#1551)

parent d8609cfa
...@@ -91,7 +91,7 @@ end ...@@ -91,7 +91,7 @@ end
function c50907446.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function c50907446.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c50907446.thfilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c50907446.thfilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK+LOCATION_GRAVE) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK+LOCATION_GRAVE)
Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,1,tp,1) Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1)
end end
function c50907446.thop(e,tp,eg,ep,ev,re,r,rp) function c50907446.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
......
...@@ -69,7 +69,7 @@ function c69680031.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -69,7 +69,7 @@ function c69680031.spop(e,tp,eg,ep,ev,re,r,rp)
tc:RegisterEffect(e2) tc:RegisterEffect(e2)
end end
end end
function c69680031.atkcon(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c69680031.atkcon(e,tp,eg,ep,ev,re,r,rp)
local ac=Duel.GetAttacker() local ac=Duel.GetAttacker()
return ac:IsFaceup() and ac:IsControler(tp) and ac:IsSetCard(0x145) return ac:IsFaceup() and ac:IsControler(tp) and ac:IsSetCard(0x145)
end end
......
...@@ -30,7 +30,7 @@ function c84851250.ntcon(e,c,minc) ...@@ -30,7 +30,7 @@ function c84851250.ntcon(e,c,minc)
if c==nil then return true end if c==nil then return true end
local tp=c:GetControler() local tp=c:GetControler()
return minc==0 and c:IsLevelAbove(5) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 return minc==0 and c:IsLevelAbove(5) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)==Duel.GetMatchingGroupCount(c84851250.ntfilter,tp,LOCATION_MZONE,0,1,nil) and Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)==Duel.GetMatchingGroupCount(c84851250.ntfilter,tp,LOCATION_MZONE,0,nil)
end end
function c84851250.damfilter(c) function c84851250.damfilter(c)
return c:IsFaceup() and c:IsSetCard(0xf0) and not c:IsCode(84851250) return c:IsFaceup() and c:IsSetCard(0xf0) and not c:IsCode(84851250)
......
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