Commit a0fc3b01 authored by wyykak's avatar wyykak

fix

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 8b745273
This diff is collapsed.
...@@ -42,10 +42,11 @@ function c86379544.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -42,10 +42,11 @@ function c86379544.operation(e,tp,eg,ep,ev,re,r,rp)
end end
else else
Duel.Damage(tp,300,REASON_EFFECT) Duel.Damage(tp,300,REASON_EFFECT)
if not c:IsRelateToEffect(e) then return end if c:IsRelateToEffect(e) and c:IsCanTurnSet() then
c:CancelToGrave() c:CancelToGrave()
Duel.ChangePosition(c,POS_FACEDOWN) Duel.ChangePosition(c,POS_FACEDOWN)
Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0) Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0)
end
end end
end end
-- --
......
...@@ -69,10 +69,11 @@ function c86379546.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -69,10 +69,11 @@ function c86379546.operation(e,tp,eg,ep,ev,re,r,rp)
end end
else else
Duel.Damage(tp,600,REASON_EFFECT) Duel.Damage(tp,600,REASON_EFFECT)
if not c:IsRelateToEffect(e) then return end if c:IsRelateToEffect(e) and c:IsCanTurnSet() then
c:CancelToGrave() c:CancelToGrave()
Duel.ChangePosition(c,POS_FACEDOWN) Duel.ChangePosition(c,POS_FACEDOWN)
Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0) Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0)
end
end end
end end
function c86379546.ntcon(e,c) function c86379546.ntcon(e,c)
......
...@@ -54,10 +54,11 @@ function c86379548.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -54,10 +54,11 @@ function c86379548.operation(e,tp,eg,ep,ev,re,r,rp)
end end
else else
Duel.Damage(tp,1200,REASON_EFFECT) Duel.Damage(tp,1200,REASON_EFFECT)
if not c:IsRelateToEffect(e) then return end if c:IsRelateToEffect(e) and c:IsCanTurnSet() then
c:CancelToGrave() c:CancelToGrave()
Duel.ChangePosition(c,POS_FACEDOWN) Duel.ChangePosition(c,POS_FACEDOWN)
Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0) Duel.RaiseEvent(c,EVENT_SSET,e,REASON_EFFECT,tp,tp,0)
end
end end
end end
-- --
......
...@@ -64,6 +64,7 @@ function c86379552.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -64,6 +64,7 @@ function c86379552.desop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local tc=g:FilterSelect(tp,c86379552.setfilter,1,1,nil,e,tp) local tc=g:FilterSelect(tp,c86379552.setfilter,1,1,nil,e,tp)
if tc:GetCount()>0 then if tc:GetCount()>0 then
Duel.HintSelection(tc)
local sc=tc:GetFirst() local sc=tc:GetFirst()
if sc:IsType(TYPE_MONSTER) then if sc:IsType(TYPE_MONSTER) then
Duel.SpecialSummon(sc,0,1-tp,1-tp,false,false,POS_FACEDOWN_DEFENSE) Duel.SpecialSummon(sc,0,1-tp,1-tp,false,false,POS_FACEDOWN_DEFENSE)
......
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