mirror of
https://github.com/veden/Rampant.git
synced 2025-01-03 22:52:20 +02:00
increased migration chance be 5%
This commit is contained in:
parent
90af274ae3
commit
014f83dba0
@ -101,7 +101,7 @@ function aiPlanning.planning(natives, evolution_factor, tick)
|
|||||||
natives.state = AI_STATE_PEACEFUL
|
natives.state = AI_STATE_PEACEFUL
|
||||||
else
|
else
|
||||||
roll = mRandom()
|
roll = mRandom()
|
||||||
if (roll < 0.70) then
|
if (roll < 0.65) then
|
||||||
natives.state = AI_STATE_AGGRESSIVE
|
natives.state = AI_STATE_AGGRESSIVE
|
||||||
elseif ((natives.enabledMigration) and (natives.expansion) and (roll < 0.75)) then
|
elseif ((natives.enabledMigration) and (natives.expansion) and (roll < 0.75)) then
|
||||||
natives.state = AI_STATE_MIGRATING
|
natives.state = AI_STATE_MIGRATING
|
||||||
|
Loading…
Reference in New Issue
Block a user