Commit df976f6b authored by Chunchi Che's avatar Chunchi Che

fix

parent b6d5d59f
Pipeline #21755 passed with stages
in 14 minutes and 24 seconds
......@@ -113,5 +113,13 @@
"73": {
"protoType": "chain_solved",
"fields": [{ "fieldName": "solved_index", "fieldType": "uint8"}]
},
"75": {
"protoType": "chain_solved",
"fields": [{ "fieldName": "solved_index", "fieldType": "uint8"}]
},
"76": {
"protoType": "chain_solved",
"fields": [{ "fieldName": "solved_index", "fieldType": "uint8"}]
}
}
import { ygopro } from "@/api";
import { matStore } from "@/stores";
// FIXME: 处理连锁会存在三种结果:
// 1. Solved - 已处理;
// 2. NEGATED - 被无效;
// 3. DISABLED - 被禁用。
//
// 对于这三种情况`service`层的逻辑是一致的,但是UI展示应该有区别,
// 因为现在还没实现连锁处理的动画,因此暂时先都一致处理,
// 体现在 `penetrage.json`文件中三个一样的配置。
export default (chainSolved: ygopro.StocGameMessage.MsgChainSolved) => {
const location = matStore.chains
.splice(chainSolved.solved_index - 1, 1)
......
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