Commit 9fe57a4a authored by GuGu's avatar GuGu

Update c86379472.lua

parent 7ed05c43
Pipeline #33054 passed with stage
in 10 seconds
...@@ -59,7 +59,7 @@ function c86379472.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -59,7 +59,7 @@ function c86379472.condition(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsStatus(STATUS_SET_TURN) return not e:GetHandler():IsStatus(STATUS_SET_TURN)
end end
function c86379472.filter(c) function c86379472.filter(c)
return c:IsFaceup() and c:IsCanTurnSet() return c:IsFaceup() and c:IsCanTurnSet() and not (c:IsLocation(LOCATION_PZONE) and c:IsType(TYPE_PENDULUM))
end end
function c86379472.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c86379472.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_ONFIELD) end if chkc then return chkc:IsLocation(LOCATION_ONFIELD) end
...@@ -85,7 +85,7 @@ end ...@@ -85,7 +85,7 @@ end
function c86379472.activate(e,tp,eg,ep,ev,re,r,rp) function c86379472.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
local b1 = tc:IsRelateToEffect(e) and tc:IsFaceup() and tc:IsCanTurnSet() local b1 = tc:IsRelateToEffect(e) and tc:IsFaceup() and tc:IsCanTurnSet() and not (tc:IsLocation(LOCATION_PZONE) and tc:IsType(TYPE_PENDULUM))
local b2 = (Duel.GetLocationCount(tp,LOCATION_MZONE)>0 local b2 = (Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsPlayerCanSpecialSummonMonster(tp,86379472,0,TYPES_NORMAL_TRAP_MONSTER,1000,1000,2,RACE_FIEND,ATTRIBUTE_DARK) and Duel.IsPlayerCanSpecialSummonMonster(tp,86379472,0,TYPES_NORMAL_TRAP_MONSTER,1000,1000,2,RACE_FIEND,ATTRIBUTE_DARK)
and c:IsRelateToEffect(e)) and c:IsRelateToEffect(e))
......
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