Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Treysss
(2 posts) bio
|
| Date |
Sat 18 Aug 2007 12:02 PM (UTC) [ quote
] |
| Message |
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? | top |
|
| Posted by |
Nick Gammon
Australia (18,772 posts) bio
Forum Administrator |
| Date |
Reply #1 on Sat 18 Aug 2007 10:45 PM (UTC) [ quote
] |
| Message |
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
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
| Posted by |
Treysss
(2 posts) bio
|
| Date |
Reply #2 on Tue 21 Aug 2007 01:06 AM (UTC) [ quote
] |
| Message |
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. | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
1,034 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )