Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile
Commits
7218df4d
Commit
7218df4d
authored
Mar 01, 2021
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
残局按文件名语言分别打包
parent
035f4a90
Changes
25
Show whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
368 additions
and
5 deletions
+368
-5
mobile/assets/data/single/教学1-基本操作.lua
mobile/assets/data/single/教学1-基本操作.lua
+0
-0
mobile/assets/data/single/教学2-融合召唤.lua
mobile/assets/data/single/教学2-融合召唤.lua
+0
-0
mobile/assets/data/single/教学3-同调召唤.lua
mobile/assets/data/single/教学3-同调召唤.lua
+0
-0
mobile/assets/data/single/教学4-超量召唤.lua
mobile/assets/data/single/教学4-超量召唤.lua
+0
-0
mobile/assets/data/single/教学5-灵摆召唤1.lua
mobile/assets/data/single/教学5-灵摆召唤1.lua
+0
-0
mobile/assets/data/single/教学5-灵摆召唤2.lua
mobile/assets/data/single/教学5-灵摆召唤2.lua
+0
-0
mobile/assets/data/single/教学6-连接召唤.lua
mobile/assets/data/single/教学6-连接召唤.lua
+0
-0
mobile/assets/data/single/残局-六王寻胜.lua
mobile/assets/data/single/残局-六王寻胜.lua
+32
-0
mobile/assets/data/single/残局-暗黑葬起.lua
mobile/assets/data/single/残局-暗黑葬起.lua
+25
-0
mobile/assets/data/single/残局-真印寂血.lua
mobile/assets/data/single/残局-真印寂血.lua
+82
-0
mobile/assets/data/single/混合召唤法练习1.lua
mobile/assets/data/single/混合召唤法练习1.lua
+0
-0
mobile/assets/data/single/混合召唤法练习2.lua
mobile/assets/data/single/混合召唤法练习2.lua
+0
-0
mobile/assets_en/data/single/6ace for win!.lua
mobile/assets_en/data/single/6ace for win!.lua
+1
-1
mobile/assets_en/data/single/Blood.lua
mobile/assets_en/data/single/Blood.lua
+1
-1
mobile/assets_en/data/single/[WCS2006]01_ankokukai.lua
mobile/assets_en/data/single/[WCS2006]01_ankokukai.lua
+1
-1
mobile/assets_en/data/single/special summon for beginners1.lua
...e/assets_en/data/single/special summon for beginners1.lua
+22
-0
mobile/assets_en/data/single/special summon for beginners2.lua
...e/assets_en/data/single/special summon for beginners2.lua
+30
-0
mobile/assets_en/data/single/teaching-Fusion.lua
mobile/assets_en/data/single/teaching-Fusion.lua
+27
-0
mobile/assets_en/data/single/teaching-Link.lua
mobile/assets_en/data/single/teaching-Link.lua
+21
-0
mobile/assets_en/data/single/teaching-Pendulum1.lua
mobile/assets_en/data/single/teaching-Pendulum1.lua
+20
-0
mobile/assets_en/data/single/teaching-Pendulum2.lua
mobile/assets_en/data/single/teaching-Pendulum2.lua
+25
-0
mobile/assets_en/data/single/teaching-Synchro.lua
mobile/assets_en/data/single/teaching-Synchro.lua
+25
-0
mobile/assets_en/data/single/teaching-Xyz.lua
mobile/assets_en/data/single/teaching-Xyz.lua
+27
-0
mobile/assets_en/data/single/teaching1.lua
mobile/assets_en/data/single/teaching1.lua
+25
-0
mobile/src/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
...c/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
+4
-2
No files found.
mobile/assets/data/single/
teaching1
.lua
→
mobile/assets/data/single/
教学1-基本操作
.lua
View file @
7218df4d
File moved
mobile/assets/data/single/
teaching-Fusion
.lua
→
mobile/assets/data/single/
教学2-融合召唤
.lua
View file @
7218df4d
File moved
mobile/assets/data/single/
teaching-Synchro
.lua
→
mobile/assets/data/single/
教学3-同调召唤
.lua
View file @
7218df4d
File moved
mobile/assets/data/single/
teaching-Xyz
.lua
→
mobile/assets/data/single/
教学4-超量召唤
.lua
View file @
7218df4d
File moved
mobile/assets/data/single/
teaching-Pendulum
1.lua
→
mobile/assets/data/single/
教学5-灵摆召唤
1.lua
View file @
7218df4d
File moved
mobile/assets/data/single/
teaching-Pendulum
2.lua
→
mobile/assets/data/single/
教学5-灵摆召唤
2.lua
View file @
7218df4d
File moved
mobile/assets/data/single/
teaching-Link
.lua
→
mobile/assets/data/single/
教学6-连接召唤
.lua
View file @
7218df4d
File moved
mobile/assets/data/single/残局-六王寻胜.lua
0 → 100644
View file @
7218df4d
--created by assaultcore
Debug
.
SetAIName
(
"本残局作者:突击核"
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
5
)
-- 4 = new master rule
Debug
.
SetPlayerInfo
(
0
,
8000
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
21150
,
0
,
0
)
Debug
.
AddCard
(
89943723
,
0
,
0
,
LOCATION_DECK
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
81846636
,
0
,
0
,
LOCATION_DECK
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
7394770
,
0
,
0
,
LOCATION_DECK
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
61677004
,
0
,
0
,
LOCATION_DECK
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
96227613
,
0
,
0
,
LOCATION_DECK
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
69610326
,
0
,
0
,
LOCATION_GRAVE
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
3113836
,
0
,
0
,
LOCATION_EXTRA
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
5043010
,
0
,
0
,
LOCATION_EXTRA
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
1861629
,
0
,
0
,
LOCATION_EXTRA
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
28776350
,
0
,
0
,
LOCATION_EXTRA
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
44508094
,
0
,
0
,
LOCATION_EXTRA
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
84013237
,
0
,
0
,
LOCATION_EXTRA
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
16178681
,
0
,
0
,
LOCATION_EXTRA
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
94770493
,
0
,
0
,
LOCATION_SZONE
,
2
,
POS_FACEDOWN_ATTACK
)
Debug
.
AddCard
(
75672051
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
46986419
,
0
,
0
,
LOCATION_HAND
,
1
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
64034255
,
0
,
0
,
LOCATION_HAND
,
2
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
35272499
,
0
,
0
,
LOCATION_HAND
,
3
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
70950698
,
0
,
0
,
LOCATION_HAND
,
4
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
645087
,
0
,
0
,
LOCATION_HAND
,
5
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
10000000
,
1
,
1
,
LOCATION_MZONE
,
1
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_MZONE
,
2
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
77622396
,
1
,
1
,
LOCATION_SZONE
,
2
,
POS_FACEDOWN_ATTACK
)
Debug
.
ReloadFieldEnd
()
Debug
.
ShowHint
(
"在这个回合取得胜利!"
)
Debug
.
ShowHint
(
"注意:请在系统设置中关闭自动选择卡片位置!"
)
aux
.
BeginPuzzle
()
mobile/assets/data/single/残局-暗黑葬起.lua
0 → 100644
View file @
7218df4d
Debug
.
SetAIName
(
"暗黒界の戦士達"
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
5
)
Debug
.
SetPlayerInfo
(
0
,
600
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
7000
,
0
,
0
)
Debug
.
AddCard
(
07459013
,
0
,
0
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
32619583
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
33731070
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
78004197
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
79126789
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
05498296
,
0
,
0
,
LOCATION_MZONE
,
2
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
89631139
,
1
,
1
,
LOCATION_MZONE
,
1
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
15150365
,
1
,
1
,
LOCATION_MZONE
,
2
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
89631139
,
1
,
1
,
LOCATION_MZONE
,
3
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
41142615
,
0
,
0
,
LOCATION_SZONE
,
2
,
POS_FACEDOWN
)
Debug
.
ReloadFieldEnd
()
Debug
.
ShowHint
(
"1回合內取得勝利"
)
aux
.
BeginPuzzle
()
\ No newline at end of file
mobile/assets/data/single/残局-真印寂血.lua
0 → 100644
View file @
7218df4d
--test
Debug
.
SetAIName
(
"命运英雄 血魔-D"
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
5
)
Debug
.
SetPlayerInfo
(
0
,
100
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
8000
,
0
,
0
)
local
c
=
Debug
.
AddCard
(
48333324
,
1
,
1
,
LOCATION_EXTRA
,
0
,
POS_FACEUP_ATTACK
)
--源数
function
print_hand
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
n
=
false
if
Duel
.
GetFlagEffect
(
tp
,
4392470
)
==
0
then
n
=
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
15978426
,
1
))
end
local
ac
=
Duel
.
AnnounceCard
(
tp
)
local
c
=
Duel
.
CreateToken
(
tp
,
ac
)
if
n
and
not
c
:
IsType
(
TYPE_MONSTER
)
then
Debug
.
Message
(
"只能添加怪兽卡到手卡"
)
return
end
if
n
then
Duel
.
SendtoHand
(
c
,
nil
,
REASON_RULE
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
RegisterFlagEffect
(
tp
,
4392470
,
0
,
0
,
1
)
else
Duel
.
Remove
(
c
,
POS_FACEUP
,
REASON_RULE
)
Duel
.
SendtoDeck
(
c
,
tp
,
0
,
REASON_RULE
)
end
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_BOTH_SIDE
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetOperation
(
print_hand
)
c
:
RegisterEffect
(
e1
)
Debug
.
AddCard
(
83965310
,
1
,
1
,
LOCATION_MZONE
,
2
,
POS_FACEUP_ATTACK
)
--血魔
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
AddCard
(
4392470
,
1
,
1
,
LOCATION_DECK
,
0
,
POS_FACEDOWN
)
--狮子男巫
Debug
.
ReloadFieldEnd
()
Debug
.
ShowHint
(
"这是一个印卡残局"
)
Debug
.
ShowHint
(
"点击对方额外卡组可以发动源数之力打印任意卡"
)
Debug
.
ShowHint
(
"只能打印1张怪兽卡到手卡,其他卡片将被添加到主卡组或额外卡组"
)
Debug
.
ShowHint
(
"在这个回合获胜吧!"
)
aux
.
BeginPuzzle
()
mobile/assets/data/single/
special summon for beginners
1.lua
→
mobile/assets/data/single/
混合召唤法练习
1.lua
View file @
7218df4d
File moved
mobile/assets/data/single/
special summon for beginners
2.lua
→
mobile/assets/data/single/
混合召唤法练习
2.lua
View file @
7218df4d
File moved
mobile/assets/data/single/6ace for win!.lua
→
mobile/assets
_en
/data/single/6ace for win!.lua
View file @
7218df4d
--created by assaultcore
--created by assaultcore
Debug
.
SetAIName
(
"本残局作者:突击核"
)
Debug
.
SetAIName
(
"本残局作者:突击核"
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
4
)
-- 4 = new master rule
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
5
)
-- 4 = new master rule
Debug
.
SetPlayerInfo
(
0
,
8000
,
0
,
0
)
Debug
.
SetPlayerInfo
(
0
,
8000
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
21150
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
21150
,
0
,
0
)
Debug
.
AddCard
(
89943723
,
0
,
0
,
LOCATION_DECK
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
89943723
,
0
,
0
,
LOCATION_DECK
,
0
,
POS_FACEUP_ATTACK
)
...
...
mobile/assets/data/single/Blood.lua
→
mobile/assets
_en
/data/single/Blood.lua
View file @
7218df4d
--test
--test
Debug
.
SetAIName
(
"命运英雄 血魔-D"
)
Debug
.
SetAIName
(
"命运英雄 血魔-D"
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
4
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
5
)
Debug
.
SetPlayerInfo
(
0
,
100
,
0
,
0
)
Debug
.
SetPlayerInfo
(
0
,
100
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
8000
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
8000
,
0
,
0
)
local
c
=
Debug
.
AddCard
(
48333324
,
1
,
1
,
LOCATION_EXTRA
,
0
,
POS_FACEUP_ATTACK
)
--源数
local
c
=
Debug
.
AddCard
(
48333324
,
1
,
1
,
LOCATION_EXTRA
,
0
,
POS_FACEUP_ATTACK
)
--源数
...
...
mobile/assets/data/single/[WCS2006]01_ankokukai.lua
→
mobile/assets
_en
/data/single/[WCS2006]01_ankokukai.lua
View file @
7218df4d
Debug
.
SetAIName
(
"暗黒界の戦士達"
)
Debug
.
SetAIName
(
"暗黒界の戦士達"
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
4
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
5
)
Debug
.
SetPlayerInfo
(
0
,
600
,
0
,
0
)
Debug
.
SetPlayerInfo
(
0
,
600
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
7000
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
7000
,
0
,
0
)
...
...
mobile/assets_en/data/single/special summon for beginners1.lua
0 → 100644
View file @
7218df4d
--[[message 综合残局1]]
Debug
.
SetAIName
(
"高性能电子头脑"
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
5
)
Debug
.
SetPlayerInfo
(
0
,
8000
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
4900
,
0
,
0
)
Debug
.
AddCard
(
15341821
,
0
,
0
,
LOCATION_MZONE
,
2
,
POS_FACEUP_DEFENCE
)
Debug
.
AddCard
(
58932615
,
0
,
0
,
LOCATION_MZONE
,
3
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
22837504
,
0
,
0
,
LOCATION_REMOVED
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
28637168
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
97204936
,
0
,
0
,
LOCATION_EXTRA
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
95992081
,
0
,
0
,
LOCATION_EXTRA
,
1
,
POS_FACEDOWN
)
Debug
.
AddCard
(
26563200
,
0
,
0
,
LOCATION_EXTRA
,
2
,
POS_FACEDOWN
)
Debug
.
AddCard
(
65749035
,
1
,
1
,
LOCATION_MZONE
,
2
,
POS_FACEUP_ATTACK
)
Debug
.
ReloadFieldEnd
()
Debug
.
ShowHint
(
"GAME START!"
)
aux
.
BeginPuzzle
()
mobile/assets_en/data/single/special summon for beginners2.lua
0 → 100644
View file @
7218df4d
--[[message 综合残局2]]
Debug
.
SetAIName
(
"高性能电子头脑"
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
5
)
Debug
.
SetPlayerInfo
(
0
,
8000
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
5000
,
0
,
0
)
Debug
.
AddCard
(
00027551
,
0
,
0
,
LOCATION_SZONE
,
2
,
POS_FACEDOWN
)
Debug
.
AddCard
(
33420078
,
0
,
0
,
LOCATION_GRAVE
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
50720316
,
0
,
0
,
LOCATION_GRAVE
,
1
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
01845204
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
63060238
,
0
,
0
,
LOCATION_DECK
,
1
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
15839054
,
0
,
0
,
LOCATION_DECK
,
2
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
24094653
,
0
,
0
,
LOCATION_DECK
,
3
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
45906428
,
0
,
0
,
LOCATION_DECK
,
4
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
33574806
,
0
,
0
,
LOCATION_EXTRA
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
81020646
,
0
,
0
,
LOCATION_EXTRA
,
1
,
POS_FACEDOWN
)
Debug
.
AddCard
(
34086406
,
0
,
0
,
LOCATION_EXTRA
,
2
,
POS_FACEDOWN
)
Debug
.
AddCard
(
17412721
,
0
,
0
,
LOCATION_EXTRA
,
3
,
POS_FACEDOWN
)
Debug
.
AddCard
(
74677422
,
1
,
1
,
LOCATION_MZONE
,
2
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
70342110
,
1
,
1
,
LOCATION_SZONE
,
2
,
POS_FACEDOWN
)
Debug
.
ReloadFieldEnd
()
Debug
.
ShowHint
(
"GAME START!"
)
aux
.
BeginPuzzle
()
mobile/assets_en/data/single/teaching-Fusion.lua
0 → 100644
View file @
7218df4d
--[[message 融合召唤入门]]
Debug
.
SetAIName
(
"高性能电子头脑"
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
5
)
Debug
.
SetPlayerInfo
(
0
,
1000
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
5400
,
0
,
0
)
Debug
.
AddCard
(
45906428
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
21143940
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
24094653
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
00213326
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
40044918
,
0
,
0
,
LOCATION_DECK
,
1
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
37195861
,
0
,
0
,
LOCATION_DECK
,
2
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
03642509
,
0
,
0
,
LOCATION_EXTRA
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
29095552
,
0
,
0
,
LOCATION_EXTRA
,
1
,
POS_FACEDOWN
)
Debug
.
AddCard
(
40854197
,
0
,
0
,
LOCATION_EXTRA
,
2
,
POS_FACEDOWN
)
Debug
.
AddCard
(
09348522
,
1
,
1
,
LOCATION_MZONE
,
1
,
POS_FACEUP_DEFENCE
)
Debug
.
AddCard
(
32012841
,
1
,
1
,
LOCATION_MZONE
,
2
,
POS_FACEUP_DEFENCE
)
Debug
.
AddCard
(
31305911
,
1
,
1
,
LOCATION_MZONE
,
3
,
POS_FACEUP_DEFENCE
)
Debug
.
AddCard
(
62279055
,
1
,
1
,
LOCATION_SZONE
,
2
,
POS_FACEDOWN
)
Debug
.
ReloadFieldEnd
()
Debug
.
ShowHint
(
"GAME START!"
)
aux
.
BeginPuzzle
()
mobile/assets_en/data/single/teaching-Link.lua
0 → 100644
View file @
7218df4d
--[[message 连接召唤入门]]
Debug
.
SetAIName
(
"高性能电子头脑"
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
5
)
Debug
.
SetPlayerInfo
(
0
,
100
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
3000
,
0
,
0
)
Debug
.
AddCard
(
81275020
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
--陀螺
Debug
.
AddCard
(
645087
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
--工具
Debug
.
AddCard
(
50185950
,
0
,
0
,
LOCATION_GRAVE
,
0
,
POS_FACEUP_ATTACK
)
--栗子球
Debug
.
AddCard
(
53932291
,
0
,
0
,
LOCATION_DECK
,
1
,
POS_FACEUP_ATTACK
)
--竹蜻蜓
Debug
.
AddCard
(
59546797
,
0
,
0
,
LOCATION_DECK
,
2
,
POS_FACEUP_ATTACK
)
--妖形杵
Debug
.
AddCard
(
1861629
,
0
,
0
,
LOCATION_EXTRA
,
0
,
POS_FACEDOWN
)
--解码
Debug
.
AddCard
(
46986414
,
1
,
1
,
LOCATION_MZONE
,
2
,
POS_FACEUP_ATTACK
)
--黑魔导
Debug
.
AddCard
(
62279055
,
1
,
1
,
LOCATION_SZONE
,
2
,
POS_FACEDOWN
)
--魔法筒
Debug
.
ReloadFieldEnd
()
aux
.
BeginPuzzle
()
mobile/assets_en/data/single/teaching-Pendulum1.lua
0 → 100644
View file @
7218df4d
--[[message 灵摆召唤入门1]]
Debug
.
SetAIName
(
"高性能电子头脑"
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
5
)
Debug
.
SetPlayerInfo
(
0
,
8000
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
4500
,
0
,
0
)
Debug
.
AddCard
(
17857780
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
04239451
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
92125819
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
43096270
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
15734813
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
16195942
,
0
,
0
,
LOCATION_EXTRA
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
91731841
,
1
,
1
,
LOCATION_MZONE
,
1
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
89189982
,
1
,
1
,
LOCATION_MZONE
,
2
,
POS_FACEUP_ATTACK
)
Debug
.
ReloadFieldEnd
()
Debug
.
ShowHint
(
"GAME START!"
)
aux
.
BeginPuzzle
()
mobile/assets_en/data/single/teaching-Pendulum2.lua
0 → 100644
View file @
7218df4d
--[[message 灵摆召唤入门2]]
Debug
.
SetAIName
(
"高性能电子头脑"
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
5
)
Debug
.
SetPlayerInfo
(
0
,
8000
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
4400
,
0
,
0
)
Debug
.
AddCard
(
17390179
,
0
,
0
,
LOCATION_MZONE
,
2
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
35322812
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
20409757
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
35322812
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
53129443
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
94415058
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
31386180
,
0
,
0
,
LOCATION_EXTRA
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
67284908
,
1
,
1
,
LOCATION_MZONE
,
1
,
POS_FACEUP_DEFENCE
)
Debug
.
AddCard
(
23205979
,
1
,
1
,
LOCATION_MZONE
,
2
,
POS_FACEUP_DEFENCE
)
Debug
.
AddCard
(
31305911
,
1
,
1
,
LOCATION_MZONE
,
3
,
POS_FACEUP_DEFENCE
)
Debug
.
AddCard
(
44095762
,
1
,
1
,
LOCATION_SZONE
,
2
,
POS_FACEDOWN
)
Debug
.
ReloadFieldEnd
()
Debug
.
ShowHint
(
"GAME START!"
)
aux
.
BeginPuzzle
()
mobile/assets_en/data/single/teaching-Synchro.lua
0 → 100644
View file @
7218df4d
--[[message 同调召唤入门]]
Debug
.
SetAIName
(
"高性能电子头脑"
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
5
)
Debug
.
SetPlayerInfo
(
0
,
8000
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
3100
,
0
,
0
)
Debug
.
AddCard
(
00027551
,
0
,
0
,
LOCATION_SZONE
,
2
,
POS_FACEDOWN
)
Debug
.
AddCard
(
34100324
,
0
,
0
,
LOCATION_GRAVE
,
0
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
83764718
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
96363153
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
63977008
,
0
,
0
,
LOCATION_DECK
,
1
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
40348946
,
0
,
0
,
LOCATION_DECK
,
2
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
68124775
,
0
,
0
,
LOCATION_EXTRA
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
26593852
,
0
,
0
,
LOCATION_EXTRA
,
1
,
POS_FACEDOWN
)
Debug
.
AddCard
(
34408491
,
1
,
1
,
LOCATION_MZONE
,
2
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
16527176
,
1
,
1
,
LOCATION_MZONE
,
3
,
POS_FACEUP_ATTACK
)
Debug
.
ReloadFieldEnd
()
Debug
.
ShowHint
(
"GAME START!"
)
aux
.
BeginPuzzle
()
mobile/assets_en/data/single/teaching-Xyz.lua
0 → 100644
View file @
7218df4d
--[[message 超量召唤入门]]
Debug
.
SetAIName
(
"高性能电子头脑"
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
5
)
Debug
.
SetPlayerInfo
(
0
,
8000
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
2600
,
0
,
0
)
Debug
.
AddCard
(
32807846
,
0
,
0
,
LOCATION_SZONE
,
2
,
POS_FACEDOWN
)
Debug
.
AddCard
(
40044918
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
65367484
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
79979666
,
0
,
0
,
LOCATION_DECK
,
1
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
79979666
,
0
,
0
,
LOCATION_DECK
,
2
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
28150174
,
0
,
0
,
LOCATION_EXTRA
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
82944432
,
0
,
0
,
LOCATION_EXTRA
,
1
,
POS_FACEDOWN
)
Debug
.
AddCard
(
60645181
,
0
,
0
,
LOCATION_EXTRA
,
2
,
POS_FACEDOWN
)
Debug
.
AddCard
(
61344030
,
1
,
1
,
LOCATION_MZONE
,
2
,
POS_FACEUP_DEFENCE
)
Debug
.
AddCard
(
92125819
,
1
,
1
,
LOCATION_MZONE
,
2
,
POS_FACEUP_DEFENCE
)
Debug
.
AddCard
(
92125819
,
1
,
1
,
LOCATION_MZONE
,
2
,
POS_FACEUP_DEFENCE
)
Debug
.
AddCard
(
18964575
,
1
,
1
,
LOCATION_DECK
,
1
,
POS_FACEUP_ATTACK
)
Debug
.
ReloadFieldEnd
()
Debug
.
ShowHint
(
"GAME START!"
)
aux
.
BeginPuzzle
()
mobile/assets_en/data/single/teaching1.lua
0 → 100644
View file @
7218df4d
--[[message 游戏基本操作]]
Debug
.
SetAIName
(
"高性能电子头脑"
)
Debug
.
ReloadFieldBegin
(
DUEL_ATTACK_FIRST_TURN
+
DUEL_SIMPLE_AI
,
5
)
Debug
.
SetPlayerInfo
(
0
,
8000
,
0
,
0
)
Debug
.
SetPlayerInfo
(
1
,
1500
,
0
,
0
)
Debug
.
AddCard
(
89943723
,
0
,
0
,
LOCATION_MZONE
,
2
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
94192409
,
0
,
0
,
LOCATION_SZONE
,
1
,
POS_FACEDOWN
)
Debug
.
AddCard
(
97077563
,
0
,
0
,
LOCATION_SZONE
,
2
,
POS_FACEDOWN
)
Debug
.
AddCard
(
60082869
,
0
,
0
,
LOCATION_SZONE
,
3
,
POS_FACEDOWN
)
Debug
.
AddCard
(
84749824
,
0
,
0
,
LOCATION_SZONE
,
4
,
POS_FACEDOWN
)
Debug
.
AddCard
(
62113340
,
0
,
0
,
LOCATION_HAND
,
0
,
POS_FACEDOWN
)
Debug
.
AddCard
(
34408491
,
1
,
1
,
LOCATION_MZONE
,
1
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
70781052
,
1
,
1
,
LOCATION_MZONE
,
2
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
70781052
,
1
,
1
,
LOCATION_MZONE
,
3
,
POS_FACEUP_ATTACK
)
Debug
.
AddCard
(
70342110
,
1
,
1
,
LOCATION_SZONE
,
2
,
POS_FACEDOWN
)
Debug
.
AddCard
(
97077563
,
1
,
1
,
LOCATION_SZONE
,
3
,
POS_FACEDOWN
)
Debug
.
ReloadFieldEnd
()
Debug
.
ShowHint
(
"GAME START!"
)
aux
.
BeginPuzzle
()
mobile/src/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
View file @
7218df4d
...
@@ -15,7 +15,6 @@ import android.util.Log;
...
@@ -15,7 +15,6 @@ import android.util.Log;
import
java.io.File
;
import
java.io.File
;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
cn.garymb.ygomobile.AppsSettings
;
import
cn.garymb.ygomobile.AppsSettings
;
...
@@ -205,7 +204,6 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> {
...
@@ -205,7 +204,6 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> {
AppsSettings
.
get
().
setUseExtraCards
(
false
);
AppsSettings
.
get
().
setUseExtraCards
(
false
);
}
}
}
}
//如果是新版本
//如果是新版本
if
(
needsUpdate
)
{
if
(
needsUpdate
)
{
//复制卡组
//复制卡组
...
@@ -220,6 +218,10 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> {
...
@@ -220,6 +218,10 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> {
mSettings
.
get
().
getPackDeckDir
(),
needsUpdate
);
mSettings
.
get
().
getPackDeckDir
(),
needsUpdate
);
//复制残局
//复制残局
setMessage
(
mContext
.
getString
(
R
.
string
.
check_things
,
mContext
.
getString
(
R
.
string
.
single_lua
)));
setMessage
(
mContext
.
getString
(
R
.
string
.
check_things
,
mContext
.
getString
(
R
.
string
.
single_lua
)));
File
single
=
new
File
(
mSettings
.
getSingleDir
());
if
(
single
.
exists
())
{
FileUtils
.
delFile
(
single
.
getAbsolutePath
());
}
IOUtils
.
copyFilesFromAssets
(
mContext
,
getDatapath
(
Constants
.
CORE_SINGLE_PATH
),
IOUtils
.
copyFilesFromAssets
(
mContext
,
getDatapath
(
Constants
.
CORE_SINGLE_PATH
),
mSettings
.
getSingleDir
(),
needsUpdate
);
mSettings
.
getSingleDir
(),
needsUpdate
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment