HearthSim / python-hearthstone

Hearthstone Python library (CardDefs, DBF, enums, log parser)
MIT License
246 stars 62 forks source link

Fix guess_friendly_player helpers with the new parser #10

Closed jleclanche closed 8 years ago

jleclanche commented 8 years ago

There's a weird inter-linking between the packettree logic ("what happened from the player's POV") and the entitytree logic ("what happened in the game"). We iterate over the packets to find a specific entity not being revealed at a point we know the player couldn't have not seen it.

Or... hmm. Maybe we write a separate exporter for it?! Like a FriendlyPlayerExporter. Oh that sounds good.