Skip to content

Commit 13ab4b3

Browse files
committed
fixed cards that give themselves effect protection
Should be able to activate the effect even if another is applied
1 parent 21eb6b3 commit 13ab4b3

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

rush/c160013043.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ function s.initial_effect(c)
2424
e2:SetRange(LOCATION_MZONE)
2525
e2:SetCountLimit(1,0,EFFECT_COUNT_CODE_SINGLE)
2626
e2:SetCost(s.cost)
27-
e2:SetTarget(s.indestg)
2827
e2:SetOperation(s.indesop)
2928
c:RegisterEffect(e2)
3029
end
@@ -47,9 +46,6 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
4746
c:RegisterEffect(e1)
4847
end
4948
end
50-
function s.indestg(e,tp,eg,ep,ev,re,r,rp,chk)
51-
if chk==0 then return e:GetHandler():GetEffectCount(EFFECT_INDESTRUCTABLE_EFFECT)==0 end
52-
end
5349
function s.indesop(e,tp,eg,ep,ev,re,r,rp)
5450
local c=e:GetHandler()
5551
-- Requirement

rush/c160015047.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ function s.initial_effect(c)
1414
e1:SetCountLimit(1)
1515
e1:SetCondition(s.condition)
1616
e1:SetCost(s.cost)
17-
e1:SetTarget(s.target)
1817
e1:SetOperation(s.operation)
1918
c:RegisterEffect(e1)
2019
end
@@ -26,9 +25,6 @@ end
2625
function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
2726
if chk==0 then return Duel.IsPlayerCanDiscardDeckAsCost(tp,1) end
2827
end
29-
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
30-
if chk==0 then return e:GetHandler():GetEffectCount(EFFECT_INDESTRUCTABLE_EFFECT)==0 end
31-
end
3228
function s.operation(e,tp,eg,ep,ev,re,r,rp)
3329
local c=e:GetHandler()
3430
--Requirement

rush/c160213033.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ function s.initial_effect(c)
1818
e1:SetRange(LOCATION_MZONE)
1919
e1:SetCountLimit(1)
2020
e1:SetCost(s.cost)
21-
e1:SetTarget(s.target)
2221
e1:SetOperation(s.operation)
2322
c:RegisterEffect(e1)
2423
c:AddSideMaximumHandler(e1)
@@ -30,9 +29,6 @@ end
3029
function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
3130
if chk==0 then return Duel.IsPlayerCanDiscardDeckAsCost(tp,2) end
3231
end
33-
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
34-
if chk==0 then return e:GetHandler():GetEffectCount(EFFECT_INDESTRUCTABLE_EFFECT)==0 end
35-
end
3632
function s.operation(e,tp,eg,ep,ev,re,r,rp)
3733
local c=e:GetHandler()
3834
--Requirement

0 commit comments

Comments
 (0)