Skip to content

Commit 615dc76

Browse files
authored
"Doom of Dimensions" + "Arequus the Shining Mars Saint" official release script updates
1 parent 48550d8 commit 615dc76

85 files changed

Lines changed: 71 additions & 68 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

archetype_setcode_constants.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,12 +589,13 @@ SET_TELEPORT = 0x1c5
589589
SET_POWER_PATRON = 0x1c6
590590
SET_ARTMAGE = 0x1c7
591591
SET_RB = 0x1ca
592-
--Released but the official English name is unconfirmed
593592
SET_DRAGONTAIL = 0x1c0
594593
SET_YUMMY = 0x1c1
595594
SET_K9 = 0x1c4
596-
--Pre-release archetypes
597595
SET_DOOM_KING = 0x1c8
598596
SET_MAGNIFISTORM = 0x1c9
599597
SET_DOOM_Z = 0x1cb
598+
--Released but the official English name is unconfirmed
599+
--
600+
--Pre-release archetypes
600601
SET_HECATONCHEIRE = 0x1cc
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ function s.thfilter(c)
3333
return c:IsCode(CARD_MYSTICAL_SPACE_TYPHOON) and c:IsAbleToHand()
3434
end
3535
function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
36-
local b1=Duel.IsPlayerCanDraw(tp,2) and not Duel.HasFlagEffect(tp,id)
37-
local b2=Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK|LOCATION_GRAVE,0,1,nil) and not Duel.HasFlagEffect(tp,id+100)
36+
local b1=not Duel.HasFlagEffect(tp,id) and Duel.IsPlayerCanDraw(tp,2)
37+
local b2=not Duel.HasFlagEffect(tp,id+1)
38+
and Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK|LOCATION_GRAVE,0,1,nil)
3839
if chk==0 then return b1 or b2 end
3940
local op=Duel.SelectEffect(tp,
4041
{b1,aux.Stringid(id,2)},
@@ -47,7 +48,7 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
4748
Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,1,tp,1)
4849
elseif op==2 then
4950
e:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
50-
Duel.RegisterFlagEffect(tp,id+100,RESET_PHASE|PHASE_END,0,1)
51+
Duel.RegisterFlagEffect(tp,id+1,RESET_PHASE|PHASE_END,0,1)
5152
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK|LOCATION_GRAVE)
5253
end
5354
end

0 commit comments

Comments
 (0)