EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bots (https://www.eqemulator.org/forums/forumdisplay.php?f=676)
-   -   Bot mana regen rule description/default value is wrong (https://www.eqemulator.org/forums/showthread.php?t=34932)

louis1016 02-17-2012 01:30 AM

Bot mana regen rule description/default value is wrong
 
I noticed that the bot mana regen rule description is set to 3 with a description that the higher the value, the lower the mana regen. I just testing this with a lvl 50. The client regens at either 20 or 30 mana/tick while at value 3 in the bot rule the bot regens faster then that. At about 8 or so the mana regen for the bots start to rise well into the hundreds/per tick. At rule value 1 however it regens the same as clients. I also tested this with a lvl 20 client who regens at 10 mana/tick and the bots also regen at 10 mana/tick with the rule value set to 1.

lerxst2112 02-17-2012 01:51 AM

From the code:

Code:

        regen = regen * mana_regen_rate; // 90% of people wouldnt guess that manaregen would decrease the larger the number they input, this makes more sense

louis1016 02-17-2012 07:07 AM

Heres the DB rules description that should be changed: "Adjust mana regen for bots, 1 is fast and higher numbers slow it down 3 is about the same as players."

bad_captain 02-17-2012 11:10 AM

The value was updated in 1746_optional_sql_bot_manaregen.sql. The description should probably be updated, but the code above is correct. 1= same as client, lower number is less, higher number is more regen as you have found.


All times are GMT -4. The time now is 09:41 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.