Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mycard Mobile
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
GaiaXalter
Mycard Mobile
Commits
ec931392
Commit
ec931392
authored
Jul 29, 2017
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加TAG自动设置16000LP
parent
ed113f9c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
package.json
package.json
+1
-1
src/app/new-room/new-room.component.html
src/app/new-room/new-room.component.html
+1
-1
src/app/new-room/new-room.component.ts
src/app/new-room/new-room.component.ts
+8
-0
No files found.
package.json
View file @
ec931392
{
{
"name"
:
"mycard-mobile"
,
"name"
:
"mycard-mobile"
,
"version"
:
"1.0.1
7
"
,
"version"
:
"1.0.1
8
"
,
"license"
:
"UNLISENCED"
,
"license"
:
"UNLISENCED"
,
"scripts"
:
{
"scripts"
:
{
"ng"
:
"ng"
,
"ng"
:
"ng"
,
...
...
src/app/new-room/new-room.component.html
View file @
ec931392
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<md-option
[value]=
"2"
>
OCG
&
TCG
</md-option>
<md-option
[value]=
"2"
>
OCG
&
TCG
</md-option>
<md-option
[value]=
"3"
>
专有卡禁止
</md-option>
<md-option
[value]=
"3"
>
专有卡禁止
</md-option>
</md-select>
</md-select>
<md-select
class=
"full-width"
placeholder=
"决斗模式"
name=
"mode"
[(ngModel)]=
"room.options.mode"
required
>
<md-select
class=
"full-width"
placeholder=
"决斗模式"
name=
"mode"
[(ngModel)]=
"room.options.mode"
(ngModelChange)=
"set_start_lp()"
required
>
<md-option
[value]=
"0"
>
单局模式
</md-option>
<md-option
[value]=
"0"
>
单局模式
</md-option>
<md-option
[value]=
"1"
>
比赛模式
</md-option>
<md-option
[value]=
"1"
>
比赛模式
</md-option>
<md-option
[value]=
"2"
>
TAG
</md-option>
<md-option
[value]=
"2"
>
TAG
</md-option>
...
...
src/app/new-room/new-room.component.ts
View file @
ec931392
...
@@ -48,4 +48,12 @@ export class NewRoomComponent {
...
@@ -48,4 +48,12 @@ export class NewRoomComponent {
this
.
ygopro
.
share
(
'
房间密码是
'
+
host_password
);
this
.
ygopro
.
share
(
'
房间密码是
'
+
host_password
);
}
}
set_start_lp
()
{
if
(
this
.
room
.
options
.
mode
==
2
)
{
this
.
room
.
options
.
start_lp
=
16000
;
}
else
{
this
.
room
.
options
.
start_lp
=
8000
;
}
}
}
}
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