Files
LGram16 dd97ddec92 Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code:
- Client: Game client source (moved to Client/Client/)
- Server: Game server source
- GameTools: Development tools
- CryptoSource: Encryption utilities
- database: Database scripts
- Script: Game scripts
- rylCoder_16.02.2008_src: Legacy coder tools
- GMFont, Game: Additional resources

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 20:17:20 +09:00

336 lines
5.0 KiB
C++

#ifndef _EXP_TABLE_H_
#define _EXP_TABLE_H_
#include <Utility/Setup/ServerSetup.h>
namespace EXP
{
static unsigned char GetUsingMaxLevel(void)
{
if (true == CServerSetup::GetInstance().UseContents(GameRYL::LEVEL_LIMIT_100))
{
return 100;
}
else if (true == CServerSetup::GetInstance().UseContents(GameRYL::LEVEL_LIMIT_90))
{
return 90;
}
else
{
return 80;
}
}
const __int64 ExpTable[Creature::PC_MAX_LEVEL] = {
200 ,
300 ,
422 ,
571 ,
752 ,
974 ,
1244 ,
1574 ,
1976 ,
2467 ,
3066 ,
3796 ,
4687 ,
5775 ,
7101 ,
8719 ,
10693 ,
13102 ,
16040 ,
19625 ,
23999 ,
29335 ,
35844 ,
43786 ,
53475 ,
65296 ,
79717 ,
97310 ,
118774 ,
144961 ,
176908 ,
215884 ,
263434 ,
321446 ,
392220 ,
478564 ,
583905 ,
712420 ,
869208 ,
1060490 ,
1293854 ,
1578557 ,
1925896 ,
2349649 ,
2866628 ,
3497342 ,
4266813 ,
5205568 ,
6350849 ,
7748092 ,
9452728 ,
11532384 ,
14069565 ,
17164925 ,
20941264 ,
25548398 ,
31169102 ,
38026360 ,
46392216 ,
56598559 ,
69050298 ,
84241420 ,
102774588 ,
125385054 ,
152969821 ,
186623238 ,
227680407 ,
277770152 ,
338879641 ,
413433218 ,
504388583 ,
615354127 ,
750732091 ,
915893207 ,
1117389768 ,
1363215573 ,
1663123055 ,
2029010183 ,
2475392479 ,
3019978881 ,
3684374291 ,
4494936691 ,
5483822818 ,
6690263894 ,
8162122007 ,
9957788905 ,
12148502520 ,
14821173130 ,
18081831275 ,
22059834211 ,
26912997794 ,
32833857365 ,
40057306041 ,
48869913426 ,
59621294436 ,
72737979268 ,
88740334762 ,
108263208466 ,
132081114385 ,
132081114385 // 100·¹º§ ºÎÅÍ ÀÌÇØ ¸øÇØ-_-
};
const unsigned long ExpCapTable[Creature::PC_MAX_LEVEL] = {
58,
62,
67,
72,
82,
86,
96,
202,
221,
240,
259,
278,
298,
326,
355,
384,
413,
442,
480,
518,
566,
605,
653,
710,
768,
826,
893,
970,
1046,
1133,
1219,
1315,
1421,
1536,
1661,
1795,
1939,
2093,
2266,
2438,
2640,
2851,
3082,
3322,
3590,
3878,
4186,
4522,
4886,
5280,
5702,
6163,
6653,
7181,
7757,
8381,
9053,
9773,
10560,
11405,
12317,
13306,
14371,
15514,
16762,
18096,
19546,
21110,
22800,
24624,
26602,
28723,
31027,
33504,
36192,
39082,
42211,
45590,
49238,
53174,
57427,
62026,
66989,
72346,
78134,
84384,
91133,
98419,
106301,
114806,
123984,
133910,
144624,
156192,
168682,
182179,
196752,
212496,
229498,
247853
};
const float ExpConvertTable[Creature::PC_MAX_LEVEL] =
{
1.2f,
0.652173913f,
0.395833333f,
0.221052632f,
0.147058824f,
0.107142857f,
0.080434783f,
0.06056338f,
0.04952381f,
0.064356436f,
0.051724138f,
0.044887781f,
0.038745387f,
0.033426184f,
0.031149302f,
0.029661017f,
0.027516779f,
0.027027027f,
0.025438596f,
0.023050847f,
0.021866667f,
0.020726496f,
0.020138889f,
0.019400856f,
0.018979834f,
0.019104478f,
0.019107744f,
0.019010043f,
0.019446154f,
0.018932528f,
0.018588137f,
0.018548387f,
0.018669076f,
0.019495352f,
0.020523708f,
0.021702486f,
0.023075468f,
0.024573379f,
0.025590848f,
0.026882439f,
0.028578261f,
0.03020531f,
0.032458698f,
0.034889868f,
0.037479936f,
0.040498899f,
0.044010767f,
0.047801858f,
0.052198744f,
0.056302083f,
0.060962822f,
0.066287215f,
0.072166196f,
0.078949329f,
0.086399724f,
0.094809356f,
0.104353011f,
0.115183537f,
0.122776247f,
0.131411711f,
0.141578839f,
0.153099017f,
0.166192541f,
0.181208054f,
0.197992027f,
0.216885605f,
0.238397966f,
0.262553292f,
0.289851868f,
0.308373111f,
0.330063006f,
0.35528795f,
0.384373361f,
0.417348834f,
0.454948957f,
0.497478302f,
0.545998585f,
0.600566859f,
0.662433912f,
0.701894612f,
0.749179452f,
0.804414873f,
0.868368606f,
0.941942784f,
1.025947304f,
1.1215602f,
1.230182368f,
1.353346121f,
1.492902584f,
1.209087319f,
1.071556113f,
1.001289906f,
0.968735572f,
0.960942686f,
0.971115208f,
0.995614754f,
1.032601272f,
1.081251392f,
1.141193513f,
1.198466357f // 100·¹º§ ºÎÅÍ ÀÌÇØ ¸øÇØ-_-
};
};
#endif