白河十夜 发表于 2022-8-16 14:36

改评分的怎么没有效果

按照教程上改了,评分只有91,打了真实MOD。怎么回事?
if (gS_.reviewTotal < 70)真实MOD里是50.

yellowottomany 发表于 2022-8-16 15:59

需要点那个特殊营销才有效吧

白河十夜 发表于 2022-8-16 16:59

点了,其它营销,新闻稿,没用,3和-3都改成100了。

yellowottomany 发表于 2022-8-16 17:00

白河十夜 发表于 2022-8-16 16:59
点了,其它营销,新闻稿,没用,3和-3都改成100了。
你加论坛介绍里的群问教程作者

无尽的遐想 发表于 2022-8-16 23:23

无效吗 把case1里边的全替换掉
{
            if ((!gS_.inDevelopment && !gS_.schublade) || gS_.reviewTotal > 0)
            {
                this.BUTTON_Abbrechen();
                return;
            }
            gS_.CalcReview(true);
            int num7 = 100;
            gS_.AddHype((float)num7);
            this.uiObjects[0.GetComponent<Text>().text = this.tS_.GetText(1428);
            this.uiObjects[2.GetComponent<Text>().text = "+100%";
            this.uiObjects[3.GetComponent<Image>().sprite = this.guiMain_.uiSprites[30];
            gS_.specialMarketing[kampagne = num7;
            gS_.ClearReview();
            return;
      }

无尽的遐想 发表于 2022-8-16 23:28

白河十夜 发表于 2022-8-16 16:59
点了,其它营销,新闻稿,没用,3和-3都改成100了。

你应该不会是改成text那两行的吧

白河十夜 发表于 2022-8-17 11:23

咱知道原因了
case 1:
      if ((!gS_.inDevelopment && !gS_.schublade) || gS_.reviewTotal > 0)
      {
            this.BUTTON_Abbrechen();
            return;
      }
      gS_.CalcReview(true);
      if (gS_.reviewTotal < 70)
      {
            int num3 = -3;
            gS_.AddHype((float)num3);
            this.uiObjects[0.GetComponent<Text>().text = this.tS_.GetText(1428);
            this.uiObjects[2.GetComponent<Text>().text = "-3%";
            this.uiObjects;
            gS_.specialMarketing[kampagne = num3;
      }
      else
      {
            int num4 = 3;
            gS_.AddHype((float)num4);
            this.uiObjects[0.GetComponent<Text>().text = this.tS_.GetText(1429);
            this.uiObjects[2.GetComponent<Text>().text = "+3%";
            this.uiObjects;
            gS_.specialMarketing[kampagne = num4;
      }
      gS_.ClearReview();
      return;
我們只需要更改其中的數值,把标红的3和-3都改为100即可
從上往下便是:
如果原來的熱度小於70 采用媒體宣傳稿的方法則不成功會減少3%的銷量以及評分
否則也就是熱度大於70 則成功 會增加3%的銷量以及評分
还要把百分比的3要改成100%。
作者这是大意了。

zly518ff 发表于 2023-1-23 13:42

白河十夜 发表于 2022-8-17 11:23
咱知道原因了
case 1:
      if ((!gS_.inDevelopment && !gS_.schublade) || gS_.reviewTotal > 0)


这段代码应该是:
如果原來的評分小於70 采用媒體宣傳稿的方法則不成功會減少3%的銷量以及熱度
否則也就是評分大於70 則成功 會增加3%的銷量以及熱度
评分、热度反了。如果想加评分还得加代码。
页: [1]
查看完整版本: 改评分的怎么没有效果