Commit a9b0a071 authored by DailyShana's avatar DailyShana

fix

parent 22764300
......@@ -52,12 +52,13 @@ function c39064822.sumop(e,tp,eg,ep,ev,re,r,rp)
end
if Duel.GetFlagEffect(tp,39064822)~=0 then return end
local c=e:GetHandler()
local fid=c:GetFieldID()
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(39064822,2))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetTargetRange(LOCATION_HAND,0)
e1:SetCode(EFFECT_EXTRA_SUMMON_COUNT)
e1:SetLabelObject(c)
e1:SetLabel(fid)
e1:SetCondition(c39064822.sumcon2)
e1:SetValue(c39064822.sumval)
e1:SetReset(RESET_PHASE+PHASE_END)
......@@ -65,10 +66,10 @@ function c39064822.sumop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterFlagEffect(tp,39064822,RESET_PHASE+PHASE_END,0,1)
end
function c39064822.sumcon2(e,tp,eg,ep,ev,re,r,rp)
return e:GetLabelObject():IsLocation(LOCATION_MZONE)
return e:GetHandler():GetFieldID()==e:GetLabel()
end
function c39064822.sumval(e,c)
local c=e:GetLabelObject()
local c=e:GetHandler()
local sumzone=c:GetLinkedZone()
local relzone=-bit.lshift(1,c:GetSequence())
return 0,sumzone,relzone
......
......@@ -5,7 +5,7 @@ function c81263643.initial_effect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,81263643)
e1:SetCost(c81263643.cost)
e1:SetTarget(c81263643.target)
......
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