Development::Database/World BuildingWorld Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.
Actually making NPC's a bit easier is not that hard.
What makes it possible is to reduce their MR resists, HP and max/min damage.
In combat I can take on a tough NPC but die due to not having enough DPS, or rather NPC has too many hp's etc..
To make it better, you can create a SQL like this
UPDATE npc_types SET hp=FLOOR(-5 + (25 * level) + 1.12 * (level ^ 2)) WHERE level<50;
This will in effect change the hp of all NPC's less<50 level to a predetermined value. It's a simple polynomial nth prder equation. Put it in Excel and see it's plot
GeorgeS, you are truly brilliant. I had never really considered doing the math in the SQL statements themselves... could save me hours of script writing. Hehe!
man George you are rediculous with MySQL. I would never even attempt to come up with something like that or all the mobs on my server would be messed up lol :(
man George you are rediculous with MySQL. I would never even attempt to come up with something like that or all the mobs on my server would be messed up lol :(
Thats where making a copy of the DB to practice on comes in handy
Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.