Spawns - Min/Max Level

Old feature requests stored here for reference.
Locked
User avatar
Scatman
Retired
Posts: 1688
Joined: Wed Apr 16, 2008 5:44 am
EQ2Emu Server: Scatman's Word
Characters: Scatman
Location: New Jersey

Spawns - Min/Max Level

Post by Scatman » Sat May 30, 2009 1:31 pm

Did the min/max level fields for spawns ever work? I notice we have some cases where the spawns are exactly the same except their levels differ by 2 or 3 levels. We are currently making 3 different IDs for this, when every other attribute is exactly the same. So in cases where a cave serpent can spawn and be level 9, 10, or 11, we have to spawn 3 and combine them into a spawn group with a 33.33% chance to spawn. That is fine, but once we start having a cave serpent, a rat, or a spider that can spawn at each spawn point, it'll get ugly combining 3 cave serpents, 3 rats, and 3 spiders into one spawn group and adjusting their spawn percentage accordingly.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: Spawns - Min/Max Level

Post by LethalEncounter » Sun May 31, 2009 6:46 am

It will after I check my changes in.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: Spawns - Min/Max Level

Post by LethalEncounter » Sun May 31, 2009 7:48 am

One question though: Would you want me to modify the given HP/Power based on the level if you give a min_level and max_level, or just treat the HP/Power as the same for both?

User avatar
Scatman
Retired
Posts: 1688
Joined: Wed Apr 16, 2008 5:44 am
EQ2Emu Server: Scatman's Word
Characters: Scatman
Location: New Jersey

Re: Spawns - Min/Max Level

Post by Scatman » Sun May 31, 2009 7:59 am

Modify the hp/power based respective to the level if ya can.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: Spawns - Min/Max Level

Post by John Adams » Sun May 31, 2009 9:14 am

LE, would it help any to change the spawn.hp and spawn.power fields to maybe spawn.min_hp, spawn_min_power and add a max option?

If I had my way, I'd do away with these values in the DB completely, especially if you are going to ask World to determine NPC HP/Power based on it's min/max level. Those fields always left me - nervous.

And I've always craved a spawn_details table as well... matching how characters and character_details work. Don't mobs have resists, and special abilities? Not to add too much onto this request... just asking.

User avatar
Zcoretri
Team Member
Posts: 1642
Joined: Fri Jul 27, 2007 12:55 pm
Location: SoCal

Re: Spawns - Min/Max Level

Post by Zcoretri » Sun May 31, 2009 10:04 am

John Adams wrote:....
And I've always craved a spawn_details table as well... matching how characters and character_details work. Don't mobs have resists, and special abilities? Not to add too much onto this request... just asking.
Yes they do John

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: Spawns - Min/Max Level

Post by John Adams » Tue Jun 02, 2009 6:47 am

LE/Scatman, if this is fully implemented (min/max level + HP/Power calcs), I can close the request.

This and size_offset seem to work great. Just not sure if we gave you adequate feedback on HP.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: Spawns - Min/Max Level

Post by LethalEncounter » Tue Jun 02, 2009 2:23 pm

I haven't added the code to handle different hp/power yet.

User avatar
ZexisStryfe
Posts: 1026
Joined: Thu Jul 26, 2007 6:39 am
EQ2Emu Server: Sytherian Legends
Location: Connecticut
Contact:

Re: Spawns - Min/Max Level

Post by ZexisStryfe » Tue Jun 02, 2009 2:58 pm

I actually have a question regarding mob HP...

As a high end raider, one thing I notice is that on live, a lvl 86 x4 "trash" mob might have 4 million hp, however a lvl 86 x4 "boss" mob may have upwards of 12 million. If the emulator is determining HP by lvl, how do we compensate for this?
~ EQ2 Emulator Project Manager

Image
Image
Image
"Zexis, from this day forth, you shall be known as... '3 of 6'" - John Adams

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: Spawns - Min/Max Level

Post by LethalEncounter » Tue Jun 02, 2009 3:16 pm

We could base the hp/power calculations based on it's level and the difficulty of the spawn. Anyone know where I can get some combat stats for a decent variety of spawns?

User avatar
Scatman
Retired
Posts: 1688
Joined: Wed Apr 16, 2008 5:44 am
EQ2Emu Server: Scatman's Word
Characters: Scatman
Location: New Jersey

Re: Spawns - Min/Max Level

Post by Scatman » Tue Jun 02, 2009 3:17 pm

For special spawns the HP/Power can be directly modified too.

User avatar
ZexisStryfe
Posts: 1026
Joined: Thu Jul 26, 2007 6:39 am
EQ2Emu Server: Sytherian Legends
Location: Connecticut
Contact:

Re: Spawns - Min/Max Level

Post by ZexisStryfe » Tue Jun 02, 2009 3:20 pm

LethalEncounter wrote:We could base the hp/power calculations based on it's level and the difficulty of the spawn. Anyone know where I can get some combat stats for a decent variety of spawns?
See that's the thing. Both these mobs are the same level (86)and difficulty (Epicx4) but have vastly different amounts of HP.
~ EQ2 Emulator Project Manager

Image
Image
Image
"Zexis, from this day forth, you shall be known as... '3 of 6'" - John Adams

User avatar
ZexisStryfe
Posts: 1026
Joined: Thu Jul 26, 2007 6:39 am
EQ2Emu Server: Sytherian Legends
Location: Connecticut
Contact:

Re: Spawns - Min/Max Level

Post by ZexisStryfe » Tue Jun 02, 2009 3:21 pm

... and just because I wanted to hit 500 posts :P
~ EQ2 Emulator Project Manager

Image
Image
Image
"Zexis, from this day forth, you shall be known as... '3 of 6'" - John Adams

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: Spawns - Min/Max Level

Post by LethalEncounter » Tue Jun 02, 2009 3:34 pm

lol, ahh I misread your post. I thought you were saying the difference between a regular trash mob and a heroic.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: Spawns - Min/Max Level

Post by John Adams » Tue Jun 02, 2009 4:34 pm

Then it sounds like Zexis brings up a good argument for *not* letting World determine stats on-the-fly, but to store them as we would character details (which we are discussing in another thread).

Anyway, I think the min/max request is closed. Works fine. The HP/Power + other stats, we'll cover coming soon.

Thanks LE!

Locked

Who is online

Users browsing this forum: No registered users and 0 guests