View Full Version : Bots lose set stats when spawned
SKlife83
11-13-2015, 03:53 PM
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/master/zone/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.
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.