Commit 8658f071 authored by Amiya's avatar Amiya

修复

parent 26b3fc01
Pipeline #42656 passed with stages
in 7 minutes and 10 seconds
...@@ -23,7 +23,7 @@ function s.initial_effect(c) ...@@ -23,7 +23,7 @@ function s.initial_effect(c)
e3:SetCategory(CATEGORY_TOHAND+CATEGORY_DESTROY) e3:SetCategory(CATEGORY_TOHAND+CATEGORY_DESTROY)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET) e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetType(EFFECT_TYPE_IGNITION) e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetRange(LOCATION_HAND) e3:SetRange(LOCATION_GRAVE)
e3:SetCountLimit(1,id) e3:SetCountLimit(1,id)
e3:SetCondition(s.thcon) e3:SetCondition(s.thcon)
e3:SetTarget(s.thtg) e3:SetTarget(s.thtg)
......
...@@ -51,7 +51,7 @@ function s.descon(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,7 +51,7 @@ function s.descon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==1-tp return Duel.GetTurnPlayer()==1-tp
end end
function s.thfilter(c,e,tp) function s.thfilter(c,e,tp)
return c:IsSetCard(0x2dd) and c:IsType(TYPE_MONSTER) or c:IsRace(RACE_DINOSAUR) return (c:IsSetCard(0x2dd) and c:IsType(TYPE_MONSTER) or c:IsRace(RACE_DINOSAUR))
and c:IsAbleToHand() or (Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false)) and c:IsAbleToHand() or (Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false))
end end
function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...@@ -78,6 +78,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -78,6 +78,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if seq>-1 then if seq>-1 then
Duel.ConfirmDecktop(tp,dct-seq) Duel.ConfirmDecktop(tp,dct-seq)
Duel.DisableShuffleCheck() Duel.DisableShuffleCheck()
Duel.SetLP(tp,Duel.GetLP(tp)-(dct-seq)*1000)
local spchk=Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and hc:IsCanBeSpecialSummoned(e,0,tp,false,false) local spchk=Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and hc:IsCanBeSpecialSummoned(e,0,tp,false,false)
if hc:IsAbleToHand() or spchk then if hc:IsAbleToHand() or spchk then
if hc:IsAbleToHand() and (not spchk or Duel.SelectOption(tp,1190,1152)==0) then if hc:IsAbleToHand() and (not spchk or Duel.SelectOption(tp,1190,1152)==0) then
......
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