|
@@ -130,12 +130,30 @@ Game.prototype = {
|
|
|
},
|
|
|
calcScore: function() {
|
|
|
var score = 0;
|
|
|
- if(!isShare) {
|
|
|
- score = this.count * 2 > 70 ? 70 : this.count * 2;
|
|
|
+
|
|
|
+ // 微信分享后玩第二次, app点击后可以玩第二次
|
|
|
+
|
|
|
+ if(from_app) {
|
|
|
+ if(appClick == 1) {
|
|
|
+ score = this.count * 2 > 70 ? 70 : this.count * 2;
|
|
|
+
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ score = this.count * 2 > 100 ? 100 : this.count * 2;
|
|
|
+ }
|
|
|
}
|
|
|
else {
|
|
|
+ if(!isShare) {
|
|
|
+ score = this.count * 2 > 70 ? 70 : this.count * 2;
|
|
|
+ }
|
|
|
+ else {
|
|
|
score = this.count * 2 > 100 ? 100 : this.count * 2;
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
// if(!score)return;
|
|
|
if(score < 21) {
|
|
|
this.moneyText = 20;
|