Commit ce467044 authored by Nemo Ma's avatar Nemo Ma

fix

parent 77b96408
......@@ -54,10 +54,10 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(cm.spfilter,tp,LOCATION_GRAVE,0,nil,e,tp)
if chkc then return cm.spfilter(chkc,e,tp) end
if chk==0 then return Duel.IsPlayerCanSpecialSummonCount(tp,2)
and (g:CheckSubGroup(cm.fselect,1,1,g,tp,chk) or not Duel.IsPlayerAffectedByEffect(tp,59822133))
and g:CheckSubGroup(cm.fselect,1,99,g,tp,chk) end
and (g:CheckSubGroup(cm.fselect,1,1,tp,chk) or not Duel.IsPlayerAffectedByEffect(tp,59822133))
and g:CheckSubGroup(cm.fselect,1,99,tp,chk) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL)
local tg=g:SelectSubGroup(tp,cm.fselect,false,1,99,g,tp,chk)
local tg=g:SelectSubGroup(tp,cm.fselect,false,1,99,tp,chk)
Duel.SetTargetCard(tg)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,tg,tg:GetCount(),tp,LOCATION_GRAVE)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
......
......@@ -21,7 +21,7 @@ function c51782333.initial_effect(c)
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(51782333,1))
e3:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e3:SetRange(LOCATION_GRAVE)
e3:SetCode(EVENT_PHASE+PHASE_STANDBY)
e3:SetCondition(c51782333.spcon)
......
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