超级玩家
![Rank: 5](static/image/common/star_level3.gif) ![Rank: 5](static/image/common/star_level1.gif)
- 贡献度
- 0
- 金元
- 6952
- 积分
- 695
- 精华
- 0
- 注册时间
- 2011-4-20
|
{
int devLegend = this.tS_.GetDevLegend();
if (devLegend != -1)
{
this.legend = devLegend;
this.mS_.devLegendsInUse[devLegend] = true;
this.myName = this.tS_.devLegends[devLegend];
this.male = true;
if (this.mS_.devLegendsFemale[devLegend])
{
this.male = false;
}
this.s_gamedesign = 60f;
this.s_programmieren = 60f;
this.s_grafik = 60f;
this.s_sound = 60f;
this.s_pr = 60f;
this.s_gametests = 60f;
this.s_technik = 60f;
this.s_forschen = 60f;
if (this.mS_.devLegendsDesigner.Length >= 0)
{
if (this.mS_.devLegendsDesigner[devLegend])
{
this.s_gamedesign = 100f;
this.beruf = 0;
}
if (this.mS_.devLegendsProgrammierer[devLegend])
{
this.s_programmieren = 100f;
this.beruf = 1;
}
if (this.mS_.devLegendsGrafiker[devLegend])
{
this.s_grafik = 100f;
this.beruf = 2;
}
if (this.mS_.devLegendsMusiker[devLegend])
{
this.s_sound = 100f;
this.beruf = 3;
}
if (this.mS_.devLegendsForscher[devLegend])
{
this.s_forschen = 100f;
this.beruf = 7;
}
if (this.mS_.devLegendsHardware[devLegend])
{
this.s_technik = 100f;
this.beruf = 6;
}
}
else
{
this.s_gamedesign = 100f;
this.beruf = 0;
}
this.perks[1] = true;
this.perks[2] = true;
this.perks[3] = true;
this.perks[4] = true;
this.perks[6] = true;
this.perks[13] = true;
this.perks[14] = true;
this.perks[15] = true;
this.perks[23] = true;
this.perks[25] = true;
this.perks[26] = true;
this.perks[29] = true;
if (this.beruf != 0)
{
this.perks[1] = false;
}
if (this.beruf != 0)
{
this.perks[14] = false;
}
if (this.beruf != 1)
{
this.perks[3] = false;
}
if (this.beruf != 1)
{
this.perks[26] = false;
}
if (this.beruf != 2)
{
this.perks[23] = false;
}
this.tS_.GetText(427);
this.guiMain_.CreateTopNewsDevLegend(this.myName, this.beruf);
num4++;
}
}
for (int i = 0; i < 20; i++)
{
int num5 = UnityEngine.Random.Range(0, this.perks.Length);
if (num5 != 0 && num5 != 1 && this.guiMain_.uiPerks[num5] && UnityEngine.Random.Range(0, 5) == 1 && num4 < 4)
{
this.perks[num5] = true;
num4++;
if (14 == num5 && this.beruf != 0)
{
this.perks[14] = false;
}
if (3 == num5 && this.beruf > 1)
{
this.perks[3] = false;
}
if (21 == num5 && this.beruf != 1)
{
this.perks[21] = false;
}
if (23 == num5 && this.beruf != 2)
{
this.perks[23] = false;
}
if (24 == num5 && this.beruf != 1)
{
this.perks[24] = false;
}
if (25 == num5 && this.beruf != 0)
{
this.perks[25] = false;
}
if (26 == num5 && this.beruf != 1)
{
this.perks[26] = false;
}
if (num5 == 10)
{
this.perks[19] = false;
}
if (num5 == 19)
{
this.perks[10] = false;
}
if (num5 == 3)
{
this.perks[21] = false;
}
if (num5 == 21)
{
this.perks[3] = false;
}
if (num5 == 2)
{
this.perks[20] = false;
}
if (num5 == 20)
{
this.perks[2] = false;
}
if (num5 == 27)
{
this.perks[6] = false;
}
if (num5 == 6)
{
this.perks[27] = false;
}
if (num5 == 5)
{
this.perks[22] = false;
}
if (num5 == 22)
{
this.perks[5] = false;
}
if (this.perks[1])
{
if (this.perks[18])
{
this.perks[18] = false;
}
if (this.perks[19])
{
this.perks[19] = false;
}
if (this.perks[20])
{
this.perks[20] = false;
}
if (this.perks[21])
{
this.perks[21] = false;
}
if (this.perks[22])
{
this.perks[22] = false;
}
if (this.perks[27])
{
this.perks[27] = false;
}
}
if (this.perks[4])
{
if (this.perks[18])
{
this.perks[18] = false;
}
if (this.perks[19])
{
this.perks[19] = false;
}
if (this.perks[20])
{
this.perks[20] = false;
}
if (this.perks[21])
{
this.perks[21] = false;
}
if (this.perks[22])
{
this.perks[22] = false;
}
if (this.perks[27])
{
this.perks[27] = false;
}
}
if (this.beruf == 4)
{
this.perks[25] = false;
}
if (this.beruf == 6)
{
this.perks[25] = false;
}
if (this.beruf == 7)
{
this.perks[25] = false;
}
}
}
|
|