Commit da057c58 authored by POLYMER's avatar POLYMER

fix

parent 5cd460d5
......@@ -243,6 +243,7 @@ function s.initial_effect(c)
table.remove(zonet,zoneToRemove[i])
end
zone=zonet[s.roll(1,#zonet)]
Duel.Hint(HINT_ZONE,tp,zone)
end
if zone==nil then zone=0xff end
return _SpecialSummonStep(c,sumt,sump,tp,noc,nol,pos,zone)
......@@ -288,6 +289,7 @@ function s.initial_effect(c)
table.remove(zonet,zoneToRemove[i])
end
zone=zonet[s.roll(1,#zonet)]
Duel.Hint(HINT_ZONE,tp,zone)
end
if min==nil then min=0 end
if zone==nil then zone=0x1f end
......@@ -309,6 +311,7 @@ function s.initial_effect(c)
table.remove(zonet,zoneToRemove[i])
end
zone=zonet[s.roll(1,#zonet)]
Duel.Hint(HINT_ZONE,tp,zone)
end
if min==nil then min=0 end
if zone==nil then zone=0x1f end
......@@ -541,9 +544,7 @@ function s.roll(min,max)
for i=0,10 do
result=result+(ct[g:RandomSelect(2,1):GetFirst()]<<(3*i))
end
g:DeleteGroup()
s.r=result&0xffffffff
s.r=result&0xffffffff
end
min=tonumber(min)
max=tonumber(max)
......@@ -590,7 +591,7 @@ function s.fuop(e,tp,eg,ep,ev,re,r,rp)
local tc=g1:GetFirst()
while tc and fg:GetCount()<6 do
g1:RemoveCard(tc)
if fg:Filter(Card.IsCode,nil,tc:GetCode()):GetCount()==0 then fg:AddCard(Duel.CreateToken(p,tc:GetCode())) end
if fg:Filter(Card.IsCode,nil,tc:GetCode()):GetCount()==0 then fg:AddCard(tc) end
tc=g1:RandomSelect(p,1):GetFirst()
end
if fg:GetCount()==6 then
......
......@@ -2,8 +2,10 @@
local cm,m=GetID()
cm.named_with_Arknight=1
function cm.initial_effect(c)
aux.AddCodeList(c,29065500)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND+LOCATION_GRAVE)
......@@ -84,7 +86,7 @@ function cm.GetCardsInZone(tp,fd)
loc=LOCATION_SZONE
seq=seq-8
end
return Duel.GetFieldCard(p,loc,math.floor(seq+0.5))
return Duel.GetFieldCard(p,loc,seq)
end
function cm.descon(e,tp,eg,ep,ev,re,r,rp)
local fd,tid=e:GetLabel()
......
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