资深玩家
  
- 贡献度
- 2023
- 金元
- 26037
- 积分
- 10706
- 精华
- 1
- 注册时间
- 2021-1-12
|
固定平台和类型
textScript添加类
private int GetGameTypeFromSonderIP(int i)
{
for (int j = 0; j <= 2; j++)
{
if (this.npcIPs.Contains("<TY" + j.ToString() + ">"))
{
return j;
}
}
return 0;
}
textScript添加类
private int GetPlatTypeFromSonderIP(int i)
{
for (int j = 0; j <= 5; j++)
{
if (this.npcIPs.Contains("<PL" + j.ToString() + ">"))
{
return j;
}
}
return 0;
}
int gameZielgruppe = 0;后加
int gameType = 0;
int platType = 0;
num2 = this.GetSubGenreFromSonderIP(i);后加
gameType = this.GetGameTypeFromSonderIP(i);
platType = this.GetPlatTypeFromSonderIP(i);
text = text.Replace("<TG" + gameZielgruppe.ToString() + ">", "");后加
text = text.Replace("<TY" + gameType.ToString() + ">", "");
text = text.Replace("<PL" + platType.ToString() + ">", "");
game_.SetMyName(text);后加
game_.gameTyp = gameType;
if (platType == 1)
{
game_.exklusiv = true;
}
if (platType == 5)
{
game_.handy = true;
}
if (platType == 4)
{
game_.arcade = true;
}
if (platType == 3)
{
game_.retro = true;
}
if (platType == 2)
{
game_.herstellerExklusiv = true;
}
改动createnewgame2
删除
if (!forceContractGame)
{
this.tS_.GetRandomNpcIP(this.myID, gameScript);
}
后面的
gameScript.gameTyp = 0;
改动SetMMOorF2P
{
if (platTyp == 0 || platTyp == 1 || platTyp == 5 || platTyp == 2)
{
if (this.IsTochterfirma())
{
if (!this.tf_allowMMO)
{
return;
}
if (!this.tf_allowF2P)
{
return;
}
if (this.tf_onlyPlayerConsole)
{
return;
}
}
if (script_.gameTyp == 2)
{
if (this.publisher && this.unlock_.Get(22))
{
script_.gameTyp = 2;
script_.exklusiv = false;
script_.herstellerExklusiv = false;
script_.verkaufspreis[0] = 0;
script_.inAppPurchase[0] = true;
script_.inAppPurchase[1] = true;
script_.inAppPurchase[2] = true;
script_.inAppPurchase[3] = true;
if (UnityEngine.Random.Range(0, 100) > 50)
{
script_.inAppPurchase[4] = true;
}
if (UnityEngine.Random.Range(0, 100) > 50)
{
script_.inAppPurchase[5] = true;
return;
}
}
}
else if (script_.gameTyp == 1 && this.gF_.gameplayFeatures_UNLOCK[23])
{
script_.gameTyp = 1;
script_.aboPreis = 5;
}
}
}
|
评分
-
1
查看全部评分
-
|