koishi-plugin-smmcat-gensokyo 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1628,7 +1628,7 @@ function apply(ctx, config) {
|
|
|
1628
1628
|
if (!userData) return;
|
|
1629
1629
|
BattleData.play(session, skill, goal);
|
|
1630
1630
|
});
|
|
1631
|
-
ctx.command("
|
|
1631
|
+
ctx.command("幻想乡/打怪pk <goal>").action(async ({ session }, goal) => {
|
|
1632
1632
|
const userData = await User.getUserAttribute(session);
|
|
1633
1633
|
if (!userData) return;
|
|
1634
1634
|
GensokyoMap.initUserPoistion(session, userData);
|
|
@@ -1651,7 +1651,7 @@ function apply(ctx, config) {
|
|
|
1651
1651
|
await BattleData.createBattleByUser(session, [{ userId: exist.userId }]);
|
|
1652
1652
|
}
|
|
1653
1653
|
});
|
|
1654
|
-
ctx.command("
|
|
1654
|
+
ctx.command("幻想乡/技能查询 <goal>").action(async ({ session }, goal) => {
|
|
1655
1655
|
if (!goal) return `请输入技能名,例如 /技能查询 重砍`;
|
|
1656
1656
|
if (!skillFn[goal]) return `没有存在 ${goal} 技能!`;
|
|
1657
1657
|
return `[${goal}]信息如下:
|