Skip to content

Commit 5ac662b

Browse files
committed
Added new registration flag
REGISTER_FLAG_DRAGON_RULER = 32
1 parent c99f6a9 commit 5ac662b

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

constant.lua

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -968,11 +968,12 @@ EFFECT_SUPREME_CASTLE = 72043279
968968
EFFECT_SYNSUB_NORDIC = 61777313
969969
EFFECT_WITCHCRAFTER_REPLACE = 83289866
970970
--Flags for Card.RegisterEffect
971-
REGISTER_FLAG_DETACH_XMAT = 1
972-
REGISTER_FLAG_CARDIAN = 2
973-
REGISTER_FLAG_THUNDRA = 4
974-
REGISTER_FLAG_ALLURE_LVUP = 8
975-
REGISTER_FLAG_TELLAR = 16
971+
REGISTER_FLAG_DETACH_XMAT = 1
972+
REGISTER_FLAG_CARDIAN = 2
973+
REGISTER_FLAG_THUNDRA = 4
974+
REGISTER_FLAG_ALLURE_LVUP = 8
975+
REGISTER_FLAG_TELLAR = 16
976+
REGISTER_FLAG_DRAGON_RULER = 32
976977
--Flags for the various filters in the fusion procedure
977978
FUSPROC_NOTFUSION = 0x100
978979
FUSPROC_CONTACTFUS = 0x200

utility.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,6 +1000,7 @@ Card.RegisterEffect=(function()
10001000
if val==4 then return 12081875 end -- access to Thunder Dragon effects that activate by discarding
10011001
if val==8 then return 511310036 end -- access to Allure Queen effects that activate by sending themselves to GY
10021002
if val==16 then return 58858807 end -- access to tellarknights/constellar effects that activate when Normal Summoned
1003+
if val==32 then return 101208047 end -- access to Dragon Ruler effects that activate by discarding
10031004
return nil
10041005
end
10051006
return function(c,e,forced,...)

0 commit comments

Comments
 (0)