Cronwerks MCCode/MCCodes Forums

Please login or register.

Login with username, password and session length

News:

Have you purchased a mod and lost your copy? Just file a support ticket through your "My Mods" page.


This forum is now closed and has moved to a new location! Click here to find out why.

AuthorTopic: Scaling Stats with Level  (Read 389 times)

aeonh

  • Basic Member
  • *
  • Reputation Power: 0
  • aeonh has no influence.
  • Offline Offline
  • Posts: 1
    • View Profile
Scaling Stats with Level
« on: October 29, 2009, 10:17:05 AM »
Is there a mod, and if not, how can I scale stats with user levels? I don't want level 1 users having more strength, agility, etc., than level 2 users, and so on. Is there a way to cap the stats depending on the user's level? Also, is there a way to program a final cap, so that users can only go as far as say... level 100 with 100 (just an example) points in each stat?
Logged

Cronus

  • Administrator
  • Senior Member
  • *****
  • Reputation Power: 2901
  • Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!
  • Offline Offline
  • Posts: 550
    • MSN Messenger - preston__08@hotmail.com
    • View Profile
    • WWW
Re: Scaling Stats with Level
« Reply #1 on: October 29, 2009, 10:26:02 AM »
You could easily do this by editing the gym and using a few if statements.

if(user is level 1 and has 100 points)
{
do not add stats to their total
}

This is obviously just a rough outline but you get the idea.
Logged
My msn is preston__08@hotmail.com if anyone is interested, I am online frequently.
 


This forum is now closed and has moved to a new location! Click here to find out why.