mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Fix: fixed raid attack times
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8555 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1168,12 +1168,10 @@ void HandleRaidEventPlanning()
|
||||
// attack random sector
|
||||
if ( raidtype == 0 )
|
||||
// bloodcats only attack at night (it is 7:00 now)
|
||||
//AddStrategicEvent( EVENT_BLOODCAT_ATTACK, GetWorldTotalMin() + 14 * 60 + Random(10 * 60), sector );
|
||||
AddStrategicEvent( EVENT_BLOODCAT_ATTACK, GetWorldTotalMin() + 12 * 60 + 30, sector );
|
||||
AddStrategicEvent( EVENT_BLOODCAT_ATTACK, GetWorldTotalMin() + 14 * 60 + Random(10 * 60), sector );
|
||||
else
|
||||
// other attacks can happen all the time
|
||||
//AddStrategicEvent( EVENT_BLOODCAT_ATTACK + raidtype, GetWorldTotalMin() + Random( 24 * 60 ), sector );
|
||||
AddStrategicEvent( EVENT_BLOODCAT_ATTACK + raidtype, GetWorldTotalMin() + 13 * 60 + 15, sector );
|
||||
AddStrategicEvent( EVENT_BLOODCAT_ATTACK + raidtype, GetWorldTotalMin() + Random( 24 * 60 ), sector );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user