Jump to content

How to adjust the experience a specific monster gives when killed?


idbeholdME

Recommended Posts

I don't want to adjust the XP globally, but only reduce/tweak it for some specific outliers, like for example the Elite red panthers near the entrance of the Blood Forest. The Elite ones give nearly 4 times as much experience as the regular ones, making them way too rewarding for the threat they pose. I would like to reduce it to the usual double, as most Elites have.

If anyone could show me how to do this with this specific creature, I'd be grateful. I think it's "panther_hellcat_elite" in creatures.txt? Couldn't find the spot in any of the script files where this could be adjusted.

Link to comment
  • 2 weeks later...
On 9/20/2023 at 12:12 AM, Flix said:

XP per Kill can be given to a monster as a bonus.  Its bonus is 26.  In this case, these are the elite hellcat's set of bonuses:

mgr.addCreatureBonus( 2973, {bonus = 20, intensity = 315,})
mgr.addCreatureBonus( 2973, {bonus = 21, intensity = 240,})
mgr.addCreatureBonus( 2973, {bonus = 22, intensity = 605,})
mgr.addCreatureBonus( 2973, {bonus = 24, intensity = 104,})
mgr.addCreatureBonus( 2973, {bonus = 26, intensity = 1600,})  -- you'd want to reduce this value
mgr.addCreatureBonus( 2973, {bonus = 256, intensity = 450,})
mgr.addCreatureBonus( 2973, {bonus = 262, intensity = 300,})
mgr.addCreatureBonus( 2973, {bonus = 398, intensity = 250,})

It can be considered a mistake in PFP on my part, as I originally assigned the XP values to be in line with D2F.

Missed the response because of no quote :oooo:

Perfect answer, thanks.

EDIT:

Adding a list of creature IDs in PFP which seem to have been given a very high XP per kill bonus that does not seem present in the vanilla. All of these give highly abnormal XP rewards when killed, so I'd suggest removing the bonus or greatly lowering it.

2973 - Elite Red Panthers in Blood Forest

mgr.addCreatureBonus( 2973, {bonus = 26, intensity = 1600,})

 

1054 - Gargantura spiders in the Blood Forest

mgr.addCreatureBonus( 1054, {bonus = 26, intensity = 2000,})

 

2977 - Bog Demons

mgr.addCreatureBonus( 2977, {bonus = 26, intensity = 3000,})

 

2833 - Mutated Skeletons

mgr.addCreatureBonus( 2833, {bonus = 26, intensity = 500,})

 

There are what I can remember right now. Will update it later. IIRC, there are a couple more outliers like this.

Edited by idbeholdME
  • Like! 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...
Please Sign In or Sign Up