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)
and e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD)
end
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
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
......
......@@ -107,7 +107,7 @@ function c11513093.thcon(e,tp,eg,ep,ev,re,r,rp)
and e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD)
end
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
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
......
......@@ -109,11 +109,8 @@ function c11561070.spop(e,tp,eg,ep,ev,re,r,rp)
opval[off-1]=2
off=off+1
end
Debug.Message(1)
if off==1 then return end
Debug.Message(2)
local op=Duel.SelectOption(tp,table.unpack(ops))
Debug.Message(opval[op])
if opval[op]==2 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
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)
Duel.SetLP(tp,lp-1000)
Duel.SendtoHand(tc,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tc)
elseif c:IsSetCard(0x287) then
elseif tc:IsSetCard(0x287) then
if Duel.Recover(tp,1000,REASON_EFFECT)~=0 then
Duel.SendtoGrave(tc,REASON_EFFECT)
end
......
--青眼明光龙
local s,id,o=GetID()
function s.initial_effect(c)
aux.AddCodeList(c,89631139)
c:EnableReviveLimit()
--splimit
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