Commit 8613b7ec authored by Chunchi Che's avatar Chunchi Che

update small

parent d3f19391
import { ygopro } from "@/api";
import { cardStore } from "@/stores";
export default (becomeTarget: ygopro.StocGameMessage.MsgBecomeTarget) => {
console.log(becomeTarget);
for (const location of becomeTarget.locations) {
const target = cardStore.at(
location.zone,
location.controller,
location.sequence
);
if (target) {
console.info(`${target.meta.text.name} become target`);
// TODO: 动画
} else {
console.warn(`<BecomeTarget>target from ${location} is null`);
}
}
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment