FOnline: Reloaded

Development => The Workshop => Topic started by: lordsaxx678 on October 13, 2020, 05:50:00 pm

Title: how do I change heath/ exp per level?
Post by: lordsaxx678 on October 13, 2020, 05:50:00 pm
I downloaded the Source code and was wondering on how to change the base starting heath and exp needed per level.
Title: Re: how do I change heath/ exp per level?
Post by: Slowhand on October 13, 2020, 11:04:23 pm
To change start max HP, find this line in 'parameters.fos' and change the value. (For example change 15 to 115 to add 100 extra starting HP)

Code: [Select]
_param_[ST_MAX_LIFE] += 15;


To change XP per level mess around with the following function, for example change 1000 to 10. (I did not test this answer, so if not correct, look for something similar in code.)

Code: [Select]
int NextLevelNeedExp(Critter& cr)   // Export
{
    int level = cr.Stat[ST_LEVEL];
    return NUMERICAL_NUMBER(level) * 1000;
}

You can also ask questions on discord #modding text channel, I don't always check forums.
Title: Re: how do I change heath/ exp per level?
Post by: lordsaxx678 on October 16, 2020, 03:56:15 am
Alright thank you  ill be sure to look into that discord server.