-updated AI to use some features from Ja2CW

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@184 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
MaddMugsy
2006-06-07 03:48:02 +00:00
parent d9dc88cc3c
commit 75d9e1b1c7
7 changed files with 982 additions and 116 deletions
+2 -2
View File
@@ -766,7 +766,7 @@ INT8 CreatureDecideActionRed(SOLDIERTYPE *pSoldier, UINT8 ubUnconsciousOK)
#ifdef DEBUGDECISIONS
STR16 tempstr;
sprintf((CHAR *)tempstr,"%s - SEEKING FRIEND at %d, MOVING to %d",
pSoldier->name,pSoldier->ubCaller,pSoldier->usActionData);
pSoldier->name,sClosestFriend,pSoldier->usActionData);
AIPopMessage(tempstr);
#endif
return(AI_ACTION_SEEK_FRIEND);
@@ -1350,7 +1350,7 @@ INT8 CreatureDecideActionBlack( SOLDIERTYPE * pSoldier )
sprintf((CHAR *) tempstr, "%d(%s) %s %d(%s) at gridno %d (%d APs aim)\n",
pSoldier->ubID,pSoldier->name,
(ubBestAttackAction == AI_ACTION_FIRE_GUN)?"SHOOTS":((ubBestAttackAction == AI_ACTION_TOSS_PROJECTILE)?"TOSSES AT":"STABS"),
BestAttack.ubOpponent, "Some Guy",
BestAttack.ubOpponent,ExtMen[BestAttack.ubOpponent].name,
BestAttack.sTarget,BestAttack.ubAimTime) ;
DebugAI( tempstr );
#endif