Skip to content

Commit

Permalink
AI: added more debbuging
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcurus committed Jan 19, 2024
1 parent 79da3ce commit 9f5931c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openlife/auto/AiBase.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ abstract class AiBase {

// if (shouldDebugSay())
myPlayer.say('could not find ${GetName(actorId)} + ${GetName(targetId)}');
trace('AAI: ${myPlayer.name + myPlayer.id} WARNING: could not find ${GetName(actorId)} + ${GetName(targetId)}');
trace('AAI: ${myPlayer.name + myPlayer.id} WARNING: could not find ${GetName(actorId)} + ${GetName(targetId) ${targetId}}');
return false;
}

Expand Down Expand Up @@ -8563,8 +8563,8 @@ abstract class AiBase {
var isRag = objectData.name.contains('RAG ');

// Devil Mask 3213
if(wornCloth.id == 3213) return false;
if (wornCloth.id == 3213) return false;

// in case of shoes either one can be needed
if (slot == 2) switchCloths = switchCloths || myPlayer.clothingObjects[3].id == 0;
if (isRag == false && wornCloth.name.contains('RAG ')) switchCloths = true;
Expand Down

0 comments on commit 9f5931c

Please sign in to comment.