Commit 077ee341 authored by wind2009's avatar wind2009

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

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