Sunday, February 13, 2011

Fixed Bug

I was able to fix the scan damage bug we were working on. I describe the fix here. We'd already found where the code was messing up (MAFH2/BattleEngine.py), so we just needed to add and delete some stuff. I had to look through the rest of the code to find how to get information about the selected enemy, but found it in the attack phase part, since we know that attacks the specified enemy. For the message window, I had to search the code for where certain messages were printed. Once we found that, we added the correct parts about hp and weakness, the details of which were found in the previous version's code (outside the MAFH2 folder).
Brittany uploaded the code to our repository on the CSCI462 playground, and I submitted the fixed version of BattleEngine.py.

We also had a team meeting over Skype with Jon. He gave us some more information on how to submit the fix using git and to address the bug report, which we will start working on before its due date next Tuesday.

No comments:

Post a Comment