Commit f386e000 authored by mercury233's avatar mercury233

fix

parent a05b2870
......@@ -8,7 +8,6 @@ function c100423004.initial_effect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetCountLimit(1,100423004+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c100423004.target)
e1:SetOperation(c100423004.activate)
c:RegisterEffect(e1)
......
......@@ -60,6 +60,6 @@ end
function c100423026.ccop(e,tp,eg,ep,ev,re,r,rp)
Duel.SetChainLimit(c100423026.chainlm)
end
function c100423026.chainlm(e,rp,tp)
return tp==rp
function c100423026.chainlm(e,ep,tp)
return tp==ep
end
......@@ -55,6 +55,7 @@ function c100423047.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.IsExistingMatchingCard(c100423047.cfilter,tp,LOCATION_HAND,0,1,nil,e,tp,lsc,rsc) and Duel.SelectYesNo(tp,aux.Stringid(100423047,0)) then
Duel.BreakEffect()
local count=math.min(ct,mz)
if Duel.IsPlayerAffectedByEffect(tp,59822133) then count=1 end
local g=Duel.GetMatchingGroup(c100423047.cfilter,tp,LOCATION_HAND,0,nil,e,tp,lsc,rsc)
local sg=g:SelectSubGroup(tp,c100423047.fselect,false,1,count,tp)
flag=Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
......
......@@ -55,7 +55,7 @@ function c101011023.setfilter(c,e,tp)
return c:IsSetCard(0x8d) and (c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEDOWN_DEFENSE) or c:IsSSetable())
end
function c101011023.posfilter(c)
return c:IsFaceup() and c:IsCanChangePosition()
return c:IsFaceup() and c:IsCanTurnSet()
end
function c101011023.settg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp)
......
......@@ -44,6 +44,7 @@ function c101011047.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_GRAVE)
end
function c101011047.activate(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end
local lg=e:GetHandler():GetLinkedGroup()
local b1=Duel.IsPlayerCanDraw(tp,2) and lg:IsExists(Card.IsType,1,nil,TYPE_RITUAL)
local b2=Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.IsExistingMatchingCard(aux.NecroValleyFilter(c101011047.spfilter),tp,LOCATION_GRAVE,0,1,nil,e,tp) and lg:IsExists(Card.IsType,1,nil,TYPE_FUSION)
......
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