Skip to content

Commit

Permalink
Update c72705654.lua
Browse files Browse the repository at this point in the history
Added RegisterMergedDelayedEvent_ToSingleCard method for some cards in the DP29 branch to fix the large number of unknown options caused by the timing of these cards being induced by multiple cards at the same time.
Should be tested in conjunction with Fluorohydride#2793
  • Loading branch information
YiLong-jin authored Dec 26, 2024
1 parent e12e782 commit 2d528bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c72705654.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ function s.initial_effect(c)
e2:SetOperation(s.spop2)
c:RegisterEffect(e2)
--
local custom_code=aux.RegisterMergedDelayedEvent_ToSingleCard(c,id,EVENT_SPSUMMON_SUCCESS)
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,2))
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3:SetCode(EVENT_CUSTOM+id)
e3:SetCode(custom_code)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY)
e3:SetRange(LOCATION_GRAVE+LOCATION_HAND)
e3:SetCountLimit(1,id+o*2)
Expand All @@ -38,7 +39,6 @@ function s.initial_effect(c)
e3:SetTarget(s.mattg)
e3:SetOperation(s.matop)
c:RegisterEffect(e3)
aux.RegisterMergedDelayedEvent(c,id,EVENT_SPSUMMON_SUCCESS)
end
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsReason(REASON_DRAW)
Expand Down

0 comments on commit 2d528bd

Please sign in to comment.