|
|
|
|
|
by aeorgnoieang
2959 days ago
|
|
Can't you infer what enemy you're facing based on the damage they do to you? In the original, [ruby-warrior](https://github.com/ryanb/ruby-warrior), you can `listen` (at some point) to get an array of occupied spaces and then you can check if a space contains an enemy. If you're not immediately adjacent to an enemy but your warrior is taking damage you can infer you're being attacked by an archer (or another enemy with a ranged attack). |
|