Page 1 of 1

Spawns Without Rewards

Posted: Sat Oct 20, 2012 10:24 am
by John Adams
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 :)

Re: Spawns Without Rewards

Posted: Sat Oct 20, 2012 2:25 pm
by Jabantiz
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.