View Full Version : Possible to change a single npc's exp yield?
moydock
08-09-2007, 09:17 PM
Is it possible? I didn't see a field in npc_types or spawn2. For instance i want to make a high lvl mob with very low hps, but i don't want ppl to be able to level like crazy off of them. I thought about setting the mob to a low lvl and making him hit harder but then they won't aggro no matter how large i make their agro radius.
John Adams
08-10-2007, 01:36 AM
If you are not talking about the global Experience gain rules, you could setup a quest script to give exp on death.
techguy84
08-10-2007, 04:06 AM
You could change the faction of the mob to something that would agro everything. I am not sure what this something would be, but im sure there is something in the DB.
moydock
08-10-2007, 10:26 AM
If you are not talking about the global Experience gain rules, you could setup a quest script to give exp on death.
Oh, good idea, will that value override the exp they would normally get from the kill?
Yeah techguy, i've got that set, the problem is sufficiently lower green mobs will never attack you in emu. They did in live, they just had lower and lower agro range until you had to be right ontop of them and then it would stay there. Speaking of that, anyone know where the code is that determines agro radius for green cons? Maybe i can figure out how to fix it.
John Adams
08-10-2007, 02:13 PM
C'mon guys, way too many easy questions just being thrown all over the forums lately. Do some simple research, and most of your answers are staring you in the face. Such as a field in the npc_types table called "aggroradius"? Wonder what that's for? Hmm!
Sorry, don't mean to be a dick... count your blessings Mattmeck is on hiatus. ;)
moydock
08-10-2007, 03:45 PM
Umm, maybe i didn't phrase that correctly. I'm well aware of the aggroradius field.
No matter how high you set that though, if the mob is sufficiently lower than you, they will not aggro no matter what.
John Adams
08-10-2007, 04:39 PM
They are smarter than you think. No mob wants to face certain death. If they have no chance of winning, they will sit idly by and pretend they don't notice you.
Then there are those skellies and orc pawns. I can be level 70, and a skelly in commons will attack me. Must be cuz they got no brains.
(check out how a commons skelly is set up ;))
moydock
08-10-2007, 04:48 PM
Oh crap! Totally forgot, must have to set em to undead. TY sir.
moydock
08-10-2007, 09:13 PM
Hrmm, aparently it is broken, still not agroing me until i'm within about 13 levels of them.
moydock
08-13-2007, 11:43 PM
Are undead broken on anyone else's server? As in they don't aggro players about 8+ lvls higher than them.
BWStripes
08-24-2007, 10:56 AM
Undead work on my server :)
The clue was check the setup of a skeleton; check the int value. The code figures dumb mobs (values <= 75) should attack regardless.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.