The (forgive the wrong terminology, but this will be more accessible) computer has 1 hit point. It's going to regenerate 50 this turn. The attack is going to do 10 points of damage.
Somehow, the computer's supposed to come out of that with 49 hit points left.
Now, it sounds sensible -- you can only do as much damage as there were hit points at the start of the attack -- but it seems to directly contradict some other tests. (Which is to say, every time I implement something that would allow this, something else breaks and makes the test fail before it reaches the test I'm trying to pass.) One of the tests wants to limit the amount of damage possible to zero, and in doing so, makes it impossible for the damage-limited-by-hit-points thing to be true because it's asking for 75 points of damage to a 25 hit point target. It should either expect a value of 50 ( the regen value) or else not expect limits on the amount of damage. Assuming that both the damage and the regeneration are essentially "simultaneous", there shouldn't be a limit -- 10 points of damage plus 20 points of regen plus current 5 hit points should equal 15, dammit. Not 20.
I don't know what to do. I don't really know how to do this stuff, I'm just guessing. I'm too tired to ask for help on the wiki coherently. I'm going to bed.
Hell, someone probably already implemented what I did anyway, and it's just waiting to be committed or whatever the term is, I don't know. I didn't claim the story, just wanted to see what tests I could pass.