EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bots (https://www.eqemulator.org/forums/forumdisplay.php?f=676)
-   -   Bots lose set stats when spawned (https://www.eqemulator.org/forums/showthread.php?t=40174)

SKlife83 11-13-2015 03:53 PM

Bots lose set stats when spawned
 
I've updated the stats for every bot like hp,mana,resistances, but when i spawn them the stats are way lowered. Is there anyway to stop that?

Thanks,
Mike

Uleat 11-13-2015 04:23 PM

The way bots are currently setup, they ignore almost all stat fields in the database.

Instead, they use the default npc_types values: https://github.com/EQEmu/Server/blob.../bot.cpp#L3796

Why it's like that..I dunno...


SIDENOTE: Make sure the two lines above that say {28, 29} and not {27, 28} in your code. I fixed and committed a typo regarding that a few weeks ago.


All times are GMT -4. The time now is 03:08 PM.

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