Commit 8fe4a447 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent c03e4b40
...@@ -28,7 +28,7 @@ function s.peff2tg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -28,7 +28,7 @@ function s.peff2tg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DISABLE,eg,1,0,0) Duel.SetOperationInfo(0,CATEGORY_DISABLE,eg,1,0,0)
end end
function s.peff2op(e,tp,eg,ep,ev,re,r,rp) function s.peff2op(e,tp,eg,ep,ev,re,r,rp)
if Duel.NegateRelatedChain(ev,RESET_TURN_SET) then if Duel.NegateRelatedChain(re:GetHandler(),RESET_TURN_SET) then
local code=re:GetHandler():GetCode() local code=re:GetHandler():GetCode()
H_M_.aclimit(e:GetHandler(),tp,code) H_M_.aclimit(e:GetHandler(),tp,code)
end end
......
...@@ -28,7 +28,7 @@ function s.peff2tg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -28,7 +28,7 @@ function s.peff2tg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DISABLE,eg,1,0,0) Duel.SetOperationInfo(0,CATEGORY_DISABLE,eg,1,0,0)
end end
function s.peff2op(e,tp,eg,ep,ev,re,r,rp) function s.peff2op(e,tp,eg,ep,ev,re,r,rp)
if Duel.NegateRelatedChain(ev,RESET_TURN_SET) then if Duel.NegateRelatedChain(re:GetHandler(),RESET_TURN_SET) then
local code=re:GetHandler():GetCode() local code=re:GetHandler():GetCode()
H_M_.aclimit(e:GetHandler(),tp,code) H_M_.aclimit(e:GetHandler(),tp,code)
end end
......
...@@ -17,9 +17,9 @@ function c50224615.initial_effect(c) ...@@ -17,9 +17,9 @@ function c50224615.initial_effect(c)
local e11=e1:Clone() local e11=e1:Clone()
e11:SetCode(EFFECT_UPDATE_DEFENSE) e11:SetCode(EFFECT_UPDATE_DEFENSE)
c:RegisterEffect(e11) c:RegisterEffect(e11)
--to hand --draw
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(50224615,0)) e2:SetDescription(aux.Stringid(50224615,0))
e2:SetCategory(CATEGORY_DRAW) e2:SetCategory(CATEGORY_DRAW)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DELAY)
......
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