Commit fd258cd0 authored by Amiya's avatar Amiya

Merge branch 'master' of git.moenext.com:mycard/pre-release-database-cdb

parents 06f72af8 0fa86c77
No preview for this file type
No preview for this file type
...@@ -13,3 +13,4 @@ ...@@ -13,3 +13,4 @@
100256017 100256017
100256019 100256019
100256025 100256025
100201001
\ No newline at end of file
...@@ -4,4 +4,5 @@ ...@@ -4,4 +4,5 @@
100228003 100228003
100238401 100238401
100200283 100200283
100201001 100258001
\ No newline at end of file 100258002
\ No newline at end of file
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
"js-yaml": "^4.1.1", "js-yaml": "^4.1.1",
"sql.js": "^1.13.0", "sql.js": "^1.13.0",
"ygopro-jstest": "^1.0.10", "ygopro-jstest": "^1.0.10",
"ygopro-msg-encode": "^1.1.6" "ygopro-msg-encode": "^1.1.7"
}, },
"devDependencies": { "devDependencies": {
"@types/jest": "^30.0.0", "@types/jest": "^30.0.0",
...@@ -6399,9 +6399,9 @@ ...@@ -6399,9 +6399,9 @@
} }
}, },
"node_modules/ygopro-msg-encode": { "node_modules/ygopro-msg-encode": {
"version": "1.1.6", "version": "1.1.7",
"resolved": "https://registry.npmjs.org/ygopro-msg-encode/-/ygopro-msg-encode-1.1.6.tgz", "resolved": "https://registry.npmjs.org/ygopro-msg-encode/-/ygopro-msg-encode-1.1.7.tgz",
"integrity": "sha512-ViNMcSM5o32zW0GhaPgXCQSz8hJJ/4Nd5HPQVRA6o9qqZ+2+0tjLZX8vviMA48iFmsA03ABTx6Y5iT8h1e11jQ==", "integrity": "sha512-KQ5uirF+LfD1/IlTrIJh/f37IwXc5IMFs5qO8Uw+KZI7cW4UVQmH7CRygDS+lbJcnHDrd2qhD4l3YpsmYqqBkg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"typed-reflector": "^1.0.14", "typed-reflector": "^1.0.14",
......
--憑依共鳴-ウィン --憑依共鳴ウィン
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
--material --material
...@@ -79,8 +79,7 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -79,8 +79,7 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g1,2,0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g1,2,0,0)
end end
function s.tdop(e,tp,eg,ep,ev,re,r,rp) function s.tdop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS) local tg=Duel.GetTargetsRelateToChain()
local tg=g:Filter(Card.IsRelateToChain,nil)
if tg:GetCount()>0 then if tg:GetCount()>0 then
aux.PlaceCardsOnDeckBottom(tp,tg) aux.PlaceCardsOnDeckBottom(tp,tg)
end end
......
...@@ -10,7 +10,7 @@ function s.initial_effect(c) ...@@ -10,7 +10,7 @@ function s.initial_effect(c)
e1:SetCode(EFFECT_SPSUMMON_CONDITION) e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(aux.AssaultModeLimit) e1:SetValue(aux.AssaultModeLimit)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--draw --atk to 0
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,0)) e2:SetDescription(aux.Stringid(id,0))
e2:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_TODECK) e2:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_TODECK)
...@@ -68,9 +68,11 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -68,9 +68,11 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,s.atkfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil) local g=Duel.SelectMatchingCard(tp,s.atkfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil)
local tc=g:GetFirst() local tc=g:GetFirst()
if tc then if tc then
Duel.HintSelection(g)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_ATTACK_FINAL) e1:SetCode(EFFECT_SET_ATTACK_FINAL)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(0) e1:SetValue(0)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1) tc:RegisterEffect(e1)
......
...@@ -97,6 +97,6 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -97,6 +97,6 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function s.desop(e,tp,eg,ep,ev,re,r,rp) function s.desop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS) local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS)
local sg=g:Filter(Card.IsRelateToChain,nil) local sg=g:Filter(Card.IsRelateToChain,nil):Filter(Card.IsOnField,nil)
Duel.Destroy(sg,REASON_EFFECT) Duel.Destroy(sg,REASON_EFFECT)
end end
...@@ -15,13 +15,14 @@ export interface YrpInfo { ...@@ -15,13 +15,14 @@ export interface YrpInfo {
export const toYrpInfo = (test: YGOProTest): YrpInfo => { export const toYrpInfo = (test: YGOProTest): YrpInfo => {
const snapshot = test.querySnapshot(); const snapshot = test.querySnapshot();
const snapshotText = formatSnapshot(snapshot); const snapshotText = formatSnapshot(snapshot);
const stripMsgName = (msg: string) => msg.replace(/^YGOProMsg/, "");
return { return {
messages: test.allMessages.map((msg) => ({ messages: test.allMessages.map((msg) => ({
identifier: msg.identifier, identifier: msg.identifier,
msg: msg.constructor.name, msg: stripMsgName(msg.constructor.name),
...msg, ...msg,
})), })),
snapshot, snapshot,
snapshotText, snapshotText,
}; };
} };
messages: messages:
- identifier: 33 - identifier: 33
msg: YGOProMsgShuffleHand msg: ShuffleHand
player: 0 player: 0
count: 2 count: 2
cards: cards:
- 28985331 - 28985331
- 10000000 - 10000000
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 1 phase: 1
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 2 phase: 2
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 4 phase: 4
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 0 player: 0
summonableCount: 1 summonableCount: 1
summonableCards: summonableCards:
......
messages: messages:
- identifier: 90 - identifier: 90
msg: YGOProMsgDraw msg: Draw
player: 0 player: 0
count: 5 count: 5
cards: cards:
...@@ -10,7 +10,7 @@ messages: ...@@ -10,7 +10,7 @@ messages:
- 96729612 - 96729612
- 51452091 - 51452091
- identifier: 90 - identifier: 90
msg: YGOProMsgDraw msg: Draw
player: 1 player: 1
count: 5 count: 5
cards: cards:
...@@ -20,18 +20,18 @@ messages: ...@@ -20,18 +20,18 @@ messages:
- 56713174 - 56713174
- 29596581 - 29596581
- identifier: 40 - identifier: 40
msg: YGOProMsgNewTurn msg: NewTurn
player: 0 player: 0
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 1 phase: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 1 type: 1
player: 1 player: 1
desc: 20 desc: 20
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 0 specialCount: 0
...@@ -47,15 +47,15 @@ messages: ...@@ -47,15 +47,15 @@ messages:
subsequence: 10 subsequence: 10
desc: 907410784 desc: 907410784
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 2 phase: 2
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 1 type: 1
player: 1 player: 1
desc: 21 desc: 21
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 0 specialCount: 0
...@@ -71,10 +71,10 @@ messages: ...@@ -71,10 +71,10 @@ messages:
subsequence: 10 subsequence: 10
desc: 907410784 desc: 907410784
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 4 phase: 4
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 0 player: 0
summonableCount: 1 summonableCount: 1
summonableCards: summonableCards:
...@@ -122,17 +122,17 @@ messages: ...@@ -122,17 +122,17 @@ messages:
canEp: 1 canEp: 1
canShuffle: 1 canShuffle: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 51452091 desc: 51452091
- identifier: 18 - identifier: 18
msg: YGOProMsgSelectPlace msg: SelectPlace
player: 0 player: 0
count: 0 count: 0
flag: 4294959359 flag: 4294959359
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 51452091 code: 51452091
previous: previous:
controller: 0 controller: 0
...@@ -146,10 +146,10 @@ messages: ...@@ -146,10 +146,10 @@ messages:
position: 10 position: 10
reason: 33555456 reason: 33555456
- identifier: 54 - identifier: 54
msg: YGOProMsgSet msg: Set
code: 51452091 code: 51452091
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -157,7 +157,7 @@ messages: ...@@ -157,7 +157,7 @@ messages:
hint1: 2162688 hint1: 2162688
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 0 specialCount: 0
...@@ -173,7 +173,7 @@ messages: ...@@ -173,7 +173,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 907410784 desc: 907410784
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 0 player: 0
summonableCount: 1 summonableCount: 1
summonableCards: summonableCards:
...@@ -217,17 +217,17 @@ messages: ...@@ -217,17 +217,17 @@ messages:
canEp: 1 canEp: 1
canShuffle: 1 canShuffle: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 51452091 desc: 51452091
- identifier: 18 - identifier: 18
msg: YGOProMsgSelectPlace msg: SelectPlace
player: 0 player: 0
count: 0 count: 0
flag: 4294960383 flag: 4294960383
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 51452091 code: 51452091
previous: previous:
controller: 0 controller: 0
...@@ -241,10 +241,10 @@ messages: ...@@ -241,10 +241,10 @@ messages:
position: 10 position: 10
reason: 33555456 reason: 33555456
- identifier: 54 - identifier: 54
msg: YGOProMsgSet msg: Set
code: 51452091 code: 51452091
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -252,7 +252,7 @@ messages: ...@@ -252,7 +252,7 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 0 specialCount: 0
...@@ -268,7 +268,7 @@ messages: ...@@ -268,7 +268,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 907410784 desc: 907410784
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 0 player: 0
summonableCount: 1 summonableCount: 1
summonableCards: summonableCards:
...@@ -308,17 +308,17 @@ messages: ...@@ -308,17 +308,17 @@ messages:
canEp: 1 canEp: 1
canShuffle: 1 canShuffle: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 96729612 desc: 96729612
- identifier: 18 - identifier: 18
msg: YGOProMsgSelectPlace msg: SelectPlace
player: 0 player: 0
count: 1 count: 1
flag: 4294960895 flag: 4294960895
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 96729612 code: 96729612
previous: previous:
controller: 0 controller: 0
...@@ -332,7 +332,7 @@ messages: ...@@ -332,7 +332,7 @@ messages:
position: 5 position: 5
reason: 33555456 reason: 33555456
- identifier: 70 - identifier: 70
msg: YGOProMsgChaining msg: Chaining
code: 96729612 code: 96729612
controller: 0 controller: 0
location: 8 location: 8
...@@ -342,10 +342,10 @@ messages: ...@@ -342,10 +342,10 @@ messages:
desc: 776 desc: 776
chainPlayer: 0 chainPlayer: 0
- identifier: 71 - identifier: 71
msg: YGOProMsgChained msg: Chained
chainCount: 1 chainCount: 1
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 1 specialCount: 1
...@@ -361,7 +361,7 @@ messages: ...@@ -361,7 +361,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 907410784 desc: 907410784
- identifier: 70 - identifier: 70
msg: YGOProMsgChaining msg: Chaining
code: 56713174 code: 56713174
controller: 1 controller: 1
location: 2 location: 2
...@@ -371,7 +371,7 @@ messages: ...@@ -371,7 +371,7 @@ messages:
desc: -44039422 desc: -44039422
chainPlayer: 21 chainPlayer: 21
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 56713174 code: 56713174
previous: previous:
controller: 1 controller: 1
...@@ -385,10 +385,10 @@ messages: ...@@ -385,10 +385,10 @@ messages:
position: 5 position: 5
reason: 16512 reason: 16512
- identifier: 71 - identifier: 71
msg: YGOProMsgChained msg: Chained
chainCount: 2 chainCount: 2
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -396,7 +396,7 @@ messages: ...@@ -396,7 +396,7 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -404,15 +404,15 @@ messages: ...@@ -404,15 +404,15 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 72 - identifier: 72
msg: YGOProMsgChainSolving msg: ChainSolving
chainCount: 2 chainCount: 2
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 1 player: 1
desc: 506 desc: 506
- identifier: 15 - identifier: 15
msg: YGOProMsgSelectCard msg: SelectCard
player: 1 player: 1
cancelable: 0 cancelable: 0
min: 1 min: 1
...@@ -425,7 +425,7 @@ messages: ...@@ -425,7 +425,7 @@ messages:
sequence: 0 sequence: 0
subsequence: 8 subsequence: 8
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 56713174 code: 56713174
previous: previous:
controller: 1 controller: 1
...@@ -438,8 +438,18 @@ messages: ...@@ -438,8 +438,18 @@ messages:
sequence: 4 sequence: 4
position: 10 position: 10
reason: 64 reason: 64
- identifier: 31
msg: ConfirmCards
player: 0
skipPanel: 0
count: 1
cards:
- code: 56713174
controller: 1
location: 2
sequence: 4
- identifier: 33 - identifier: 33
msg: YGOProMsgShuffleHand msg: ShuffleHand
player: 1 player: 1
count: 5 count: 5
cards: cards:
...@@ -449,18 +459,18 @@ messages: ...@@ -449,18 +459,18 @@ messages:
- 82946847 - 82946847
- 82946847 - 82946847
- identifier: 73 - identifier: 73
msg: YGOProMsgChainSolved msg: ChainSolved
chainCount: 2 chainCount: 2
- identifier: 72 - identifier: 72
msg: YGOProMsgChainSolving msg: ChainSolving
chainCount: 1 chainCount: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 506 desc: 506
- identifier: 15 - identifier: 15
msg: YGOProMsgSelectCard msg: SelectCard
player: 0 player: 0
cancelable: 0 cancelable: 0
min: 1 min: 1
...@@ -498,7 +508,7 @@ messages: ...@@ -498,7 +508,7 @@ messages:
sequence: 5 sequence: 5
subsequence: 8 subsequence: 8
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 99185129 code: 99185129
previous: previous:
controller: 0 controller: 0
...@@ -511,8 +521,18 @@ messages: ...@@ -511,8 +521,18 @@ messages:
sequence: 2 sequence: 2
position: 10 position: 10
reason: 64 reason: 64
- identifier: 31
msg: ConfirmCards
player: 1
skipPanel: 0
count: 1
cards:
- code: 99185129
controller: 0
location: 2
sequence: 2
- identifier: 33 - identifier: 33
msg: YGOProMsgShuffleHand msg: ShuffleHand
player: 0 player: 0
count: 3 count: 3
cards: cards:
...@@ -520,10 +540,10 @@ messages: ...@@ -520,10 +540,10 @@ messages:
- 99185129 - 99185129
- 23401839 - 23401839
- identifier: 73 - identifier: 73
msg: YGOProMsgChainSolved msg: ChainSolved
chainCount: 1 chainCount: 1
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 96729612 code: 96729612
previous: previous:
controller: 0 controller: 0
...@@ -537,9 +557,9 @@ messages: ...@@ -537,9 +557,9 @@ messages:
position: 5 position: 5
reason: 1024 reason: 1024
- identifier: 74 - identifier: 74
msg: YGOProMsgChainEnd msg: ChainEnd
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -547,7 +567,7 @@ messages: ...@@ -547,7 +567,7 @@ messages:
hint1: 32768 hint1: 32768
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -555,7 +575,7 @@ messages: ...@@ -555,7 +575,7 @@ messages:
hint1: 10518528 hint1: 10518528
chains: [] chains: []
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 0 player: 0
summonableCount: 1 summonableCount: 1
summonableCards: summonableCards:
...@@ -591,17 +611,17 @@ messages: ...@@ -591,17 +611,17 @@ messages:
canEp: 1 canEp: 1
canShuffle: 1 canShuffle: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 23401839 desc: 23401839
- identifier: 18 - identifier: 18
msg: YGOProMsgSelectPlace msg: SelectPlace
player: 0 player: 0
count: 1 count: 1
flag: 4294967264 flag: 4294967264
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 23401839 code: 23401839
previous: previous:
controller: 0 controller: 0
...@@ -615,14 +635,14 @@ messages: ...@@ -615,14 +635,14 @@ messages:
position: 1 position: 1
reason: 33555456 reason: 33555456
- identifier: 60 - identifier: 60
msg: YGOProMsgSummoning msg: Summoning
code: 23401839 code: 23401839
controller: 0 controller: 0
location: 4 location: 4
sequence: 2 sequence: 2
position: 1 position: 1
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -630,7 +650,7 @@ messages: ...@@ -630,7 +650,7 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -638,9 +658,9 @@ messages: ...@@ -638,9 +658,9 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 61 - identifier: 61
msg: YGOProMsgSummoned msg: Summoned
- identifier: 12 - identifier: 12
msg: YGOProMsgSelectEffectYn msg: SelectEffectYn
player: 0 player: 0
code: 23401839 code: 23401839
controller: 0 controller: 0
...@@ -649,7 +669,7 @@ messages: ...@@ -649,7 +669,7 @@ messages:
position: 1 position: 1
desc: 221 desc: 221
- identifier: 70 - identifier: 70
msg: YGOProMsgChaining msg: Chaining
code: 23401839 code: 23401839
controller: 0 controller: 0
location: 4 location: 4
...@@ -659,10 +679,10 @@ messages: ...@@ -659,10 +679,10 @@ messages:
desc: 1458569732 desc: 1458569732
chainPlayer: 81 chainPlayer: 81
- identifier: 71 - identifier: 71
msg: YGOProMsgChained msg: Chained
chainCount: 1 chainCount: 1
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -670,7 +690,7 @@ messages: ...@@ -670,7 +690,7 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -678,15 +698,15 @@ messages: ...@@ -678,15 +698,15 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 72 - identifier: 72
msg: YGOProMsgChainSolving msg: ChainSolving
chainCount: 1 chainCount: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 506 desc: 506
- identifier: 15 - identifier: 15
msg: YGOProMsgSelectCard msg: SelectCard
player: 0 player: 0
cancelable: 0 cancelable: 0
min: 1 min: 1
...@@ -744,7 +764,7 @@ messages: ...@@ -744,7 +764,7 @@ messages:
sequence: 9 sequence: 9
subsequence: 8 subsequence: 8
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 99185129 code: 99185129
previous: previous:
controller: 0 controller: 0
...@@ -757,8 +777,18 @@ messages: ...@@ -757,8 +777,18 @@ messages:
sequence: 2 sequence: 2
position: 10 position: 10
reason: 64 reason: 64
- identifier: 31
msg: ConfirmCards
player: 1
skipPanel: 0
count: 1
cards:
- code: 99185129
controller: 0
location: 2
sequence: 2
- identifier: 33 - identifier: 33
msg: YGOProMsgShuffleHand msg: ShuffleHand
player: 0 player: 0
count: 3 count: 3
cards: cards:
...@@ -766,12 +796,12 @@ messages: ...@@ -766,12 +796,12 @@ messages:
- 99185129 - 99185129
- 99185129 - 99185129
- identifier: 73 - identifier: 73
msg: YGOProMsgChainSolved msg: ChainSolved
chainCount: 1 chainCount: 1
- identifier: 74 - identifier: 74
msg: YGOProMsgChainEnd msg: ChainEnd
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -779,7 +809,7 @@ messages: ...@@ -779,7 +809,7 @@ messages:
hint1: 32768 hint1: 32768
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -787,7 +817,7 @@ messages: ...@@ -787,7 +817,7 @@ messages:
hint1: 2129920 hint1: 2129920
chains: [] chains: []
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 0 player: 0
summonableCount: 0 summonableCount: 0
summonableCards: [] summonableCards: []
...@@ -820,7 +850,7 @@ messages: ...@@ -820,7 +850,7 @@ messages:
canEp: 1 canEp: 1
canShuffle: 1 canShuffle: 1
- identifier: 70 - identifier: 70
msg: YGOProMsgChaining msg: Chaining
code: 99185129 code: 99185129
controller: 0 controller: 0
location: 2 location: 2
...@@ -830,7 +860,7 @@ messages: ...@@ -830,7 +860,7 @@ messages:
desc: 512754178 desc: 512754178
chainPlayer: 151 chainPlayer: 151
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 99185129 code: 99185129
previous: previous:
controller: 0 controller: 0
...@@ -844,10 +874,10 @@ messages: ...@@ -844,10 +874,10 @@ messages:
position: 5 position: 5
reason: 16512 reason: 16512
- identifier: 71 - identifier: 71
msg: YGOProMsgChained msg: Chained
chainCount: 1 chainCount: 1
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -855,7 +885,7 @@ messages: ...@@ -855,7 +885,7 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -863,15 +893,15 @@ messages: ...@@ -863,15 +893,15 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 72 - identifier: 72
msg: YGOProMsgChainSolving msg: ChainSolving
chainCount: 1 chainCount: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 506 desc: 506
- identifier: 15 - identifier: 15
msg: YGOProMsgSelectCard msg: SelectCard
player: 0 player: 0
cancelable: 0 cancelable: 0
min: 1 min: 1
...@@ -914,7 +944,7 @@ messages: ...@@ -914,7 +944,7 @@ messages:
sequence: 6 sequence: 6
subsequence: 8 subsequence: 8
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 14735698 code: 14735698
previous: previous:
controller: 0 controller: 0
...@@ -927,8 +957,18 @@ messages: ...@@ -927,8 +957,18 @@ messages:
sequence: 2 sequence: 2
position: 10 position: 10
reason: 64 reason: 64
- identifier: 31
msg: ConfirmCards
player: 1
skipPanel: 0
count: 1
cards:
- code: 14735698
controller: 0
location: 2
sequence: 2
- identifier: 33 - identifier: 33
msg: YGOProMsgShuffleHand msg: ShuffleHand
player: 0 player: 0
count: 3 count: 3
cards: cards:
...@@ -936,12 +976,12 @@ messages: ...@@ -936,12 +976,12 @@ messages:
- 14735698 - 14735698
- 99185129 - 99185129
- identifier: 73 - identifier: 73
msg: YGOProMsgChainSolved msg: ChainSolved
chainCount: 1 chainCount: 1
- identifier: 74 - identifier: 74
msg: YGOProMsgChainEnd msg: ChainEnd
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -949,7 +989,7 @@ messages: ...@@ -949,7 +989,7 @@ messages:
hint1: 32768 hint1: 32768
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -957,7 +997,7 @@ messages: ...@@ -957,7 +997,7 @@ messages:
hint1: 2129920 hint1: 2129920
chains: [] chains: []
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 0 player: 0
summonableCount: 0 summonableCount: 0
summonableCards: [] summonableCards: []
...@@ -984,17 +1024,17 @@ messages: ...@@ -984,17 +1024,17 @@ messages:
canEp: 1 canEp: 1
canShuffle: 1 canShuffle: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 14735698 desc: 14735698
- identifier: 18 - identifier: 18
msg: YGOProMsgSelectPlace msg: SelectPlace
player: 0 player: 0
count: 1 count: 1
flag: 4294960895 flag: 4294960895
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 14735698 code: 14735698
previous: previous:
controller: 0 controller: 0
...@@ -1008,7 +1048,7 @@ messages: ...@@ -1008,7 +1048,7 @@ messages:
position: 5 position: 5
reason: 64 reason: 64
- identifier: 70 - identifier: 70
msg: YGOProMsgChaining msg: Chaining
code: 14735698 code: 14735698
controller: 0 controller: 0
location: 8 location: 8
...@@ -1018,10 +1058,10 @@ messages: ...@@ -1018,10 +1058,10 @@ messages:
desc: 776 desc: 776
chainPlayer: 0 chainPlayer: 0
- identifier: 71 - identifier: 71
msg: YGOProMsgChained msg: Chained
chainCount: 1 chainCount: 1
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -1029,7 +1069,7 @@ messages: ...@@ -1029,7 +1069,7 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -1037,15 +1077,15 @@ messages: ...@@ -1037,15 +1077,15 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 72 - identifier: 72
msg: YGOProMsgChainSolving msg: ChainSolving
chainCount: 1 chainCount: 1
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 509 desc: 509
- identifier: 15 - identifier: 15
msg: YGOProMsgSelectCard msg: SelectCard
player: 0 player: 0
cancelable: 0 cancelable: 0
min: 1 min: 1
...@@ -1063,12 +1103,12 @@ messages: ...@@ -1063,12 +1103,12 @@ messages:
sequence: 1 sequence: 1
subsequence: 10 subsequence: 10
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 500 desc: 500
- identifier: 26 - identifier: 26
msg: YGOProMsgSelectUnselectCard msg: SelectUnselectCard
player: 0 player: 0
finishable: 0 finishable: 0
cancelable: 1 cancelable: 1
...@@ -1089,7 +1129,7 @@ messages: ...@@ -1089,7 +1129,7 @@ messages:
unselectableCount: 0 unselectableCount: 0
unselectableCards: [] unselectableCards: []
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 99185129 code: 99185129
previous: previous:
controller: 0 controller: 0
...@@ -1103,22 +1143,22 @@ messages: ...@@ -1103,22 +1143,22 @@ messages:
position: 5 position: 5
reason: 1048650 reason: 1048650
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 3 type: 3
player: 0 player: 0
desc: 99185129 desc: 99185129
- identifier: 18 - identifier: 18
msg: YGOProMsgSelectPlace msg: SelectPlace
player: 0 player: 0
count: 1 count: 1
flag: 4294967268 flag: 4294967268
- identifier: 19 - identifier: 19
msg: YGOProMsgSelectPosition msg: SelectPosition
player: 0 player: 0
code: 99185129 code: 99185129
positions: 5 positions: 5
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 99185129 code: 99185129
previous: previous:
controller: 0 controller: 0
...@@ -1132,19 +1172,19 @@ messages: ...@@ -1132,19 +1172,19 @@ messages:
position: 1 position: 1
reason: 2048 reason: 2048
- identifier: 62 - identifier: 62
msg: YGOProMsgSpSummoning msg: SpSummoning
code: 99185129 code: 99185129
controller: 0 controller: 0
location: 4 location: 4
sequence: 1 sequence: 1
position: 1 position: 1
- identifier: 63 - identifier: 63
msg: YGOProMsgSpSummoned msg: SpSummoned
- identifier: 73 - identifier: 73
msg: YGOProMsgChainSolved msg: ChainSolved
chainCount: 1 chainCount: 1
- identifier: 50 - identifier: 50
msg: YGOProMsgMove msg: Move
code: 14735698 code: 14735698
previous: previous:
controller: 0 controller: 0
...@@ -1158,9 +1198,9 @@ messages: ...@@ -1158,9 +1198,9 @@ messages:
position: 5 position: 5
reason: 1024 reason: 1024
- identifier: 74 - identifier: 74
msg: YGOProMsgChainEnd msg: ChainEnd
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -1168,7 +1208,7 @@ messages: ...@@ -1168,7 +1208,7 @@ messages:
hint1: 32768 hint1: 32768
chains: [] chains: []
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -1176,7 +1216,7 @@ messages: ...@@ -1176,7 +1216,7 @@ messages:
hint1: 8421504 hint1: 8421504
chains: [] chains: []
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 0 player: 0
summonableCount: 0 summonableCount: 0
summonableCards: [] summonableCards: []
...@@ -1194,12 +1234,12 @@ messages: ...@@ -1194,12 +1234,12 @@ messages:
canEp: 1 canEp: 1
canShuffle: 0 canShuffle: 0
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 1 type: 1
player: 1 player: 1
desc: 23 desc: 23
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -1207,22 +1247,22 @@ messages: ...@@ -1207,22 +1247,22 @@ messages:
hint1: 4 hint1: 4
chains: [] chains: []
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 512 phase: 512
- identifier: 40 - identifier: 40
msg: YGOProMsgNewTurn msg: NewTurn
player: 1 player: 1
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 1 phase: 1
- identifier: 90 - identifier: 90
msg: YGOProMsgDraw msg: Draw
player: 1 player: 1
count: 1 count: 1
cards: cards:
- 24224830 - 24224830
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 0 specialCount: 0
...@@ -1238,7 +1278,7 @@ messages: ...@@ -1238,7 +1278,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 0 desc: 0
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 2 count: 2
specialCount: 0 specialCount: 0
...@@ -1262,7 +1302,7 @@ messages: ...@@ -1262,7 +1302,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 0 desc: 0
- identifier: 53 - identifier: 53
msg: YGOProMsgPosChange msg: PosChange
card: card:
controller: 187 controller: 187
location: 24 location: 24
...@@ -1270,7 +1310,7 @@ messages: ...@@ -1270,7 +1310,7 @@ messages:
previousPosition: 3 previousPosition: 3
currentPosition: 0 currentPosition: 0
- identifier: 70 - identifier: 70
msg: YGOProMsgChaining msg: Chaining
code: 51452091 code: 51452091
controller: 0 controller: 0
location: 8 location: 8
...@@ -1280,10 +1320,10 @@ messages: ...@@ -1280,10 +1320,10 @@ messages:
desc: 520 desc: 520
chainPlayer: 0 chainPlayer: 0
- identifier: 71 - identifier: 71
msg: YGOProMsgChained msg: Chained
chainCount: 1 chainCount: 1
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 1 specialCount: 1
...@@ -1299,7 +1339,7 @@ messages: ...@@ -1299,7 +1339,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 0 desc: 0
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 1 count: 1
specialCount: 1 specialCount: 1
...@@ -1315,7 +1355,7 @@ messages: ...@@ -1315,7 +1355,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 0 desc: 0
- identifier: 53 - identifier: 53
msg: YGOProMsgPosChange msg: PosChange
card: card:
controller: 187 controller: 187
location: 24 location: 24
...@@ -1323,7 +1363,7 @@ messages: ...@@ -1323,7 +1363,7 @@ messages:
previousPosition: 3 previousPosition: 3
currentPosition: 0 currentPosition: 0
- identifier: 70 - identifier: 70
msg: YGOProMsgChaining msg: Chaining
code: 51452091 code: 51452091
controller: 0 controller: 0
location: 8 location: 8
...@@ -1333,10 +1373,10 @@ messages: ...@@ -1333,10 +1373,10 @@ messages:
desc: 264 desc: 264
chainPlayer: 0 chainPlayer: 0
- identifier: 71 - identifier: 71
msg: YGOProMsgChained msg: Chained
chainCount: 2 chainCount: 2
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 1 specialCount: 1
...@@ -1352,7 +1392,7 @@ messages: ...@@ -1352,7 +1392,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 0 desc: 0
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -1360,24 +1400,24 @@ messages: ...@@ -1360,24 +1400,24 @@ messages:
hint1: 0 hint1: 0
chains: [] chains: []
- identifier: 72 - identifier: 72
msg: YGOProMsgChainSolving msg: ChainSolving
chainCount: 2 chainCount: 2
- identifier: 73 - identifier: 73
msg: YGOProMsgChainSolved msg: ChainSolved
chainCount: 2 chainCount: 2
- identifier: 72 - identifier: 72
msg: YGOProMsgChainSolving msg: ChainSolving
chainCount: 1 chainCount: 1
- identifier: 76 - identifier: 76
msg: YGOProMsgChainDisabled msg: ChainDisabled
chainCount: 1 chainCount: 1
- identifier: 73 - identifier: 73
msg: YGOProMsgChainSolved msg: ChainSolved
chainCount: 1 chainCount: 1
- identifier: 74 - identifier: 74
msg: YGOProMsgChainEnd msg: ChainEnd
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 0 specialCount: 0
...@@ -1393,7 +1433,7 @@ messages: ...@@ -1393,7 +1433,7 @@ messages:
subsequence: 10 subsequence: 10
desc: 0 desc: 0
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 0 player: 0
count: 0 count: 0
specialCount: 0 specialCount: 0
...@@ -1401,12 +1441,12 @@ messages: ...@@ -1401,12 +1441,12 @@ messages:
hint1: 32768 hint1: 32768
chains: [] chains: []
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 1 type: 1
player: 1 player: 1
desc: 20 desc: 20
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 0 specialCount: 0
...@@ -1422,15 +1462,15 @@ messages: ...@@ -1422,15 +1462,15 @@ messages:
subsequence: 10 subsequence: 10
desc: 0 desc: 0
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 2 phase: 2
- identifier: 2 - identifier: 2
msg: YGOProMsgHint msg: Hint
type: 1 type: 1
player: 1 player: 1
desc: 21 desc: 21
- identifier: 16 - identifier: 16
msg: YGOProMsgSelectChain msg: SelectChain
player: 1 player: 1
count: 1 count: 1
specialCount: 0 specialCount: 0
...@@ -1446,10 +1486,10 @@ messages: ...@@ -1446,10 +1486,10 @@ messages:
subsequence: 10 subsequence: 10
desc: 0 desc: 0
- identifier: 41 - identifier: 41
msg: YGOProMsgNewPhase msg: NewPhase
phase: 4 phase: 4
- identifier: 11 - identifier: 11
msg: YGOProMsgSelectIdleCmd msg: SelectIdleCmd
player: 1 player: 1
summonableCount: 3 summonableCount: 3
summonableCards: summonableCards:
......
...@@ -54,7 +54,9 @@ describe("YRP", () => { ...@@ -54,7 +54,9 @@ describe("YRP", () => {
); );
const sortMesssages = (messages: MsgSnapshot[]) => const sortMesssages = (messages: MsgSnapshot[]) =>
messages messages
.filter((m) => !m.msg.includes("Hint")) .filter(
(m) => !m.msg.includes("Hint") && m.msg !== "ConfirmCards",
)
.map((m) => { .map((m) => {
// go through all properties and prune every desc // go through all properties and prune every desc
const pruneDesc = <T>(obj: T, visited = new Set<any>()): T => { const pruneDesc = <T>(obj: T, visited = new Set<any>()): T => {
......
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