Commit 09a4e5a5 authored by mercury233's avatar mercury233

fix conflict

parent c0b4fd8a
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
function c50185950.initial_effect(c) function c50185950.initial_effect(c)
--draw --draw
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(50185950,0))
e1:SetCategory(CATEGORY_DRAW) e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_RELEASE) e1:SetCode(EVENT_RELEASE)
e1:SetTarget(c50185950.drtg) e1:SetTarget(c50185950.drtg)
e1:SetOperation(c50185950.drop) e1:SetOperation(c50185950.drop)
...@@ -34,7 +36,7 @@ function c50185950.filter(c,tp) ...@@ -34,7 +36,7 @@ function c50185950.filter(c,tp)
end end
function c50185950.reptg(e,tp,eg,ep,ev,re,r,rp,chk) function c50185950.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return eg:IsExists(c50185950.filter,1,nil,tp) and e:GetHandler():IsAbleToRemove() end if chk==0 then return eg:IsExists(c50185950.filter,1,nil,tp) and e:GetHandler():IsAbleToRemove() end
return Duel.SelectYesNo(tp,aux.Stringid(50185950,0)) return Duel.SelectYesNo(tp,aux.Stringid(50185950,1))
end end
function c50185950.repval(e,c) function c50185950.repval(e,c)
return c50185950.filter(c,e:GetHandlerPlayer()) return c50185950.filter(c,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