赞 | 3 |
VIP | 0 |
好人卡 | 0 |
积分 | 8 |
经验 | 0 |
最后登录 | 2024-11-15 |
在线时间 | 132 小时 |
Lv2.观梦者
- 梦石
- 0
- 星屑
- 803
- 在线时间
- 132 小时
- 注册时间
- 2023-4-30
- 帖子
- 26
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
<Custom Counter Skills>
if (user.classId === 1 || user.classId === 2 || user.classId === 3 || user.classId === 4) {
skills.push(11);
} else if (user.classId === 5 || user.classId === 6 || user.classId === 7) {
skills.push(64);
} else if (user.classId === 8 || user.classId === 9 || user.classId === 10) {
skills.push(102);
} else if (user.classId === 11 || user.classId === 12 || user.classId === 13) {
skills.push(135);
} else if (user.classId === 14 || user.classId === 15 || user.classId === 16) {
skills.push(168);
} else if (user.classId === 17 || user.classId === 18 || user.classId === 19) {
skills.push(215);
}
</Custom Counter Skills> 有没有大佬用过yep的反击插件,为啥用他给的自定义反击技能代码却不生效,有知道的大佬嘛,
上面是我写的想实现的效果,下面是它的插件备注,是我哪里用错了嘛,求大佬解答
For those with JavaScript proficiency, you can use the following Lunatic
Mode notetags to give a dynamic set of skills granted for counter usage.
Actor, Class, Enemy, Weapon, Armor, and State Notetags:
<Custom Counter Skills>
if (user.name() === 'Harold') {
skills.push(50, 51, 52);
} else if (user.name() === 'Therese') {
skills.push(53, 54, 55);
} else if (user.name() === 'Marsha') {
skills.push(56, 57, 58);
} else if (user.name() === 'Lucius') {
skills.push(59, 60, 61);
}
</Custom Counter Skills>
The 'skills' variable is an array that will contain all the counter skills
that will be added to the list of potential skills the battler can counter
actions with provided that their requirements are met. |
|