Skip to content

Commit aded6c5

Browse files
authored
Update "Number 8: Heraldic King Genom-Heritage (Anime)"
Use of new constant
1 parent 9336998 commit aded6c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

unofficial/c511001374.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function s.initial_effect(c)
2525
c:RegisterEffect(e2,false,REGISTER_FLAG_DETACH_XMAT)
2626
end
2727
s.listed_series={SET_NUMBER}
28+
s.listed_names={CARD_UNKNOWN}
2829
s.xyz_number=8
2930
function s.efffilter(c)
3031
return c:IsNegatableMonster() and c:IsAttackPos()
@@ -72,7 +73,7 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
7273
local e1=Effect.CreateEffect(c)
7374
e1:SetType(EFFECT_TYPE_SINGLE)
7475
e1:SetCode(EFFECT_CHANGE_CODE)
75-
e1:SetValue(511001375) --"Unknown"
76+
e1:SetValue(CARD_UNKNOWN)
7677
e1:SetReset(RESET_EVENT|RESETS_STANDARD)
7778
a:RegisterEffect(e1)
7879
if c:IsFaceup() and c:IsRelateToEffect(e) then
@@ -111,4 +112,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
111112
e1:SetReset(RESETS_STANDARD_PHASE_END)
112113
bc:RegisterEffect(e1)
113114
end
114-
end
115+
end

0 commit comments

Comments
 (0)