mirror of
https://github.com/Shu-Ying/noname-shuying.git
synced 2026-10-25 09:10:02 +08:00
fixed # 补全部分卡牌
fixed # 修复部分已知BUG
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { createIroncladRuntime } from "./runtime.js";
|
||||
import { createLegacyLiuBeiCards } from "./legacy.js";
|
||||
|
||||
export class LiuBeiCardPack {
|
||||
static id = "liubei";
|
||||
static owner = "mengsan_liubei_shuying";
|
||||
constructor(context) { this.context = context; }
|
||||
createRuntime() {
|
||||
const legacy = createLegacyLiuBeiCards(this.context);
|
||||
const current = createIroncladRuntime(this.context);
|
||||
return { ...current, cards:{...legacy.cards,...current.cards},
|
||||
translate:{...legacy.translate,...current.translate},
|
||||
names:[...legacy.names,...current.names] };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user