lungdart/discord_rpg_bot

Implement leveling

Closed this issue · 3 comments

  • When getting experience, if the cap is reached, increment level and wrap around
  • When leveled, notify the user and give stat points to spend
  • Implement commands to spend stat points
  • Implement command to remove all stat points and start over again.
    • Does it cost gold?
    • Maybe do some prestige system instead?? (Restart everything with some sort of a bonus?)

XP gained from battle

  • Give everyone 100xp
  • Give the winner a bonus 150xp

Auto level

  • When xp is given, automatically increment the level, and PM the user they have skill points to spend

Spending points

Improve a single skill at a time, with as many points as you want
!improve <CORE STAT NAME> <POINTS>=1

Restarting points

You can't unspend a single point, but you can remove ALL points
!restart

To keep track of points spent, the base stat should contain the base value and points separately.

Then resetting points is easy

Leveling finished