Bot stats getting doubled
I have noticed with the #showstats command that stat points added to the base bot stats based on class and race are being doubled.
For example, a wood elf druid is supposed to start with 115 wisdom from what is intended in the code, but somehow its doubling the amount of points given from both race and class and it ends up with 155.
The code intends to add 35 wisdom from it being a druid (but gives 70 instead) and it intends to add 5 points from being a wood elf (but gives 10 instead).
This happens with every other class and results in our bots being way overpowered compared to the stats of the player.
How can I modify my code to fix this? (this is with the latest revision but i know the problem existed for a long while)
AC is an issue too, bots naturally have way more AC then any non geared player of the same race/class so i suspect something is also being added that shouldnt be.
Any help would be greatly appreciated , for now ill just half all the stat bonuses in my source code to even it out, although I hope somebody can fix this in the source code permamently.
|