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

实现 strict_parameters_of_rand 选项, 用于控制是否对 rand 脚本指令进行严格的参数检查 (感谢 "差记性的小北" 反馈) #756

Merged
merged 2 commits into from Feb 12, 2024

Conversation

CairoLee
Copy link
Contributor

  • 应用此修正之后,rand(10,10) 将返回 10(而不是终止脚本)
  • 直接使用单参数的 rand(0) 依然是不被允许的

@CairoLee CairoLee changed the title 使 rand 脚本指令能够接受最小值和最大值相等的情况 (感谢 "差记性的小北" 反馈) 实现 strict_parameters_of_rand 选项, 用于控制是否对 rand 脚本指令进行严格的参数检查 (感谢 "差记性的小北" 反馈) Feb 11, 2024
@CairoLee CairoLee merged commit 8201b8b into develop Feb 12, 2024
37 checks passed
@CairoLee CairoLee deleted the adjust/scriptcmd_rand branch February 12, 2024 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants