Modifying Experience Gained

Discussion in 'RGSSx Script Support' started by Caedmon, Aug 26, 2016.

  1. Caedmon

    Caedmon Veteran Veteran

    Messages:
    248
    Likes Received:
    16
    Location:
    United States
    First Language:
    English
    Here is what I am trying to achieve with modifying experience:


    A = Character Level
    B = Enemy Level
    C = Enemy Max HP
    D = Damage Inflicted


    x and y are just variables needed for the final calculation.


    x = 2 ^ ((B - A)+3))
    y = x * (D/C)
    1 <= y <= x <= 48
    Experience Earned For Killing Enemy = (x + y) >= 48
    Experience Earned For Damaging Enemy = y >= 48
    Experience Earned For Multiple Enemies = Sum of each >= 48


    So basically 48 is the max experience that can be gained but it is all dependent on player and enemy levels.  Can anyone help with this? 


    Edit:


    Please note I am using GTBS for my battle system and experience is earned each turn whether you kill the enemy or not.


    Gubid's Latest Version of GTBS
     
    Last edited by a moderator: Aug 29, 2016
    #1
  2. BoredSoul

    BoredSoul Probably Drunk Veteran

    Messages:
    191
    Likes Received:
    202
    Location:
    United Kingdom,England
    First Language:
    English
    Primarily Uses:
    RMVXA
    #2
  3. Caedmon

    Caedmon Veteran Veteran

    Messages:
    248
    Likes Received:
    16
    Location:
    United States
    First Language:
    English
    Hi Bored Soul thanks for the response.  I won't need to raise levels past current boundaries so the script linked would not be necessary.  I don't need the enemy levels to be adjusting either.  Grinding is allowed in my game but knowing that if you do grind then your experience will decrease to the point it is no longer worth it.  You may get 1 exp point for killing enemies after a while.


    I don't think I need outside scripts but rather a way to call this info out from the current game and then apply the equations I listed out.
     
    #3
  4. Tsukihime

    Tsukihime Veteran Veteran

    Messages:
    8,230
    Likes Received:
    3,067
    Location:
    Toronto
    First Language:
    English
    Exp gain in RPG maker is not done using formulas; it's straight numbers that you specify under each enemy.


    You will need scripts in order to create diminishing exp rewards based on formulas.





    For example with this script, you can assign an exp formula to enemies, using things such as variables to keep track of how many times an enemy has been killed.


    However, note that exp gain is not based on each individual actor; all actors in the party receive the same exp (which may be adjusted individually based on what features they have on them)


    So you wouldn't be able to say things like "actor's level vs enemy's level" directly without using another script.
     
    Last edited by a moderator: Aug 27, 2016
    #4
  5. Caedmon

    Caedmon Veteran Veteran

    Messages:
    248
    Likes Received:
    16
    Location:
    United States
    First Language:
    English
    I should clarify I am trying to get this to work with GTBS.  So in this case I am actually looking for formulas that can be used in a TBS system where you don't always kill the enemy.  Hime I like your level difference script but I don't think it would be plug and play with GTBS.  That one would be a start on getting this formula right.
     
    #5
  6. Sixth

    Sixth Veteran Veteran

    Messages:
    2,130
    Likes Received:
    800
    First Language:
    Hungarian
    Primarily Uses:
    RMVXA
    You should probably mention that kinda important factor in the opening post.


    And add a link to the scripts you think are important for the feature you ask for.
     
    #6
  7. Caedmon

    Caedmon Veteran Veteran

    Messages:
    248
    Likes Received:
    16
    Location:
    United States
    First Language:
    English
    Sorry I edited my first post but linking the script might prove difficult.  I will have to find where it pulls the EXP in from in his system.


    Edit:


     Added link to Gubid's entire system.
     
    Last edited by a moderator: Aug 29, 2016
    #7

Share This Page