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

Implement QUEST_EXEC_RANDOM_QUEST_VAR #2284

Merged
merged 1 commit into from
Aug 7, 2023
Merged

Implement QUEST_EXEC_RANDOM_QUEST_VAR #2284

merged 1 commit into from
Aug 7, 2023

Conversation

scooterboo
Copy link
Contributor

Description

QUEST_EXEC_RANDOM_QUEST_VAR makes random variables for quests! Not variables for random quests!

The first number is the quest var index, the second in the lower bound (inclusive) and the third is the upper bound (exclusive).

So a [0,1,4] will set variable 0 to either 1, 2, or 3.

Issues fixed by this PR

I can pull a fortune stick at the festival!

Type of changes

  • Bug fix
  • New feature
  • Enhancement
  • Documentation

Checklist:

  • My code follows the style guidelines of this project
  • My pull request is unique and no other pull requests have been opened for these changes
  • I have read the Contributing note and Code of conduct
  • I am responsible for any copyright issues with my code if it occurs in the future.

@KingRainbow44 KingRainbow44 merged commit 0b0dcf9 into Grasscutters:development Aug 7, 2023
2 checks passed
@scooterboo scooterboo deleted the patch-3 branch August 24, 2023 01:23
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.

None yet

2 participants