Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
babycare_xiaoxiao
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
翁阳
babycare_xiaoxiao
Commits
616a83f6
Commit
616a83f6
authored
Jul 28, 2020
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
7f385f06
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
427 additions
and
3 deletions
+427
-3
bb.json
mock/miniTb/bb.json
+424
-0
output.js
output.js
+1
-1
output.js.map
output.js.map
+1
-1
MapScene.ts
src/scene/map/MapScene.ts
+1
-1
No files found.
mock/miniTb/bb.json
0 → 100644
View file @
616a83f6
This diff is collapsed.
Click to expand it.
output.js
View file @
616a83f6
...
@@ -21779,7 +21779,7 @@ var MapScene = (function (_super) {
...
@@ -21779,7 +21779,7 @@ var MapScene = (function (_super) {
Tools_1.Tools.gameData.loginAddPower = false;
Tools_1.Tools.gameData.loginAddPower = false;
}
}
var openPrize = GTool_1.GTool.readCache('openPrize');
var openPrize = GTool_1.GTool.readCache('openPrize');
if (Tools_1.Tools.gameData.topAward.openPrizeStatus && openPrize !== 'true') {
if (Tools_1.Tools.gameData.topAward
&& Tools_1.Tools.gameData.topAward
.openPrizeStatus && openPrize !== 'true') {
GTool_1.GTool.writeCache('openPrize', 'true');
GTool_1.GTool.writeCache('openPrize', 'true');
if (Tools_1.Tools.gameData.topAward.prize && Tools_1.Tools.gameData.topAward.prize._id) {
if (Tools_1.Tools.gameData.topAward.prize && Tools_1.Tools.gameData.topAward.prize._id) {
ctrls_1.showPanel(PrizePanel_1.PrizePanel, JSON.parse(JSON.stringify(Tools_1.Tools.gameData.topAward.prize)));
ctrls_1.showPanel(PrizePanel_1.PrizePanel, JSON.parse(JSON.stringify(Tools_1.Tools.gameData.topAward.prize)));
output.js.map
View file @
616a83f6
This diff is collapsed.
Click to expand it.
src/scene/map/MapScene.ts
View file @
616a83f6
...
@@ -60,7 +60,7 @@ export class MapScene extends Scene {
...
@@ -60,7 +60,7 @@ export class MapScene extends Scene {
}
}
let
openPrize
=
GTool
.
readCache
(
'openPrize'
);
let
openPrize
=
GTool
.
readCache
(
'openPrize'
);
if
(
Tools
.
gameData
.
topAward
.
openPrizeStatus
&&
openPrize
!==
'true'
)
{
// 开奖了,并且没弹过
if
(
Tools
.
gameData
.
topAward
&&
Tools
.
gameData
.
topAward
.
openPrizeStatus
&&
openPrize
!==
'true'
)
{
// 开奖了,并且没弹过
GTool
.
writeCache
(
'openPrize'
,
'true'
);
GTool
.
writeCache
(
'openPrize'
,
'true'
);
if
(
Tools
.
gameData
.
topAward
.
prize
&&
Tools
.
gameData
.
topAward
.
prize
.
_id
)
{
// 有奖
if
(
Tools
.
gameData
.
topAward
.
prize
&&
Tools
.
gameData
.
topAward
.
prize
.
_id
)
{
// 有奖
showPanel
(
PrizePanel
,
JSON
.
parse
(
JSON
.
stringify
(
Tools
.
gameData
.
topAward
.
prize
)));
showPanel
(
PrizePanel
,
JSON
.
parse
(
JSON
.
stringify
(
Tools
.
gameData
.
topAward
.
prize
)));
...
...
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