Commit 9e5ecfb5 authored by POLYMER's avatar POLYMER

fix

parent e4a409e4
...@@ -65,7 +65,7 @@ function c11513082.thtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -65,7 +65,7 @@ function c11513082.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c11513082.pbfil,tp,LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c11513082.pbfil,tp,LOCATION_HAND,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM)
local g=Duel.SelectMatchingCard(tp,c11513082.pbfil,tp,LOCATION_HAND,0,1,1,nil,e,tp) local g=Duel.SelectMatchingCard(tp,c11513082.pbfil,tp,LOCATION_HAND,0,1,1,nil,e,tp)
--Duel.SetTargetCard(g) Duel.SetTargetCard(g)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
if g:GetFirst():IsSetCard(0x195) then if g:GetFirst():IsSetCard(0x195) then
Duel.RaiseEvent(g,EVENT_CUSTOM+9091064,e,REASON_COST,tp,tp,0) Duel.RaiseEvent(g,EVENT_CUSTOM+9091064,e,REASON_COST,tp,tp,0)
...@@ -75,6 +75,7 @@ function c11513082.thtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -75,6 +75,7 @@ function c11513082.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c11513082.thop(e,tp,eg,ep,ev,re,r,rp) function c11513082.thop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local pc=Duel.GetFirstTarget()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local tc=Duel.SelectMatchingCard(tp,c11513082.thfil,tp,LOCATION_DECK,0,1,1,nil):GetFirst() local tc=Duel.SelectMatchingCard(tp,c11513082.thfil,tp,LOCATION_DECK,0,1,1,nil):GetFirst()
if tc then if tc then
......
...@@ -58,7 +58,7 @@ function c75000009.op1(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,7 +58,7 @@ function c75000009.op1(e,tp,eg,ep,ev,re,r,rp)
end end
function c75000009.thfilter(c) function c75000009.thfilter(c)
return aux.AddCodeList(c,75000001) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToHand() return aux.IsCodeOrListed(c,75000001) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsAbleToHand()
end end
function c75000009.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function c75000009.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c75000009.thfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c75000009.thfilter,tp,LOCATION_DECK,0,1,nil) end
......
...@@ -49,14 +49,14 @@ end ...@@ -49,14 +49,14 @@ end
function c75000017.damcon(e,tp,eg,ep,ev,re,r,rp) function c75000017.damcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local rc=c:GetReasonCard() local rc=c:GetReasonCard()
return c:IsLocation(LOCATION_GRAVE) and (aux.IsCodeListed(c,75000001) or c:IsCode(75000001)) and r&REASON_FUSION+REASON_LINK~=0 return c:IsLocation(LOCATION_GRAVE) and rc:IsSetCard(0x3751) and r&REASON_FUSION+REASON_LINK~=0
end end
function c75000017.damtg(e,tp,eg,ep,ev,re,r,rp,chk) function c75000017.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,500) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,500)
end end
function c75000017.spfilter(c,e,tp) function c75000017.spfilter(c,e,tp)
return c:IsSetCard(0x120) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE) and not c:IsCode(18236002) return (c:IsCode(75000001) or aux.IsCodeListed(c,75000001)) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE) and not c:IsCode(75000017)
end end
function c75000017.damop(e,tp,eg,ep,ev,re,r,rp) function c75000017.damop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c75000017.spfilter,tp,LOCATION_DECK+LOCATION_HAND,0,nil,e,tp) local g=Duel.GetMatchingGroup(c75000017.spfilter,tp,LOCATION_DECK+LOCATION_HAND,0,nil,e,tp)
......
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