Hey there! love the game by the way! great work! I have run into a bug with the move mud-slap. Its not so much of a bug as it is a game balancing problem. If an enemy uses mudslap on you even once, it lowers you accuracy so much its next to impossible to hit the enemy, if it is used on you pokemon a couple times, that pokemon is as good as dead.
Just a heads up! not sure if all the accuracy effecting moves are the same, but mud-slap is effected
If I am not mistaken, nilz would have used the same mechanic used to determine a moves chance of hitting ratio. Despite it being Pokemon and with all it's weird calculation methods, determining accuracy is quite easy.
The probability that a move will hit is calculated as follows:
Where:
- Abase is the base accuracy of the move (in percent - e.g. a base accuracy of 95 is counted as 0.95),
- Accuracy is the current accuracy stat of the user (in percent - e.g. raising accuracy by three stages raises this number to 2), and
- Evasion is the current evasion stat of the target (in percent - e.g. lowering evasion by two stages lowers this number to 0.6).
If P is greater than 1, the move will surely hit. In a 2-on-2 battle, it is possible for a move that hits two or three targets to miss some of the targets and hit others - the probabilities are calculated individually for each target.
This is a direct cut from bulbapedia, and you could get into the nitty-gritty about the chance of hitting moves with -6 accuracy or the opponent has +4 evasion. I for one have found that moves like mud slap do seem to lower accuracy a bit too much, but please do not forget, this game was made by a couple of people, using Microsoft XNA, XNB and .NET formatting, the game is far from perfect, and we are working on things like that. I don't want to sound like a a$$, but we are working on it, and coding attacks is quite difficult compared to things like scripting or mapping.