Mobs exp issues

Posted by Treysss on Sat 18 Aug 2007 12:02 PM — 3 posts, 11,698 views.

#0
Okay...I know this is something I should have figured out by now, but I've gone through 24 pages of the forums here and several other forums...

On mob creation (using both ORB and AreaEditor for different reasons), I'm having problems with the experience points awarded. Players gain experience for increasing skills, but on mob death, receive from 0-2 exp for my created creatures. I've tried giving the mobs (lvl 1-2) 20+ hps, 150+ hps...setting experience in the builder...no good.

I've tried importing mobs from different areas, and they seem to work fine...comparing their stats to my mobs, I can't seem to find what's causing the difference; I'm sure it's something simple.

Any help before I put my own head through a wall for being so stupid?
Australia Forum Administrator #1
Look at xp_compute in fight.c, and see the various things it takes into account in calculating the experience gain. Stuff like:

  • Mob level compared to killer level
  • Alignment bonus / penalty
  • Penalty for repeatedly killing the same mob
  • Penalty for being an experienced player
  • Maximum possible for the level

#2
I was right: I am an idiot.

I hadn't set any melee damage dice to my mobs...had just been relying on their weapons for damage, so it figured they couldn't hurt a character when it came time to figure experience.