Spawns Without Rewards

Development forum for the EQ2Emulator Database project.

Moderator: Team Members

Post Reply
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:

Spawns Without Rewards

Post by John Adams » Sat Oct 20, 2012 10:24 am

From IRC:
[01:11] <@Xinux> need to remeber a power infused Haoaeran should not give exp when it dies
[01:12] <@Jabantiz> think we may need to add a db field for if a mob can give xp or not
Got me thinking about this. We can simply add a field "no_xp", but that's limiting. What if instead we add a "flags" field (we do love bitwise values), so we can set a spawn to a number of different things - like, no xp, no loot (override), no quest, any type of reward, and then even get into it's immunities (unless we plan to control that via spawn_npc_spells)

Another thought, would we set this in `spawn` itself, which means *any* pop of that spawn ID is governed by these flags? Or (imo) should it be in `spawn_location_placement`, because that is wherever the spawn happens to be standing and is thus limited to exactly that one spawned NPC?

Posting this so we don't forget, since it was brought up :)

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Spawns Without Rewards

Post by Jabantiz » Sat Oct 20, 2012 2:25 pm

The flags Idea sounds good to me as we need to track a lot more stuff as well so 1 field would work as compared to 20 new fields. I would suggest it be by location so we don't need several spawn records for the same spawn just with a diffrent flag set.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests