Solved Good Health per level formula

Discussion in 'Plugin Development' started by ceoepts, Apr 27, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    ceoepts

    Hello! I was thinking of creating a rpg plugin for a server or smthing and i was wondering if anyone has a good algorithm/formula for calculating how much health you should have at certain levels.

    Ex.
    Level 1 : 180 health, Level 45 : 30k health, Level 90 : 90k health

    [​IMG]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  2. You could make health = level * 2 for a rough start.
     
  3. Offline

    ceoepts

    Well that would give you 180 hp at level 90. I could make it to be 180 + (level-1) * (1000 - 2)
    But that would leave me to have 45k hp at level 45 instead 0f 30k. I want to have a slow start and make it so you gain more health the more you level
     
  4. [​IMG]
    y=2^x-5
    Forms this sort of a graph.
     
  5. Offline

    ceoepts

    Perfect. Btw what do you use to create the graph?
     
  6. I used 'Grapher' (built into Mac)
     
  7. Offline

    ceoepts

    Ok so i got a perfect algorithm.
    1.0515^30 * 1000 - 1000
    Thanks
    - Marking this as solved
     
Thread Status:
Not open for further replies.

Share This Page