Closed rainybreeze777 closed 10 years ago
Bug fixed. Cause: in PlayerInteraction.java, function combat(), after damage dealt to enemy has been calculated, enemy.changehp(damage) was not called afterwards, thus no hp change to target enemy.
Solution: Added enemy.changehp(damage).
When issuing attack command, the player successfully landed a hit on the target monster; however, no damage have been actually dealt to the monsters, thus leading to the result that monsters are invulnerable.