Level Difference Exp
This script allows you to specify a “level difference” exp modifier. It introduces a “level difference” exp formula which takes the level difference
between an actor and an enemy and determines how the exp will be adjusted. This means that the amount of exp that an actor gains from an enemy is dependent on the difference between the actor’s level and the enemy’s level.
For example, if the actor’s level is higher than the enemy level, then the actor may receive less exp than if the levels were about the same. On the other hand, if the actor’s level is lower than the enemy level, then the actor may receive more exp than usual.
Download
Script: download here
Required: Core – Enemy Levels, Actor Victory Exp
Installation
Place this script below Core – Enemy Levels and Actor Victory Exp,
and above Main
Usage
Each enemy will have their own level difference exp formula, which you define
using the notetag
<level diff exp> FORMULA </level diff exp>
The formula takes two variables and returns a new number:
exp - the amount of exp that the actor could obtain from this enemy diff - the level difference between the actor and the enemy
The level difference is from the perspective of the actor. For example, if
your actor is level 1 and it defeats a level 10 enemy, then the difference
is +9 (that is, the enemy is 9 levels higher than the actor)
If no formula is defined for the enemy, then this modifier does nothing.
Examples
Suppose a level 10 slime gives 100 EXP
If your actor’s level is lower, then you want to give a bonus 10 EXP for each
level that you’re lower. However, if your actor’s level is higher, then you
want to give a 10 EXP penalty for each level. Your formula would look like this
exp + (diff * 10)
This works because if your actor is level 1, then the difference between the
actor and the slime is 9, so you will receive a total of (exp + 90). However,
if your actor was level 20, then the difference is -10, and so you will receive
a total of (exp – 100)
Suppose instead that we wanted to reward players for taking on challenges,
but didn’t want to penalize them for killing easy enemies. We can use
conditional branches in our formula like this
if diff > 0 exp + (diff * 10) else exp end
This means that if the level difference is greater than 0, that is, the actor’s
level is lower than the enemy, then the actor receives bonus EXP for each
level of difference. However, if the actor’s level isn’t lower, then the
exp rewarded is just the usual exp.
I every time used to study piece of writing in news papers but now as I am
a user of web therefore from now I am using net for articles or
reviews, thanks to web.
hey there and thank you for your information – I have definitely picked up anything new from right here.
I did however expertise several technical points using this web
site, since I experienced to reload the website a lot of
times previous to I could get it to load correctly. I had been wondering if
your web hosting is OK? Not that I’m complaining, but sluggish loading
instances times will sometimes affect your placement in google and could damage your high quality score if
advertising and marketing with Adwords. Anyway I am adding this
RSS to my email and can look out for a lot more of
your respective exciting content. Make sure you update this again very soon.
Every weekend i used to go to see this web page,
because i wish for enjoyment, as this this website conations in fact fastidious funny data too.
I used to be able to find good info from your articles.
It’s fantastic that you are getting thoughts from this piece of
writing as well as from our discussion made at this time.
It’s really a cool and helpful piece of information. I’m happy that you simply shared this
helpful info with us. Please keep us informed like this.
Thank you for sharing.
Howdy great website! Does running a blog similar to this take a great deal of work?
I’ve virtually no understanding of programming however I was hoping to
start my own blog soon. Anyways, if you have any ideas or tips
for new blog owners please share. I know this
is off subject but I just wanted to ask. Appreciate
it!
Very good post! We are linking to this great content on our website.
Keep up the great writing.
What’s up everyone, it’s my first pay a quick visit at this web page, and article is
actually fruitful for me, keep up posting these posts.
It’s an remarkable article designed for all the online users; they will obtain advantage from it I am sure.
Appreciate this post. Let me try it out.
I am no longer positive where you’re getting your info,
but great topic. I must spend some time studying much
more or understanding more. Thank you for magnificent info I was on the lookout
for this information for my mission.
This design is spectacular! You obviously know how to keep a reader entertained.
Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Great job.
I really enjoyed what you had to say, and more than that, how you presented it.
Too cool!
Thank you for sharing your info. I really appreciate your efforts and I will be waiting for your further post thank you once again.
At this time it appears like Movable Type is the preferred blogging platform available right now.
(from what I’ve read) Is that what you are using on your blog?
Keep on working, great job!
Awesome! Its genuinely remarkable post, I have got much clear
idea on the topic of from this piece of writing.
Everything is very open with a precise explanation of the
issues. It was definitely informative. Your site is very helpful.
Thank you for sharing!
Hello! I could have sworn I’ve been to this site before but after
reading through some of the post I realized it’s
new to me. Nonetheless, I’m definitely happy I found it and I’ll
be book-marking and checking back frequently!
Is there an MV plugin version of this?
Hey Hime,
Would there be any way to set a “default” formula, to avoid having to set the same formula to all enemies noteboxes in the database?
Thanks
Easiest way is to go to line 125 in the script and change the formula there. It says “exp” by default, which means the base exp the enemy provides, but you can change that as needed.
Thanks, Hime. 🙂
Hi, I don’t know if you’re still active, but I thought I’d ask just in case:
I’m using Soulpour777’s Singular Experience script. Can this script work with it? Will it still require your Actor Victory Exp script, and if so will that work with it? If not, do you expect it would take much modification to get them to work together?
Yes, Actor Victory Exp makes it so that each actor will evaluate how much EXP they get separately.
I don’t think there should be an issue between these scripts, since only the leader would get EXP.
I was wondering if ever did the patch to make this compatible with yanfly’s victory aftermath script?
No, I don’t know if I will do one.
I was wondering if you had made any progress on a patch to make this compatiable with yanfly victory aftermath.
Hiya, your scripts have helped me massively, but I’m really having no luck getting this one to work. Well, it works if I put in something simple like :
exp – diff
The logic I’m trying to use is:
if diff > 0
exp*diff+exp
else
exp*(1/(1-diff))
end
and when it’s tested, you gain 0 exp, and ‘___ gained _ exp’ isn’t displayed.
If you have any idea why this might be, it’d be a great help. Thanks
Do you have the required scripts placed above?
I do. Then after a long time being frustrated and trying various different formulas, I realised that I also had a script from someone else and it must have been incompatible with yours and that was the problem.
I like the idea of your script but I already have Yanfly ennemy level and Victory aftermath… I fear some incompability if I take the required scripts >_<"
Yes, actor victory exp is not compatible with yanfly’s victory aftermath. However, I have found that yanfly’s script provides similar functionality so maybe I can write a patch. You can use yanfly’s enemy levels script.