We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
强制改变自身或被击中玩家的所有技能的剩余冷却时间, 比如玩家持有1个火球发射器,被使用了这个power后,冷却时间强制修改到200秒。
checkAndSetCooldown 能不能被利用实现这个目标, 这个函数一直被隐含在各种power里。
The text was updated successfully, but these errors were encountered:
用cooldownKey系统试一下?
Sorry, something went wrong.
@ReinWD cooldownKey有什么用,我看见只有dummy用到了
if (!checkAndSetCooldown(getPower(), player, getCooldown(), isShowCDWarning(), false, (isGlobalCooldown() ? "" : (getItem().getUid() + ".")) + getCooldownKey())) return PowerResult.of(getCooldownResult());
不知道当时是怎么样的,现在应该可以用了吧
No branches or pull requests
功能请求
你的功能请求是否和一个问题有关?如果是,请在此描述
强制改变自身或被击中玩家的所有技能的剩余冷却时间,
比如玩家持有1个火球发射器,被使用了这个power后,冷却时间强制修改到200秒。
你的想法
checkAndSetCooldown 能不能被利用实现这个目标,
这个函数一直被隐含在各种power里。
The text was updated successfully, but these errors were encountered: