Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Auxiliary.RegisterSummonFlag #2804

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Wind2009-Louse
Copy link
Contributor

@Wind2009-Louse Wind2009-Louse commented Dec 27, 2024

Replace such code into aux.RegisterSummonFlag(c,event,id):

function s.initial_effect(c)
	e:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
	e:SetCode(EVENT_SUMMON_SUCCESS)
	e:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
	e:SetOperation(s.sumsuc)
end

function s.sumsuc(e,tp,eg,ep,ev,re,r,rp)
	e:GetHandler():RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
end

And fix some cards mentions in #2792

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant