Stock AI:

-make use of trucks gifted by other players

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4610 4a71c877-e1ca-e34f-864e-861f7616d084
master
Roman C 2008-04-14 19:21:34 +00:00
parent 467d88158c
commit d63a021184
8 changed files with 72 additions and 8 deletions

View File

@ -1964,7 +1964,15 @@ event takeover(takeoverTr)
{
if( droid.player == me )
{
groupAddDroid( attackGroup, droid );
if(droid.droidType == DROID_CONSTRUCT or
droid.droidType == DROID_CYBORG_CONSTRUCT)
{
groupAddDroid( buildGroup, droid );
}
else
{
groupAddDroid( attackGroup, droid );
}
}
}

View File

@ -1964,7 +1964,15 @@ event takeover(takeoverTr)
{
if( droid.player == me )
{
groupAddDroid( attackGroup, droid );
if(droid.droidType == DROID_CONSTRUCT or
droid.droidType == DROID_CYBORG_CONSTRUCT)
{
groupAddDroid( buildGroup, droid );
}
else
{
groupAddDroid( attackGroup, droid );
}
}
}

View File

@ -1964,7 +1964,15 @@ event takeover(takeoverTr)
{
if( droid.player == me )
{
groupAddDroid( attackGroup, droid );
if(droid.droidType == DROID_CONSTRUCT or
droid.droidType == DROID_CYBORG_CONSTRUCT)
{
groupAddDroid( buildGroup, droid );
}
else
{
groupAddDroid( attackGroup, droid );
}
}
}

View File

@ -1964,7 +1964,15 @@ event takeover(takeoverTr)
{
if( droid.player == me )
{
groupAddDroid( attackGroup, droid );
if(droid.droidType == DROID_CONSTRUCT or
droid.droidType == DROID_CYBORG_CONSTRUCT)
{
groupAddDroid( buildGroup, droid );
}
else
{
groupAddDroid( attackGroup, droid );
}
}
}

View File

@ -1964,7 +1964,15 @@ event takeover(takeoverTr)
{
if( droid.player == me )
{
groupAddDroid( attackGroup, droid );
if(droid.droidType == DROID_CONSTRUCT or
droid.droidType == DROID_CYBORG_CONSTRUCT)
{
groupAddDroid( buildGroup, droid );
}
else
{
groupAddDroid( attackGroup, droid );
}
}
}

View File

@ -1964,7 +1964,15 @@ event takeover(takeoverTr)
{
if( droid.player == me )
{
groupAddDroid( attackGroup, droid );
if(droid.droidType == DROID_CONSTRUCT or
droid.droidType == DROID_CYBORG_CONSTRUCT)
{
groupAddDroid( buildGroup, droid );
}
else
{
groupAddDroid( attackGroup, droid );
}
}
}

View File

@ -1964,7 +1964,15 @@ event takeover(takeoverTr)
{
if( droid.player == me )
{
groupAddDroid( attackGroup, droid );
if(droid.droidType == DROID_CONSTRUCT or
droid.droidType == DROID_CYBORG_CONSTRUCT)
{
groupAddDroid( buildGroup, droid );
}
else
{
groupAddDroid( attackGroup, droid );
}
}
}

View File

@ -1964,7 +1964,15 @@ event takeover(takeoverTr)
{
if( droid.player == me )
{
groupAddDroid( attackGroup, droid );
if(droid.droidType == DROID_CONSTRUCT or
droid.droidType == DROID_CYBORG_CONSTRUCT)
{
groupAddDroid( buildGroup, droid );
}
else
{
groupAddDroid( attackGroup, droid );
}
}
}