Commit 077ee341 authored by wind2009's avatar wind2009

Fix Live☆Twin リィラ・スウィート

parent dbc611dc
......@@ -69,6 +69,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
{b1,1152,1},
{b2,1068,2})
end
Duel.BreakEffect()
if op==1 then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
elseif op==2 then
......
......@@ -24,7 +24,7 @@ function s.initial_effect(c)
c:RegisterEffect(e2)
end
function s.discon(e,tp,eg,ep,ev,re,r,rp)
if Duel.IsChainDisablable(ev) then return false end
if not Duel.IsChainDisablable(ev) then return false end
local te,p=Duel.GetChainInfo(ev-1,CHAININFO_TRIGGERING_EFFECT,CHAININFO_TRIGGERING_PLAYER)
return te and te:GetHandler():IsSetCard(0x1151) and p==tp and rp==1-tp
end
......
......@@ -70,7 +70,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
end
function s.drcon(e,tp,eg,ep,ev,re,r,rp)
if Duel.IsChainDisablable(ev) then return false end
local te,p=Duel.GetChainInfo(ev-1,CHAININFO_TRIGGERING_EFFECT,CHAININFO_TRIGGERING_PLAYER)
local te,p=Duel.GetChainInfo(ev-1,CHAININFO_TRIGGERING_EFFECT,CHAININFO_TRIGGERING_PLAYER)
local tc=te:GetHandler()
return te and tc:IsSetCard(0x152,0x153) and te:IsActiveType(TYPE_MONSTER) and p==tp and rp==1-tp
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