Commit 768f6f43 authored by salix5's avatar salix5

fix

parent 0f76aed0
...@@ -28,7 +28,7 @@ function c43434803.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -28,7 +28,7 @@ function c43434803.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local sc=sg:GetFirst() local sc=sg:GetFirst()
local oc=og:GetFirst() local oc=og:GetFirst()
local g=Group.FromCards(sc,oc) local g=Group.FromCards(sc,oc)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,2,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,2,PLAYER_ALL,0)
e:SetLabelObject(sc) e:SetLabelObject(sc)
end end
function c43434803.operation(e,tp,eg,ep,ev,re,r,rp) function c43434803.operation(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -198,15 +198,19 @@ function c94977269.checkop1(e,tp,eg,ep,ev,re,r,rp) ...@@ -198,15 +198,19 @@ function c94977269.checkop1(e,tp,eg,ep,ev,re,r,rp)
if p2 then c:RegisterFlagEffect(94977270,RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END,0,1) end if p2 then c:RegisterFlagEffect(94977270,RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END,0,1) end
end end
function c94977269.checkop2(e,tp,eg,ep,ev,re,r,rp) function c94977269.checkop2(e,tp,eg,ep,ev,re,r,rp)
local ex=Duel.GetOperationInfo(ev,CATEGORY_SPECIAL_SUMMON) local ex,tg,ct,sp=Duel.GetOperationInfo(ev,CATEGORY_SPECIAL_SUMMON)
local c=e:GetHandler() local c=e:GetHandler()
if ex then if ex then
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetAbsoluteRange(rp,1,0) if sp==PLAYER_ALL then
e1:SetAbsoluteRange(rp,1,1)
else
e1:SetAbsoluteRange(rp,1,0)
end
c:RegisterEffect(e1) c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
...@@ -223,8 +227,15 @@ function c94977269.rst(e,tp,eg,ep,ev,re,r,rp) ...@@ -223,8 +227,15 @@ function c94977269.rst(e,tp,eg,ep,ev,re,r,rp)
end end
function c94977269.checkop3(e,tp,eg,ep,ev,re,r,rp) function c94977269.checkop3(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local ex=Duel.GetOperationInfo(ev,CATEGORY_SPECIAL_SUMMON) local ex,tg,ct,sp=Duel.GetOperationInfo(ev,CATEGORY_SPECIAL_SUMMON)
if ex then c:RegisterFlagEffect(94977269+rp,RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END,0,1) end if ex then
if sp==PLAYER_ALL then
c:RegisterFlagEffect(94977269,RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END,0,1)
c:RegisterFlagEffect(94977270,RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END,0,1)
else
c:RegisterFlagEffect(94977269+rp,RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END,0,1)
end
end
end end
function c94977269.indval(e,re,tp) function c94977269.indval(e,re,tp)
return tp~=e:GetHandlerPlayer() return tp~=e:GetHandlerPlayer()
......
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