Jelajahi Sumber

修改配置表配置

sa03 6 tahun lalu
induk
melakukan
018c570081

+ 1 - 1
assets/scripts/data/dailyTask.js

@@ -1 +1 @@
-module.exports=[{"id":1,"picId":10001,"desc":"每日登录","degree":10,"typeDesc":"签到","coin":0,"diamond":10,"ticket":0,"link":0},{"id":2,"picId":10002,"desc":"去访问一次他人公司","degree":10,"typeDesc":"访问","coin":25000,"diamond":0,"ticket":0,"link":101},{"id":3,"picId":10003,"desc":"培养一次我的艺人","degree":10,"typeDesc":"培养","coin":25000,"diamond":0,"ticket":0,"link":101},{"id":4,"picId":10004,"desc":"在地图中收取一次金币","degree":10,"typeDesc":"收钱","coin":0,"diamond":0,"ticket":100,"link":102},{"id":5,"picId":10005,"desc":"召回一次我的艺人","degree":20,"typeDesc":"召回","coin":0,"diamond":0,"ticket":100,"link":101},{"id":6,"picId":10006,"desc":"驱赶一次他人艺人","degree":20,"typeDesc":"驱赶","coin":0,"diamond":0,"ticket":100,"link":101}]
+module.exports=[{"id":1,"picId":10001,"title":"乐于育人","desc":"培养3次我的艺人","degree":10,"typeDesc":"培养","order":1,"coin":0,"diamond":10,"ticket":0,"link":101},{"id":2,"picId":10002,"title":"出行随访","desc":"去访问一次他人地盘","degree":10,"typeDesc":"访问","order":2,"coin":25000,"diamond":0,"ticket":0,"link":101},{"id":3,"picId":10003,"title":"专业猎头","desc":"成功抢夺1名艺人","degree":20,"typeDesc":"抢夺","order":3,"coin":25000,"diamond":0,"ticket":0,"link":101},{"id":4,"picId":10004,"title":"快乐分享","desc":"分享3次链接到微信群","degree":20,"typeDesc":"分享","order":4,"coin":0,"diamond":0,"ticket":100,"link":102},{"id":5,"picId":10005,"title":"建设大亨","desc":"升级25级任意房间","degree":20,"typeDesc":"建筑升级","order":5,"coin":0,"diamond":0,"ticket":100,"link":100},{"id":6,"picId":10006,"title":"指路名师","desc":"成功进阶1名艺人","degree":20,"typeDesc":"进阶","order":6,"coin":0,"diamond":0,"ticket":100,"link":101}]

+ 1 - 0
assets/scripts/data/mainTask.js

@@ -0,0 +1 @@
+module.exports=[{"taskId":1,"name":"娱乐大亨","msg":"星级达到${num}","aim":[20,50,100,200,500],"bonus":[{"1":200},{"2":200},{"3":200},{"1":200},{"2":200}]},{"taskId":2,"name":"高朋满座","msg":"好友数量达到${num}","aim":[5,10,20,30,50],"bonus":[{"1":200},{"2":200},{"3":200},{"1":200},{"2":200}]},{"taskId":3,"name":"环游世界","msg":"开启${num}个城市","aim":[2,4,8,15,30],"bonus":[{"1":200},{"2":200},{"3":200},{"1":200},{"2":200}]},{"taskId":4,"name":"艺人多多","msg":"旗下艺人数量达到${num}","aim":[2,4,8,12,20],"bonus":[{"1":200},{"2":200},{"3":200},{"1":200},{"2":200}]},{"taskId":5,"name":"众星云集","msg":"拥有${num}个6级以上的艺人","aim":[1,3,6,10,15],"bonus":[{"1":200},{"2":200},{"3":200},{"1":200},{"2":200}]}]

TEMPAT SAMPAH
tools/excel/allstar_mainTask.xls


+ 3 - 0
tools/mongo.js

@@ -97,6 +97,9 @@ const formatType = function(target, type) {
         case 'object':
             target = JSON.parse(target)
             break;
+        case 'array':
+            target = JSON.parse(target)
+            break;
         default:
             break;
     }

+ 1 - 1
tools/sheet/dailyTask.json

@@ -1 +1 @@
-[{"id":1,"picId":10001,"desc":"每日登录","degree":10,"typeDesc":"签到","coin":0,"diamond":10,"ticket":0,"link":0},{"id":2,"picId":10002,"desc":"去访问一次他人公司","degree":10,"typeDesc":"访问","coin":25000,"diamond":0,"ticket":0,"link":101},{"id":3,"picId":10003,"desc":"培养一次我的艺人","degree":10,"typeDesc":"培养","coin":25000,"diamond":0,"ticket":0,"link":101},{"id":4,"picId":10004,"desc":"在地图中收取一次金币","degree":10,"typeDesc":"收钱","coin":0,"diamond":0,"ticket":100,"link":102},{"id":5,"picId":10005,"desc":"召回一次我的艺人","degree":20,"typeDesc":"召回","coin":0,"diamond":0,"ticket":100,"link":101},{"id":6,"picId":10006,"desc":"驱赶一次他人艺人","degree":20,"typeDesc":"驱赶","coin":0,"diamond":0,"ticket":100,"link":101}]
+[{"id":1,"picId":10001,"title":"乐于育人","desc":"培养3次我的艺人","degree":10,"typeDesc":"培养","order":1,"coin":0,"diamond":10,"ticket":0,"link":101},{"id":2,"picId":10002,"title":"出行随访","desc":"去访问一次他人地盘","degree":10,"typeDesc":"访问","order":2,"coin":25000,"diamond":0,"ticket":0,"link":101},{"id":3,"picId":10003,"title":"专业猎头","desc":"成功抢夺1名艺人","degree":20,"typeDesc":"抢夺","order":3,"coin":25000,"diamond":0,"ticket":0,"link":101},{"id":4,"picId":10004,"title":"快乐分享","desc":"分享3次链接到微信群","degree":20,"typeDesc":"分享","order":4,"coin":0,"diamond":0,"ticket":100,"link":102},{"id":5,"picId":10005,"title":"建设大亨","desc":"升级25级任意房间","degree":20,"typeDesc":"建筑升级","order":5,"coin":0,"diamond":0,"ticket":100,"link":100},{"id":6,"picId":10006,"title":"指路名师","desc":"成功进阶1名艺人","degree":20,"typeDesc":"进阶","order":6,"coin":0,"diamond":0,"ticket":100,"link":101}]

+ 1 - 0
tools/sheet/mainTask.json

@@ -0,0 +1 @@
+[{"taskId":1,"name":"娱乐大亨","msg":"星级达到${num}","aim":[20,50,100,200,500],"bonus":[{"1":200},{"2":200},{"3":200},{"1":200},{"2":200}]},{"taskId":2,"name":"高朋满座","msg":"好友数量达到${num}","aim":[5,10,20,30,50],"bonus":[{"1":200},{"2":200},{"3":200},{"1":200},{"2":200}]},{"taskId":3,"name":"环游世界","msg":"开启${num}个城市","aim":[2,4,8,15,30],"bonus":[{"1":200},{"2":200},{"3":200},{"1":200},{"2":200}]},{"taskId":4,"name":"艺人多多","msg":"旗下艺人数量达到${num}","aim":[2,4,8,12,20],"bonus":[{"1":200},{"2":200},{"3":200},{"1":200},{"2":200}]},{"taskId":5,"name":"众星云集","msg":"拥有${num}个6级以上的艺人","aim":[1,3,6,10,15],"bonus":[{"1":200},{"2":200},{"3":200},{"1":200},{"2":200}]}]