Skip to content

Commit

Permalink
[battle] syschat info
Browse files Browse the repository at this point in the history
  • Loading branch information
fedorovvl committed Sep 6, 2023
1 parent eb71719 commit 3824460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/files/content/scripts/5-battle.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function battleSendGeneral(spec, name, targetName, type, target)
stask.uniqueID = spec.GetUniqueID();
stask.subTaskID = 0;
swmmo.application.mGameInterface.SendServerAction(95, type, target, 0, stask);
//game.chatMessage(Date.now()+' '+name.replace(/(<([^>]+)>)/gi, "") + (type == 5 ? ' x ' : ' > ') + targetName, 'battle');
game.chatMessage("({0}/{1}) {2} {3} {4}".format(battleTimedQueue.index, battleTimedQueue.len(), name.replace(/(<([^>]+)>)/gi, ""), (type == 5 ? ' x ' : ' > '), targetName), 'battle');
}
catch (error) { }
}
Expand Down

0 comments on commit 3824460

Please sign in to comment.