noname/character/onlyOL/card.js

24 lines
604 B
JavaScript
Raw Normal View History

import { lib, game, ui, get, ai, _status } from "../../noname.js";
const cards = {
sizhaojian: {
derivation: "ol_sb_yuanshao",
cardcolor: "diamond",
fullskin: true,
type: "equip",
subtype: "equip1",
get destroy() {
return !lib.card.sizhaojian.inShanShanFestival();
},
inShanShanFestival() {
//闪闪节外离开装备区会销毁
const date = new Date();
return date.getMonth() + 1 == 3 && date.getDate() >= 2 && date.getDate() <= 15;
},
distance: { attackFrom: -1 },
ai: { basic: { equipValue: 7 } },
skills: ["olsbyufeng_sizhaojian"],
},
};
export default cards;