Commit d375d0e8 authored by nekrozar's avatar nekrozar

fix

parent 16cd95a3
......@@ -14,6 +14,7 @@ function c11609969.initial_effect(c)
e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e2:SetTargetRange(1,0)
e2:SetCondition(c11609969.splimcon)
e2:SetTarget(c11609969.splimit)
c:RegisterEffect(e2)
--scale change
......@@ -41,6 +42,9 @@ function c11609969.initial_effect(c)
e5:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e5)
end
function c11609969.splimcon(e)
return not e:GetHandler():IsForbidden()
end
function c11609969.splimit(e,c,tp,sumtp,sumpos)
return not c:IsSetCard(0xaf) and bit.band(sumtp,SUMMON_TYPE_PENDULUM)==SUMMON_TYPE_PENDULUM
end
......
......@@ -14,6 +14,7 @@ function c13073850.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_PZONE)
e2:SetTargetRange(1,0)
e2:SetCondition(c13073850.splimcon)
e2:SetTarget(c13073850.splimit)
c:RegisterEffect(e2)
--atk up
......@@ -72,6 +73,9 @@ function c13073850.initial_effect(c)
e9:SetLabelObject(e8)
c:RegisterEffect(e9)
end
function c13073850.splimcon(e)
return not e:GetHandler():IsForbidden()
end
function c13073850.splimit(e,c)
return not c:IsSetCard(0xaa)
end
......
......@@ -14,6 +14,7 @@ function c37991342.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_PZONE)
e2:SetTargetRange(1,0)
e2:SetCondition(c37991342.splimcon)
e2:SetTarget(c37991342.splimit)
c:RegisterEffect(e2)
--atk down
......@@ -63,6 +64,9 @@ function c37991342.initial_effect(c)
e8:SetOperation(c37991342.desop)
c:RegisterEffect(e8)
end
function c37991342.splimcon(e)
return not e:GetHandler():IsForbidden()
end
function c37991342.splimit(e,c)
return not c:IsSetCard(0xaa)
end
......
......@@ -14,6 +14,7 @@ function c51194046.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_PZONE)
e2:SetTargetRange(1,0)
e2:SetCondition(c51194046.splimcon)
e2:SetTarget(c51194046.splimit)
c:RegisterEffect(e2)
--draw
......@@ -52,6 +53,9 @@ function c51194046.initial_effect(c)
Duel.RegisterEffect(ge3,0)
end
end
function c51194046.splimcon(e)
return not e:GetHandler():IsForbidden()
end
function c51194046.splimit(e,c)
return not c:IsSetCard(0xaa)
end
......
......@@ -14,6 +14,7 @@ function c64496451.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_PZONE)
e2:SetTargetRange(1,0)
e2:SetCondition(c64496451.splimcon)
e2:SetTarget(c64496451.splimit)
c:RegisterEffect(e2)
--atk up
......@@ -71,6 +72,9 @@ function c64496451.initial_effect(c)
e9:SetLabelObject(e8)
c:RegisterEffect(e9)
end
function c64496451.splimcon(e)
return not e:GetHandler():IsForbidden()
end
function c64496451.splimit(e,c)
return not c:IsSetCard(0xaa)
end
......
......@@ -14,6 +14,7 @@ function c65518099.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_PZONE)
e2:SetTargetRange(1,0)
e2:SetCondition(c65518099.splimcon)
e2:SetTarget(c65518099.splimit)
c:RegisterEffect(e2)
--tohand
......@@ -28,6 +29,9 @@ function c65518099.initial_effect(c)
e3:SetOperation(c65518099.operation)
c:RegisterEffect(e3)
end
function c65518099.splimcon(e)
return not e:GetHandler():IsForbidden()
end
function c65518099.splimit(e,c,tp,sumtp,sumpos)
return not c:IsSetCard(0xaa)
end
......
......@@ -15,6 +15,7 @@ function c74605254.initial_effect(c)
e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e2:SetTargetRange(1,0)
e2:SetCondition(c74605254.splimcon)
e2:SetTarget(c74605254.splimit)
c:RegisterEffect(e2)
--scale change
......@@ -42,6 +43,9 @@ function c74605254.initial_effect(c)
e4:SetOperation(c74605254.thop)
c:RegisterEffect(e4)
end
function c74605254.splimcon(e)
return not e:GetHandler():IsForbidden()
end
function c74605254.splimit(e,c,sump,sumtype,sumpos,targetp)
return not c:IsSetCard(0xaf) and bit.band(sumtype,SUMMON_TYPE_PENDULUM)==SUMMON_TYPE_PENDULUM
end
......
......@@ -14,6 +14,7 @@ function c87588741.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_PZONE)
e2:SetTargetRange(1,0)
e2:SetCondition(c87588741.splimcon)
e2:SetTarget(c87588741.splimit)
c:RegisterEffect(e2)
--atk down
......@@ -71,6 +72,9 @@ function c87588741.initial_effect(c)
e9:SetLabelObject(e8)
c:RegisterEffect(e9)
end
function c87588741.splimcon(e)
return not e:GetHandler():IsForbidden()
end
function c87588741.splimit(e,c)
return not c:IsSetCard(0xaa)
end
......
......@@ -14,6 +14,7 @@ function c90885155.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_PZONE)
e2:SetTargetRange(1,0)
e2:SetCondition(c90885155.splimcon)
e2:SetTarget(c90885155.splimit)
c:RegisterEffect(e2)
--atk down
......@@ -69,6 +70,9 @@ function c90885155.initial_effect(c)
e9:SetLabelObject(e8)
c:RegisterEffect(e9)
end
function c90885155.splimcon(e)
return not e:GetHandler():IsForbidden()
end
function c90885155.splimit(e,c)
return not c:IsSetCard(0xaa)
end
......
......@@ -14,6 +14,7 @@ function c91907707.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_PZONE)
e2:SetTargetRange(1,0)
e2:SetCondition(c91907707.splimcon)
e2:SetTarget(c91907707.splimit)
c:RegisterEffect(e2)
--atk up
......@@ -64,6 +65,9 @@ function c91907707.initial_effect(c)
e8:SetOperation(c91907707.thop)
c:RegisterEffect(e8)
end
function c91907707.splimcon(e)
return not e:GetHandler():IsForbidden()
end
function c91907707.splimit(e,c)
return not c:IsSetCard(0xaa)
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