Commit cf6b5d31 authored by Grajade's avatar Grajade

Update c1111003.lua

parent f4ded219
Pipeline #33104 passed with stage
in 10 minutes and 18 seconds
...@@ -16,7 +16,6 @@ function c1111003.initial_effect(c) ...@@ -16,7 +16,6 @@ function c1111003.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_TO_GRAVE) e2:SetCode(EVENT_TO_GRAVE)
e2:SetRange(LOCATION_GRAVE)
e2:SetTarget(c1111003.tg2) e2:SetTarget(c1111003.tg2)
e2:SetOperation(c1111003.op2) e2:SetOperation(c1111003.op2)
c:RegisterEffect(e2) c:RegisterEffect(e2)
...@@ -68,7 +67,7 @@ function c1111003.tfilter2(c,tp) ...@@ -68,7 +67,7 @@ function c1111003.tfilter2(c,tp)
and c:IsAbleToDeck() and c:IsAbleToDeck()
end end
function c1111003.tg2(e,tp,eg,ep,ev,re,r,rp,chk) function c1111003.tg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return r and r==REASON_EFFECT and rp~=tp if chk==0 then return r and r==REASON_EFFECT and rp==1-tp
and e:GetHandler():IsAbleToDeck() and e:GetHandler():IsAbleToDeck()
and eg:IsExists(c1111003.tfilter2,1,nil,tp) and eg:IsExists(c1111003.tfilter2,1,nil,tp)
and not eg:IsContains(e:GetHandler()) end and not eg:IsContains(e:GetHandler()) end
......
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