|
@@ -1350,8 +1350,7 @@ var laya = (function (exports) {
|
|
this.isboss = Number(config[this.Id - 1].boss);
|
|
this.isboss = Number(config[this.Id - 1].boss);
|
|
let GradeArray = [];
|
|
let GradeArray = [];
|
|
let num = 0;
|
|
let num = 0;
|
|
- let stage = Number(AccountManager.Instance.curplayerData.GainAccount("stage"));
|
|
|
|
- if (stage != 1) {
|
|
|
|
|
|
+ if (this.Id > 2) {
|
|
while (num == 0) {
|
|
while (num == 0) {
|
|
var random = GameTools.RandomANumber(0, gradedatas.length);
|
|
var random = GameTools.RandomANumber(0, gradedatas.length);
|
|
var value = Number(gradedatas[random]);
|
|
var value = Number(gradedatas[random]);
|
|
@@ -1387,6 +1386,7 @@ var laya = (function (exports) {
|
|
}
|
|
}
|
|
this.endposition = endpos;
|
|
this.endposition = endpos;
|
|
}
|
|
}
|
|
|
|
+ console.log("GradeArray -- ", GradeArray.length);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -3570,8 +3570,8 @@ var laya = (function (exports) {
|
|
PiaoZi() {
|
|
PiaoZi() {
|
|
let headshoot = new Laya.Image();
|
|
let headshoot = new Laya.Image();
|
|
headshoot.skin = "Game/res/textrue/headshoot.png";
|
|
headshoot.skin = "Game/res/textrue/headshoot.png";
|
|
- headshoot.scaleX = 1;
|
|
|
|
- headshoot.scaleY = 1;
|
|
|
|
|
|
+ headshoot.scaleX = 0.5;
|
|
|
|
+ headshoot.scaleY = 0.5;
|
|
headshoot.anchorX = 0.5;
|
|
headshoot.anchorX = 0.5;
|
|
headshoot.anchorY = 0.5;
|
|
headshoot.anchorY = 0.5;
|
|
Laya.stage.addChild(headshoot);
|
|
Laya.stage.addChild(headshoot);
|
|
@@ -4016,8 +4016,8 @@ var laya = (function (exports) {
|
|
PiaoZi() {
|
|
PiaoZi() {
|
|
let headshoot = new Laya.Image();
|
|
let headshoot = new Laya.Image();
|
|
headshoot.skin = "Game/res/textrue/headshoot.png";
|
|
headshoot.skin = "Game/res/textrue/headshoot.png";
|
|
- headshoot.scaleX = 1;
|
|
|
|
- headshoot.scaleY = 1;
|
|
|
|
|
|
+ headshoot.scaleX = 0.5;
|
|
|
|
+ headshoot.scaleY = 0.5;
|
|
headshoot.anchorX = 0.5;
|
|
headshoot.anchorX = 0.5;
|
|
headshoot.anchorY = 0.5;
|
|
headshoot.anchorY = 0.5;
|
|
Laya.stage.addChild(headshoot);
|
|
Laya.stage.addChild(headshoot);
|