mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-18 20:09:27 +08:00
添加部分新的忽略道具
This commit is contained in:
parent
772286b162
commit
ebd94fc373
@ -77,7 +77,7 @@ items.prototype.getItemEffectTip = function (itemId) {
|
|||||||
////// 使用道具 //////
|
////// 使用道具 //////
|
||||||
items.prototype.useItem = function (itemId, noRoute, callback) {
|
items.prototype.useItem = function (itemId, noRoute, callback) {
|
||||||
/** @type {AllIdsOf<'items'>[]} */
|
/** @type {AllIdsOf<'items'>[]} */
|
||||||
const ignore = ['I560', 'I559', 'skill1'];
|
const ignore = ['I560', 'I559', 'skill1', 'I642', 'I565', 'I558'];
|
||||||
if (
|
if (
|
||||||
!this.canUseItem(itemId) ||
|
!this.canUseItem(itemId) ||
|
||||||
(core.isReplaying() && ignore.includes(itemId))
|
(core.isReplaying() && ignore.includes(itemId))
|
||||||
|
Loading…
Reference in New Issue
Block a user