Commit f50dabfa authored by POLYMER's avatar POLYMER

fix

parent 2e0de45b
...@@ -110,7 +110,7 @@ function c11513092.thcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -110,7 +110,7 @@ function c11513092.thcon(e,tp,eg,ep,ev,re,r,rp)
and e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD)
end end
function c11513092.thfilter(c) function c11513092.thfilter(c)
return c:IsRace(RACE_DRAGON) and c:IsAttribute(ATTRIBUTE_DARK) and c:IsAbleToHand() return c:IsRace(RACE_DRAGON) and c:IsAttribute(ATTRIBUTE_DARK) and c:IsSetCard(0x0ff1) and c:IsAbleToHand()
end end
function c11513092.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function c11513092.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c11513092.thfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c11513092.thfilter,tp,LOCATION_DECK,0,1,nil) end
......
...@@ -107,7 +107,7 @@ function c11513093.thcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -107,7 +107,7 @@ function c11513093.thcon(e,tp,eg,ep,ev,re,r,rp)
and e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD)
end end
function c11513093.thfilter(c) function c11513093.thfilter(c)
return c:IsRace(RACE_DRAGON) and c:IsAttribute(ATTRIBUTE_LIGHT) and c:IsAbleToHand() return c:IsRace(RACE_DRAGON) and c:IsAttribute(ATTRIBUTE_DARK) and c:IsSetCard(0x0ff1) and c:IsAbleToHand()
end end
function c11513093.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function c11513093.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c11513093.thfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c11513093.thfilter,tp,LOCATION_DECK,0,1,nil) end
......
...@@ -109,11 +109,8 @@ function c11561070.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -109,11 +109,8 @@ function c11561070.spop(e,tp,eg,ep,ev,re,r,rp)
opval[off-1]=2 opval[off-1]=2
off=off+1 off=off+1
end end
Debug.Message(1)
if off==1 then return end if off==1 then return end
Debug.Message(2)
local op=Duel.SelectOption(tp,table.unpack(ops)) local op=Duel.SelectOption(tp,table.unpack(ops))
Debug.Message(opval[op])
if opval[op]==2 then if opval[op]==2 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local ttc=Duel.SelectMatchingCard(tp,c11561070.thfilter,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil):GetFirst() local ttc=Duel.SelectMatchingCard(tp,c11561070.thfilter,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil):GetFirst()
......
...@@ -145,7 +145,7 @@ function c28366684.slop(e,tp,eg,ep,ev,re,r,rp) ...@@ -145,7 +145,7 @@ function c28366684.slop(e,tp,eg,ep,ev,re,r,rp)
Duel.SetLP(tp,lp-1000) Duel.SetLP(tp,lp-1000)
Duel.SendtoHand(tc,nil,REASON_EFFECT) Duel.SendtoHand(tc,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tc) Duel.ConfirmCards(1-tp,tc)
elseif c:IsSetCard(0x287) then elseif tc:IsSetCard(0x287) then
if Duel.Recover(tp,1000,REASON_EFFECT)~=0 then if Duel.Recover(tp,1000,REASON_EFFECT)~=0 then
Duel.SendtoGrave(tc,REASON_EFFECT) Duel.SendtoGrave(tc,REASON_EFFECT)
end end
......
--青眼明光龙 --青眼明光龙
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
aux.AddCodeList(c,89631139)
c:EnableReviveLimit() c:EnableReviveLimit()
--splimit --splimit
local e0=Effect.CreateEffect(c) local e0=Effect.CreateEffect(c)
......
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