其实我所做的很简单,只是把原文中的
static TGoalZombie()
{
sLifespan = 24;
sWorkRetryHours = 2; // how many hours before we try and find a place to work
sScanRadius = 3;
sPetrifyChance = 5;
sVictimDeathChance = 40;
sVictimConvertChance = 40;
sZombieDeathChance = 20;
}
这几行改成了
static TGoalZombie()
{
sLifespan = 24;
sWorkRetryHours = 3; // how many hours before we try and find a place to work
sScanRadius = 4;
sPetrifyChance = 75;
sVictimDeathChance = 0;
sVictimConvertChance = 100;
sZombieDeathChance = 0;
}
这个样子,然后在
// returns true if we got a goal to go to work
protected bool DoLookForWork()
{
这三行后面加了一行
return false;
而已。(其实那个sPetrifyChance我一开始改的是100,后来发现改成100有点太可怕了,就稍微减小了一点……)
(如果是懂英文和程序语言的应该马上就能明白我做了什么可怕的事情……)