Jump to content
  • 0

XP Percentage deduction from player


Stan

Question

Greetings wonderful community of Intersect!


I have got a question regarding the substract of XP.

I'm looking to develop an event (That later will be put inside a spell) which makes the user to lose certain percentages of its current XP every time he uses it. I'm looking to make it different percentages lost each time.

 

But my principal question: Is this even possible using the Intersect Editor, or would it be strictly needed to use code for something like this to work?

Thank you! 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hi, no the base engine can't do that neither the event system which can only give xp. Surely if know C# you could add it the spell editor consuming like hp/mp. Though adding this feature would require for you to see how to implant it; if the player's current xp is less than the requirement should the player be casting the spell for a level cost or not.

Else an other way would be by changing the 'give xp' option to 'change xp' (which from my point of vu should already been made). Thought this would also mean if the player loose a level or not.

Link to comment
Share on other sites

  • 0
On 1/12/2025 at 10:58 PM, Gibier said:

Hi, no the base engine can't do that neither the event system which can only give xp. Surely if know C# you could add it the spell editor consuming like hp/mp. Though adding this feature would require for you to see how to implant it; if the player's current xp is less than the requirement should the player be casting the spell for a level cost or not.

Else an other way would be by changing the 'give xp' option to 'change xp' (which from my point of vu should already been made). Thought this would also mean if the player loose a level or not.

 

I thought it has this ability to do this now with events? Never had to use lose experience, but I can see an option to "Enable Losing Levels?" in the "Give Experience command":

 

cb5e62e429251e8bef532088f6d39db1.png

 

I have however just testing and it doesn't seem to be working correctly. Seem very temperamental

 

When I try to lose -10 exp based on above event, nothing happens. If I "Enable losing levels?", it randomly does either:

  • Removes all experience, no matter what value or current player experience.
  • Reduce a level, but keep experience the same.
  • Do nothing.

Is this bug possibly? Should it have the ability to lose experience and levels now?

 

Ive tried as both a common event and map event.

 

I've not testing on the latest build which I will do tonight after work, but I think this isn't working as intended.

 

 

Link to comment
Share on other sites

  • 0
3 hours ago, Ainz Ooal Gown said:

 

I thought it has this ability to do this now with events? Never had to use lose experience, but I can see an option to "Enable Losing Levels?" in the "Give Experience command":

 

cb5e62e429251e8bef532088f6d39db1.png

 

I have however just testing and it doesn't seem to be working correctly. Seem very temperamental

 

When I try to lose -10 exp based on above event, nothing happens. If I "Enable losing levels?", it randomly does either:

  • Removes all experience, no matter what value or current player experience.
  • Reduce a level, but keep experience the same.
  • Do nothing.

Is this bug possibly? Should it have the ability to lose experience and levels now?

 

Ive tried as both a common event and map event.

 

I've not testing on the latest build which I will do tonight after work, but I think this isn't working as intended.

 

 

 

Either this wasn't a feature the day I replied or I was missing an/few update

Link to comment
Share on other sites

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...