Open khonkhortisan opened 6 years ago
Situation: MonsterA Player1 MonsterB |wall| MonsterC Player2 MonsterD [logged] Player1 attacks monsterA. [logged] MonsterA attacks Player1. [not logged] MonsterC attacks Player2. [logged] Player2 attacks MonsterC. [not logged] MonsterB attacks Player1. [logged] MonsterD attacks Player2.
It only logs messages that involve what the current game.player can see that turn. Either it's using game.log (instead of game.logPlayer) more than it's supposed to, or it's doing a duplicate self == game.player check before calling game.logPlayer. I would rather not edit all of the calls.
Using two shadowblades with stealth on, it only logged things catching a glimpse of me after my turn and not before.
mod/class/Actor.lua:5073 game.logSeen(self, "%s casts %s.", self.name:capitalize(), ab.name)
not showing messages for other players getting messages for being hit after control has left, while being unseen by the new player etc. Need to log actions taken or received by all players, and actions taken by enemies that can be seen by any player. Requires searching all party members for main=true instead of just game.player
game.logPlayer