Commit da39bde9 authored by 聖園ミカ's avatar 聖園ミカ 🐟

duiduiduiduidui

parent 34755c37
No preview for this file type
...@@ -28,7 +28,7 @@ function c50223220.initial_effect(c) ...@@ -28,7 +28,7 @@ function c50223220.initial_effect(c)
e2:SetTargetRange(LOCATION_MZONE,0) e2:SetTargetRange(LOCATION_MZONE,0)
e2:SetCondition(c50223220.con2) e2:SetCondition(c50223220.con2)
e2:SetTarget(c50223220.tg2) e2:SetTarget(c50223220.tg2)
e2:SetValue(aux.tgoval) e2:SetValue(1)
c:RegisterEffect(e2) c:RegisterEffect(e2)
local e22=e2:Clone() local e22=e2:Clone()
e22:SetCode(EFFECT_UNRELEASABLE_NONSUM) e22:SetCode(EFFECT_UNRELEASABLE_NONSUM)
......
...@@ -24,11 +24,11 @@ function c50223230.initial_effect(c) ...@@ -24,11 +24,11 @@ function c50223230.initial_effect(c)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_REMOVE) e2:SetCode(EFFECT_CANNOT_REMOVE)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetTargetRange(LOCATION_MZONE,0) e2:SetTargetRange(1,1)
e2:SetCondition(c50223230.con2) e2:SetCondition(c50223230.con2)
e2:SetTarget(c50223230.tg2) e2:SetTarget(c50223230.tg2)
e2:SetValue(aux.tgoval)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--random extra deck to grave --random extra deck to grave
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
...@@ -73,8 +73,10 @@ function c50223230.con2(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,8 +73,10 @@ function c50223230.con2(e,tp,eg,ep,ev,re,r,rp)
local sg=g:Filter(c50223230.filter,nil) local sg=g:Filter(c50223230.filter,nil)
return sg:GetCount()>=2 return sg:GetCount()>=2
end end
function c50223230.tg2(e,c) function c50223230.tg2(e,c,rp,r,re)
local tp=e:GetHandlerPlayer()
return c:IsSetCard(0xcb7) and c:GetMutualLinkedGroup():IsExists(c50223230.filter,1,nil) return c:IsSetCard(0xcb7) and c:GetMutualLinkedGroup():IsExists(c50223230.filter,1,nil)
and c:IsControler(tp) and c:IsLocation(LOCATION_MZONE) and r&REASON_EFFECT~=0 and re:GetOwnerPlayer()~=tp
end end
function c50223230.con3(e,tp,eg,ep,ev,re,r,rp) function c50223230.con3(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -23,7 +23,6 @@ function c50223235.initial_effect(c) ...@@ -23,7 +23,6 @@ function c50223235.initial_effect(c)
--cannot be attack target --cannot be attack target
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e2:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET) e2:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetTargetRange(0,LOCATION_MZONE) e2:SetTargetRange(0,LOCATION_MZONE)
......
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