Commit 255150a1 authored by DailyShana's avatar DailyShana

fix

parent 413a1247
...@@ -17,7 +17,7 @@ function c35073065.initial_effect(c) ...@@ -17,7 +17,7 @@ function c35073065.initial_effect(c)
end end
function c35073065.spcon(e,tp,eg,ep,ev,re,r,rp) function c35073065.spcon(e,tp,eg,ep,ev,re,r,rp)
local ec=eg:GetFirst() local ec=eg:GetFirst()
return ec:IsControler(tp) and bit.band(ec:GetSummonType(),SUMMON_TYPE_ADVANCE)==SUMMON_TYPE_ADVANCE return ep==tp and bit.band(ec:GetSummonType(),SUMMON_TYPE_ADVANCE)==SUMMON_TYPE_ADVANCE
end end
function c35073065.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c35073065.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -27,7 +27,7 @@ function c43241495.initial_effect(c) ...@@ -27,7 +27,7 @@ function c43241495.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c43241495.cfilter(c,tp) function c43241495.cfilter(c,tp)
return c:IsControler(tp) and c:GetSummonType()==SUMMON_TYPE_PENDULUM return c:GetSummonPlayer()==tp and c:GetSummonType()==SUMMON_TYPE_PENDULUM
end end
function c43241495.thcon(e,tp,eg,ep,ev,re,r,rp) function c43241495.thcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c43241495.cfilter,1,nil,tp) return eg:IsExists(c43241495.cfilter,1,nil,tp)
......
...@@ -22,7 +22,7 @@ function c54582424.initial_effect(c) ...@@ -22,7 +22,7 @@ function c54582424.initial_effect(c)
end end
function c54582424.spcon(e,tp,eg,ep,ev,re,r,rp) function c54582424.spcon(e,tp,eg,ep,ev,re,r,rp)
local ec=eg:GetFirst() local ec=eg:GetFirst()
return ec:IsControler(tp) and ec:IsRace(RACE_WARRIOR) return ep==tp and ec:IsRace(RACE_WARRIOR)
end end
function c54582424.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c54582424.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -36,8 +36,7 @@ function c60187739.initial_effect(c) ...@@ -36,8 +36,7 @@ function c60187739.initial_effect(c)
end end
end end
function c60187739.checkop(e,tp,eg,ep,ev,re,r,rp) function c60187739.checkop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() c60187739[ep]=true
c60187739[tc:GetControler()]=true
end end
function c60187739.clear(e,tp,eg,ep,ev,re,r,rp) function c60187739.clear(e,tp,eg,ep,ev,re,r,rp)
c60187739[0]=false c60187739[0]=false
......
...@@ -22,7 +22,7 @@ function c94656263.initial_effect(c) ...@@ -22,7 +22,7 @@ function c94656263.initial_effect(c)
end end
function c94656263.spcon(e,tp,eg,ep,ev,re,r,rp) function c94656263.spcon(e,tp,eg,ep,ev,re,r,rp)
local ec=eg:GetFirst() local ec=eg:GetFirst()
return ec:IsControler(tp) and ec:GetLevel()==4 return ep==tp and ec:GetLevel()==4
end end
function c94656263.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c94656263.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -16,7 +16,7 @@ function c98437424.initial_effect(c) ...@@ -16,7 +16,7 @@ function c98437424.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c98437424.spcon(e,tp,eg,ep,ev,re,r,rp) function c98437424.spcon(e,tp,eg,ep,ev,re,r,rp)
return rp~=tp return ep~=tp
end end
function c98437424.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c98437424.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
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