Commit d975a8b2 authored by POLYMER's avatar POLYMER

fix

parent 4d4b7e8f
...@@ -42,7 +42,7 @@ end ...@@ -42,7 +42,7 @@ end
function c95101030.spop(e,tp,eg,ep,ev,re,r,rp) function c95101030.spop(e,tp,eg,ep,ev,re,r,rp)
local check=Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_PZONE,0,1,nil,95101031) local check=Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_PZONE,0,1,nil,95101031)
if check then if check then
if not Duel.GetMZoneCount(tp)<=0 then return end if Duel.GetMZoneCount(tp)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sc=Duel.SelectMatchingCard(tp,c95101030.spfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp):GetFirst() local sc=Duel.SelectMatchingCard(tp,c95101030.spfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp):GetFirst()
if sc and Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP)~=0 then if sc and Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP)~=0 then
......
--受诅的罪人 韩赛尔 --受诅的罪人 韩赛尔
function c95101031.initial_effect(c) function c95101031.initial_effect(c)
aux.AddCodeList(c,95101001) --aux.AddCodeList(c,95101001)
--pendulum summon --pendulum summon
aux.EnablePendulumAttribute(c,false) aux.EnablePendulumAttribute(c,false)
--Activate --Activate
......
...@@ -74,14 +74,14 @@ function c95101035.spfilter(c,e,tp) ...@@ -74,14 +74,14 @@ function c95101035.spfilter(c,e,tp)
end end
function c95101035.spotg(e,tp,eg,ep,ev,re,r,rp,chk) function c95101035.spotg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetMZoneCount(tp)>0 if chk==0 then return Duel.GetMZoneCount(tp)>0
and Duel.IsExistingMatchingCard(c95101035.spfilter,tp,LOCATION_GRAVE,0,1,nil,e,tp) and Duel.IsExistingMatchingCard(c95101035.spfilter,tp,LOCATION_DECK,0,1,nil,e,tp)
end end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_GRAVE) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
end end
function c95101035.spoop(e,tp,eg,ep,ev,re,r,rp) function c95101035.spoop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetMZoneCount(tp)<=0 then return end if Duel.GetMZoneCount(tp)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sc=Duel.SelectMatchingCard(tp,c95101035.spfilter,tp,LOCATION_GRAVE,0,1,1,nil,e,tp):GetFirst() local sc=Duel.SelectMatchingCard(tp,c95101035.spfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp):GetFirst()
if sc then if sc then
Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP)
end end
......
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