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 pendulum summon functions #551

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

465uytrewq
Copy link
Contributor

@465uytrewq 465uytrewq commented Feb 2, 2024

Add these functions:

---Check if action_type is SUMMON_IN_CHAIN.
---@return boolean
function Duel.IsSummonInChain() end

---Check player can pendulum summon.
---@return boolean
---@param player integer
---@param summon_group? Group|nil default: nil
function Duel.IsPlayerCanPendulumSummon(player,summon_group) end

---player pendulum summon summon_group.
---@param player integer
---@param summon_group Group|nil
function Duel.PendulumSummon(player,summon_group) end

---Check if player pendulum summoned by rule.
---(not use EFFECT_EXTRA_PENDULUM_SUMMON.)
---@param player integer
function Duel.IsPlayerDefaultPendulumSummoned(player) end

---player pendulum summoned by rule.
---@param player integer
function Duel.UseDefaultPendulumSummon(player) end

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