Skip to content

Commit 55306c2

Browse files
authored
Update c511015118.lua
Removed extraneous code/fixed incorrect id
1 parent 3eb0aca commit 55306c2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

unofficial/c511015118.lua

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function s.initial_effect(c)
6161
e7:SetCountLimit(1)
6262
e7:SetRange(LOCATION_MZONE)
6363
e7:SetCondition(function(e) return e:GetHandler():HasFlagEffect(id) end)
64-
e7:SetOperation(function(e,tp,eg,ep,ev,re,r,rp) e:GetHandler():Recreate(1520000030) end)
64+
e7:SetOperation(function(e,tp,eg,ep,ev,re,r,rp) e:GetHandler():Recreate(511015118) end)
6565
c:RegisterEffect(e7)
6666
local e8=Effect.CreateEffect(c)
6767
e8:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
@@ -74,11 +74,6 @@ end
7474
s.listed_series={SET_NUMBER}
7575
s.listed_names={1426715} --"Phantom Token"
7676
s.xyz_number=48
77-
function s.rmvtg(e,tp,eg,ep,ev,re,r,rp,chk)
78-
local c=e:GetHandler()
79-
if chk==0 then return (r&REASON_EFFECT)>0 and re and re:GetHandlerPlayer()==1-c:GetControler() and c:GetDestination()==LOCATION_REMOVED end
80-
return true
81-
end
8277
function s.mvfilter(c)
8378
return c:HasFlagEffect(id) and c:GetSequence()<5
8479
end

0 commit comments

Comments
 (0)