浏览代码

添加原始连衣裙并添加规则

guodong 3 年之前
父节点
当前提交
f4c3298b09

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Controller/AntiAddictionController.cs

@@ -19,7 +19,7 @@ namespace GFGGame
                 int remainMinutes = GetRemainGameMinutes();
                 if (remainMinutes <= 0)
                 {
-                    string promptStr = "您属于未成年人,已被纳入防沉迷系统。仅可在周五、周六、周日和法定节假日每日20时至21时登录游戏,目前已超出健康游戏体验时间,将强制游戏下线。";
+                    string promptStr = "您属于未成年人,账号已被纳入防沉迷系统,根据国家新闻出版署《关于防止未成年人沉迷网络游戏的通知》、《关于进一步严格管理切实防止未成年人沉迷网络游戏的通知》要求,您仅可在周五、周六、周日和法定节假日每日20时只21时登录游戏。未满8周岁用户无法充值;8周岁至未满16周岁用户单次充值不得超过50元,每月累计充值金额不得超过200元;16周岁至未满18周岁用户单次充值不得超过100元,每月累计充值金额不得超过400元。目前已超出健康游戏体验时间,将强制游戏下线。";
                     AlertSystem.Show(promptStr)
                         .SetRightButton(true, "知道啦", (object data) =>
                         {

+ 39 - 17
GameClient/Assets/Game/HotUpdate/DressUp/DressUpObjDataCache.cs

@@ -289,54 +289,76 @@ namespace GFGGame
             {
                 //检查默认资源
                 //是否有头发
-                bool has1 = false;
+                bool hasFaXing = false;
                 //是否有连衣裙
-                bool has2 = false;
+                bool hasLianYiQun = false;
                 //是否有内搭
-                bool has3 = false;
+                bool hasNeiDa = false;
                 //是否有上衣
-                // bool has4 = false;
+                 bool hasShangYi = false;
                 //是否有下装
-                bool has5 = false;
+                bool hasXiaZhuang = false;
                 //是否有默认内搭
-                // bool has30000 = false;
+                 bool hasNeiDaDefault = false;
                 //是否有默认下装
-                // bool has50000 = false;
+                 bool hasXiaZhuangDefault = false;
                 for (int i = 0; i < _equipDatas.Count; i++)
                 {
                     int itemID = (int)_equipDatas[i];
                     int subType = ItemUtilCS.GetItemSubType(itemID);
                     if (subType == (int)ConstDressUpItemType.FA_XING)
                     {
-                        has1 = true;
+                        hasFaXing = true;
                     }
                     else if (subType == ConstDressUpItemType.LIAN_YI_QUN)
                     {
-                        has2 = true;
+                        hasLianYiQun = true;
                     }
                     else if (subType == ConstDressUpItemType.NEI_DA)
                     {
-                        has3 = true;
+                        hasNeiDa = true;
                     }
                     else if (subType == ConstDressUpItemType.XIA_ZHUANG)
                     {
-                        has5 = true;
+                        hasXiaZhuang = true;
+                    }
+                    else if (subType == ConstDressUpItemType.SHANG_YI)
+                    {
+                        hasShangYi = true;
+                    }
+                    if (itemID == ConstItemID.DEFULT_NEI_DA)
+                    {
+                        hasNeiDaDefault = true;
+                    }
+                    else if (itemID == ConstItemID.DEFULT_XIA_ZHUANG)
+                    {
+                        hasXiaZhuangDefault = true;
                     }
                 }
-                if (!has1)
+                if (!hasFaXing)
                 {
                     Add(10000);
                 }
-                if (!has2)
+                if (!hasLianYiQun)
                 {
-                    if (!has5)
+                    if(!hasShangYi && (!hasNeiDa || hasNeiDaDefault) && (!hasXiaZhuang || hasXiaZhuangDefault))
                     {
-                        Add(50000);
+                        Remove(ConstItemID.DEFULT_XIA_ZHUANG);
+                        Remove(ConstItemID.DEFULT_NEI_DA);
+                        Add(ConstItemID.DEFULT_LIAN_YI_QUN);
                     }
-                    if (!has3)
+                    else
                     {
-                        Add(30000);
+                        if (!hasXiaZhuang)
+                        {
+                            Add(ConstItemID.DEFULT_XIA_ZHUANG);
+                        }
+                        if (!hasNeiDa)
+                        {
+                            Add(ConstItemID.DEFULT_NEI_DA);
+                        }
                     }
+                    
                 }
             }
         }

+ 1 - 1
GameClient/ProjectSettings/ProjectSettings.asset

@@ -256,7 +256,7 @@ PlayerSettings:
   useCustomProguardFile: 0
   AndroidTargetArchitectures: 1
   AndroidTargetDevices: 0
-  AndroidSplashScreenScale: 2
+  AndroidSplashScreenScale: 0
   androidSplashScreen: {fileID: 2800000, guid: 966dcb9a66b3b204abd4325a28c092ca, type: 3}
   AndroidKeystoreName: 
   AndroidKeyaliasName: