diff options
-rw-r--r-- | db/pre-re/exp.txt | 57 | ||||
-rw-r--r-- | db/pre-re/exp_group_db.conf | 175 | ||||
-rw-r--r-- | db/pre-re/job_db.conf | 230 | ||||
-rw-r--r-- | db/re/exp.txt | 59 | ||||
-rw-r--r-- | db/re/exp_group_db.conf | 259 | ||||
-rw-r--r-- | db/re/job_db.conf | 230 | ||||
-rw-r--r-- | src/common/HPMDataCheck.h | 2 | ||||
-rw-r--r-- | src/map/atcommand.c | 3 | ||||
-rw-r--r-- | src/map/pc.c | 383 | ||||
-rw-r--r-- | src/map/pc.h | 28 | ||||
-rw-r--r-- | src/map/script.c | 6 | ||||
-rw-r--r-- | src/map/skill.c | 4 | ||||
-rw-r--r-- | src/map/status.c | 48 | ||||
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking.Defs.inc | 12 | ||||
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc | 24 | ||||
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc | 6 | ||||
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking_map.Hooks.inc | 160 |
17 files changed, 1378 insertions, 308 deletions
diff --git a/db/pre-re/exp.txt b/db/pre-re/exp.txt deleted file mode 100644 index 0d4c44d51..000000000 --- a/db/pre-re/exp.txt +++ /dev/null @@ -1,57 +0,0 @@ -//Experience tables format: -//Max Level,Class list,Type (0 - Base Exp; 1 - Job Exp),Exp for Lv 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98 -// Supports baselevel up to 1000 and joblevel up to 255 (except Novice/High Novice) - -//================================ -// Pre-Renewal Experience Database -//================================ - -//Base - Normal and Baby Jobs -99,0:1:2:3:4:5:6:7:8:9:10:11:12:13:14:15:16:17:18:19:20:21:23:24:25:4023:4024:4025:4026:4027:4028:4029:4030:4031:4032:4033:4034:4035:4036:4037:4038:4039:4040:4041:4042:4043:4044:4045:4046:4047:4048:4049:4050:4051:4052:4218,0,9,16,25,36,77,112,153,200,253,320,385,490,585,700,830,970,1120,1260,1420,1620,1860,1990,2240,2504,2950,3426,3934,4474,6889,7995,9174,10425,11748,13967,15775,17678,19677,21773,30543,34212,38065,42102,46323,53026,58419,64041,69892,75973,102468,115254,128692,142784,157528,178184,196300,215198,234879,255341,330188,365914,403224,442116,482590,536948,585191,635278,687211,740988,925400,1473746,1594058,1718928,1848355,1982340,2230113,2386162,2547417,2713878,3206160,3681024,4022472,4377024,4744680,5125440,5767272,6204000,6655464,7121664,7602600,9738720,11649960,13643520,18339300,23836800,35658000,48687000,58135000,99999998,100300002,100600902,100902708,101205414,101509034,101813561,102119002,102425359,102732638,103040840,103349964,103660020,103970998,104282915,104595762,104909549,105224282,105539955,105856574,106174147,106492668,106812152,107132590,107453992,107776356,108099683,108423981,108749258,109075506,109402732,109730946,110060139,110390318,110721493,111053662,111386827,111720986,112056149,112392322,112729499,113067686,113406893,113747119,114088363,114430627,114773918,115118244,115463597,115809993,116157424,116505898,116855416,117205984,117557604,117910275,118264005,118618802,118974658,119331582,119689581,120048655,120408804,120770028,121132344,121495743,121860233,122225815,122592496,122960276,123329155,123699142,124070244,124442453,124815785,125190233,125565805,125942508,126320342,126699307,127079404,127460648,127843032,128226563,128611242,128997076,129384065,129772218,130161535,130552023,130943682,131336513,131730524,132125722,132522099,132919665,133318425,133718382,134119541,134521905,134925472,135330251,135736249,136143467,136551905,136961562,137372455,137784568,138197932,138612532,139028368,139445456,139863795,140283386,140704245,141126355,141549734,141974380,142400310,142827507,143255989,143685754,144116820,144549169,144982818,145417767,145854016,146291581,146730461,147170658,147612171,148055015,148499176,148944668,149391509,149839681,150289202,150740070,151192287,151645868,152100812,152557121,153014794,153473847,153934264,154396078,154859271,155323845,155789814,156257180,156725958,157196133,157667719,158140718,158615145,159091000,159568284,160046996,160527136,161008720,161491749,161976222,162462156,162949549,163438404,163928718,164420509,164913776,165408520,165904741,166402453,166901658,167402372,167904578,168408293,168913516,169420264,169928520,170438301,170949622,171462468,171976854,172492782,173010265,173529306,174049903,174572057,175095783,175621067,176147938,176676383,177206416,177738038,178271249,178806065,179342485,179880511,180420157,180961424,181504312,182048836,182594982,183142764,183692200,184243272,184795997,185350391,185906439,186464155,187023556,187584626,188147381,188711822,189277963,189845805,190415349,190986594,191559555,192134234,192710646,193288775,193868638,194450249,195033610,195618720,196205580,196794204,197384594,197976749,198570686,199166404,199763903,200363199,200964293,201567185,202171889,202778407,203386739,203996900,204608890,205222726,205838392,206455919,207075292,207696526,208319621,208944579,209571414,210200126,210830732,211463232,212097626,212733929,213372142,214012264,214654297,215298271,215944171,216592013,217241796,217893521,218547205,219202846,219860461,220520050,221181612,221845165,222510708,223178240,223847779,224519324,225192890,225868479,226546090,227225739,227907425,228591151,229276930,229964763,230654667,231346640,232040684,232736814,233435031,234135333,234837738,235542262,236248887,236957631,237668509,238381522,239096669,239813967,240533414,241255013,241978778,242704725,243432839,244163135,244895630,245630324,246367216,247106322,247847644,248591196,249336978,250084992,250835252,251587759,252342528,253099560,253858855,254620429,255384298,256150462,256918920,257689674,258462754,259238145,260015863,260795909,261578297,262363044,263150134,263939583,264731408,265525607,266322182,267121148,267922521,268726301,269532488,270341083,271152116,271965590,272781502,273599854,274420645,275243907,276069641,276897846,277728555,278561735,279397419,280235606,281076328,281919554,282765316,283613613,284464446,285317847,286173815,287032351,287893455,288757126,289623397,290492268,291363738,292237841,293114575,293993909,294875907,295760537,296647831,297537789,298430411,299325697,300223679,301124357,302027731,302933833,303842631,304754158,305668412,306585427,307505202,308427738,309353033,310281089,311211937,312145578,313082011,314021268,314963350,315908256,316855987,317806574,318759986,319716286,320675443,321637489,322602423,323570246,324540957,325514589,326491142,327470616,328453042,329438422,330426754,331418039,332412309,333409563,334409803,335413028,336419270,337428528,338440836,339456161,340474535,341495958,342520463,343548016,344578683,345612431,346649260,347689203,348732290,349778492,350827838,351880330,352935968,353994783,355056775,356121945,357190325,358261914,359336713,360414721,361495971,362580463,363668196,364759204,365853485,366951040,368051900,369156067,370263539,371374350,372488466,373605953,374726777,375850972,376978536,378109471,379243808,380381547,381522688,382667264,383815273,384966717,386121628,387280004,388441848,389607189,390776029,391948368,393124205,394303572,395486503,396672963,397862987,399056573,400253754,401454529,402658900,403866897,405078521,406293772,407512649,408735186,409961414,411191300,412424878,413662147,414903139,416147854,417396292,418648485,419904434,421164170,422427661,423694939,424966037,426240955,427519691,428802248,430088655,431378914,432673057,433971084,435272994,436578820,437888561,439202250,440519855,441841408,443166941,444496454,445829946,447167451,448508967,449854496,451204068,452557685,453915378,455277147,456642993,458012946,459387008,460765178,462147489,463533940,464924563,466319359,467718327,469121500,470528878,471940460,473356279,474776366,476200691,477629316,479062209,480499404,481940900,483386728,484836890,486291416,487750308,489213565,490681218,492153269,493629750,495110659,496595998,498085798,499580059,501078814,502582062,504089804,505602071,507118896,508640279,510166219,511696717,513231804,514771514,516315845,517864798,519418405,520976666,522539612,524107245,525679564,527256601,528838388,530424926,532016213,533612283,535213136,536818770,538429251,540044547,541664688,543289709,544919608,546554386,548194042,549838641,551488183,553142668,554802095,556466529,558135971,559810419,561489875,563174337,564863870,566558475,568258151,569962962,571672844,573387862,575108015,576833368,578563856,580299543,582040430,583786581,585537931,587294546,589056423,590823629,592596099,594373896,596157022,597945475,599739320,601538558,603343188,605153210,606968688,608789622,610616013,612447860,614285228,616128116,617976525,619830454,621689968,623555066,625425750,627302018,629183935,631071501,632964715,634863643,636768220,638678509,640594576,642516357,644443914,646377249,648316425,650261378,652212173,654168810,656131352,658099735,660074024,662054283,664040448,666032583,668030687,670034761,672044870,674061012,676083189,678111463,680145836,682186307,684232877,686285609,688344503,690409559,692480779,694558224,696641897,698731860,700828050,702930530,705039366,707154492,709275974,711403810,713538066,715678677,717825706,719979220,722139152,724305568,726478467,728657914,730843909,733036451,735235604,737441306,739653619,741872608,744098273,746330614,748569631,750815324,753067757,755326995,757592972,759865754,762145341,764431796,766725119,769025311,771332371,773646365,775967291,778295214,780630134,782972050,785320964,787676939,790039975,792410136,794787358,797171706,799563243,801961970,804367886,806780992,809201351,811628965,814063896,816506080,818955647,821412532,823876798,826348447,828827478,831313955,833807943,836309377,838818321,841334776,843858806,846390410,848929588,851476406,854030863,856592958,859162756,861740258,864325526,866918498,869519301,872127872,874744273,877368507,880000635,882640660,885288580,887944460,890608299,893280163,895960051,898647962,901343898,904047922,906760098,909480427,912208908,914945541,917690391,920443458,923204805,925974433,928752406,931538660,934333323,937136331,939947748,942767639,945595938,948432775,951278086,954131934,956994319,959865306,962744895,965633150,968530071,971435658,974349975,977273022,980204863,983145499,986094929,989053217,992020428,994996498,997981490,1000975469,1003978435,1006990388,1010011392,1013041447,1016080617,1019128903,1022186304,1025252884,1028328644,1031413647,1034507894,1037611449,1040724312,1043846482,1046978025,1050119004,1053269354,1056429206,1059598493,1062777281,1065965634,1069163551,1072371032,1075588143,1078814882,1082051315,1085297504,1088553451,1091819155,1095094616,1098379962,1101675066,1104980056,1108295059,1111619948,1114954851,1118299768,1121654698,1125019643,1128394730,1131779959,1135175331,1138580845,1141996630,1145422685,1148859012,1152305609,1155762605,1159229871,1162707537,1166195731,1169694323,1173203443,1176723090,1180253265,1183794096,1187345454,1190907469,1194480267,1198063721,1201657960,1205262983,1208878790,1212505509,1216143013,1219791430,1223450888,1227121258,1230802669,1234495121,1238198615,1241913277,1245638981,1249375983,1253124154,1256883494,1260654132,1264436068,1268229430,1272034090,1275850176,1279677817,1283516884,1287367505,1291229681,1295103412,1298988697,1302885665,1306794316,1310714778,1314646923,1318590880,1322546648,1326514355,1330493874,1334485333,1338488860,1342504326,1346531861,1350571463,1354623262,1358687130,1362763193,1366851453,1370952039,1375064948,1379190183,1383327743,1387477756,1391640222,1395815141,1400002642,1404202725,1408415389,1412640635,1416878591,1421129257,1425392633,1429668847,1433957900,1438259791,1442574649,1446902346,1451243137,1455596895,1459963749,1464343697,1468736741,1473143009,1477562500,1481995214,1486441280 - -//Base - Trans Jobs -99,4001:4002:4003:4004:4005:4006:4007:4008:4009:4010:4011:4012:4013:4014:4015:4016:4017:4018:4019:4020:4021:4022,0,10,18,28,40,85,123,168,220,278,400,481,613,731,875,1038,1213,1400,1575,1775,2268,2604,2786,3136,3506,4130,4796,5508,6264,9645,12392,14220,16159,18209,21649,24451,27401,30499,33748,47342,58160,64711,71573,78749,90144,99312,108870,118816,129154,174196,213220,238080,264150,291427,329640,363155,398116,434526,472381,610848,731828,806448,884232,965180,1073896,1170382,1270556,1374422,1481976,1850800,3389616,3666333,3953534,4251217,4559382,5129260,5488173,5859059,6241919,7374168,9570662,10458427,11380262,12336168,13326144,14994907,16130400,17304206,18516326,19766760,29216160,34949880,40930560,55017900,71510400,106974000,146061000,174405000,343210000,343896395,344584167,345273319,345963849,346655758,347349046,348043745,348739822,349437278,350136145,350836423,351538079,352241147,352945625,353651514,354358813,355067524,355777645,356489178,357202153,357916539,358632367,359349607,360068289,360788415,361509983,362232994,362957448,363683345,364410717,365139532,365869789,366601522,367334729,368069379,368805505,369543105,370282180,371022730,371764755,372508287,373253294,373999776,374747765,375497261,376248232,377000710,377754695,378510187,379267186,380025724,380785769,381547321,382310412,383075010,383841148,384608824,385378039,386148794,386921087,387694920,388470291,389247234,390025716,390805769,391587361,392370524,393155258,393941564,394729440,395518888,396309907,397102529,397896722,398692519,399489886,400288857,401089431,401891608,402695388,403500772,404307759,405116349,405926574,406738402,407551866,408366965,409183699,410002068,410822073,411643713,412466988,413291899,414118477,414946690,415776570,416608118,417441333,418276215,419112765,419950982,420790867,421632450,422475702,423320652,424167270,425015587,425865604,426717320,427570735,428425850,429282696,430141242,431001519,431863495,432727203,433592643,434459814,435328716,436199350,437071747,437945876,438821768,439699392,440578779,441459930,442342844,443227522,444113963,445002168,445892168,446783932,447677492,448572847,449469966,450368880,451269622,452172159,453076492,453982621,454890577,455800361,456711940,457625348,458540582,459457645,460376535,461297285,462219862,463144299,464070564,464998689,465928673,466860517,467794221,468729784,469667239,470606554,471547761,472490859,473435817,474382667,475331409,476282074,477234631,478189080,479145453,480103718,481063907,482026019,482990055,483956015,484923899,485893739,486865502,487839222,488814897,489792529,490772116,491753659,492737158,493722613,494710056,495699455,496690842,497684216,498679579,499676930,500676268,501677595,502680942,503686276,504693631,505703006,506714400,507727815,508743250,509760737,510780244,511801803,512825382,513851013,514878696,515908432,516940219,517974091,519010014,520048022,521088114,522130290,523174551,524220895,525269324,526319837,527372466,528427211,529484040,530542986,531604048,532667226,533732552,534799995,535869586,536941325,538015180,539091184,540169368,541249668,542332149,543416810,544503651,545592673,546683875,547777257,548872820,549970563,551070486,552172590,553276938,554383467,555492240,556603194,557716392,558831834,559949457,561069324,562191436,563315792,564442393,565571238,566702391,567835790,568971432,570109384,571249580,572392084,573536833,574683890,575833257,576984931,578138915,579295207,580453807,581614716,582777934,583943460,585111359,586281567,587454083,588628973,589806234,590985805,592167748,593352064,594538752,595727814,596919248,598113055,599309234,600507851,601708840,602912266,604118064,605326300,606536908,607749954,608965436,610183355,611403711,612626503,613851733,615079399,616309567,617542171,618777212,620014754,621254797,622497277,623742258,624989740,626239723,627492207,628747192,630004678,631264665,632527153,633792206,635059760,636329879,637602499,638877684,640155434,641435750,642718631,644004076,645292087,646582663,647875804,649171510,650469846,651770746,653074276,654380435,655689159,657000513,658314496,659631108,660950349,662272219,663596719,664923912,666253734,667586250,668921395,670259233,671599765,672942926,674288780,675637328,676988569,678342503,679699195,681058580,682420659,683785495,685153025,686523312,687896356,689272159,690650654,692031907,693415982,694802814,696192403,697584750,698979919,700377845,701778593,703182163,704588490,705997638,707409609,708824400,710242014,711662449,713085770,714511913,715940941,717372791,718807527,720245148,721685591,723128920,724575135,726024235,727476285,728931221,730389043,731849815,733313472,734780080,736249637,737722144,739197537,740675944,742157300,743641607,745128864,746619070,748112290,749608525,751107709,752609908,754115120,755623346,757134587,758648841,760166110,761686392,763209753,764736127,766265580,767798111,769333656,770872279,772413980,773958760,775506681,777057681,778611759,780168979,781729277,783292718,784859301,786429026,788001893,789577903,791157055,792739349,794324786,795913429,797505214,799100205,800698403,802299808,803904354,805512172,807123195,808737425,810354861,811975568,813599482,815226666,816857120,818490781,820127712,821767978,823411514,825058321,826708399,828361811,830018494,831678511,833341863,835008550,836678571,838351927,840028618,841708643,843392067,845078826,846768983,848462476,850159367,851859656,853563345,855270432,856980918,858694867,860412215,862133026,863857299,865584972,867316107,869050705,870788766,872530291,874275342,876023856,877775897,879531401,881290432,883052990,884819075,886588687,888361826,890138556,891918814,893702598,895489974,897280940,899075498,900873647,902675388,904480719,906289642,908102219,909918389,911738213,913561693,915388763,917219489,919053935,920892036,922733792,924579267,926428398,928281248,930137754,931997979,933861923,935729651,937601099,939476266,941355216,943237886,945124339,947014576,948908596,950806400,952707988,954613359,956522578,958435580,960352430,962273128,964197673,966126066,968058307,969994395,971934331,973878179,975825939,977777546,979733065,981692496,983655839,985623094,987594324,989569467,991548585,993531679,995518685,997509667,999504689,1001503687,1003506661,1005513675,1007524665,1009539695,1011558765,1013581875,1015609025,1017640215,1019675446,1021714780,1023758155,1025805633,1027857216,1029912903,1031972695,1034036590,1036104654,1038176822,1040253158,1042333663,1044418272,1046507113,1048600123,1050697301,1052798647,1054904226,1057014037,1059128016,1061246228,1063368673,1065495414,1067626387,1069761593,1071901095,1074044894,1076192990,1078345382,1080502006,1082662992,1084828338,1086997916,1089171855,1091350155,1093532816,1095719837,1097911219,1100106962,1102307193,1104511786,1106720739,1108934181,1111151983,1113374275,1115601056,1117832197,1120067827,1122307946,1124552555,1126801652,1129055238,1131313313,1133575877,1135843058,1138114728,1140390888,1142671664,1144956929,1147246812,1149541312,1151840429,1154144035,1156452258,1158765098,1161082556,1163404631,1165731451,1168062888,1170398943,1172739743,1175085161,1177435324,1179790104,1182149629,1184513900,1186882917,1189256679,1191635186,1194018439,1196406438,1198799181,1201196799,1203599162,1206006271,1208418253,1210835109,1213256710,1215683186,1218114535,1220550757,1222991854,1225437824,1227888668,1230344385,1232805105,1235270698,1237741165,1240216634,1242696977,1245182321,1247672668,1250168017,1252668367,1255173720,1257684075,1260199431,1262719790,1265245150,1267775641,1270311134,1272851757,1275397382,1277948137,1280504023,1283065039,1285631185,1288202461,1290778867,1293360404,1295947071,1298538868,1301135924,1303738110,1306345554,1308958257,1311576090,1314199182,1316827532,1319461141,1322100008,1324744133,1327393646,1330048417,1332708446,1335373862,1338044537,1340720598,1343402046,1346088753,1348780846,1351478326,1354181193,1356889575,1359603344,1362322499,1365047170,1367777227,1370512799,1373253758,1376000232,1378752221,1381509725,1384272743,1387041277,1389815326,1392594890,1395380098,1398170820,1400967185,1403769066,1406576590,1409389757,1412208439,1415032764,1417862732,1420698473,1423539856,1426386883,1429239681,1432098122,1434962335,1437832191,1440707819,1443589218,1446476389,1449369331,1452268045,1455172530,1458082787,1460998944,1463920872,1466848700,1469782299,1472721798,1475667197,1478618496,1481575694,1484538793,1487507791,1490482817,1493463743,1496450568,1499443422,1502442304,1505447085,1508457895,1511474732,1514497598,1517526492,1520561541,1523602619,1526649725,1529702988,1532762406,1535827853,1538899456,1541977215,1545061130,1548151202,1551247430,1554349943,1557458611,1560573437,1563694546,1566821940,1569955491,1573095326,1576241446,1579393850,1582552538,1585717640,1588889026,1592066825,1595250908,1598441404,1601638185,1604841379,1608050985,1611267004,1614489436,1617718409,1620953795,1624195721,1627444061,1630698942,1633960235,1637228070,1640502445,1643783362,1647070948,1650365075,1653665743,1656973081,1660286959,1663607507,1666934724,1670268610,1673609166,1676956391,1680310285,1683670849,1687038210,1690412240,1693793069,1697180566,1700574861,1703975953,1707383843,1710798531,1714220145,1717648556,1721083764,1724525899,1727974959,1731430817,1734893600,1738363310,1741839945,1745323635,1748814250,1752311791,1755816386,1759328035,1762846610,1766372239,1769904922,1773444660,1776991451,1780545425,1784106452,1787674663,1791249927,1794832373,1798422002,1802018813,1805622807,1809233983,1812852341,1816478010,1820110861,1823751022,1827398495,1831053278,1834715371,1838384775,1842061490,1845745515,1849436979,1853135754,1856841967,1860555620,1864276711,1868005241,1871741210,1875484618,1879235593,1882994006,1886759987,1890533407,1894314394,1898102947,1901899068,1905702757,1909514140,1913333091,1917159736,1920993949,1924835858,1928685462,1932542761,1936407755,1940280573,1944161087,1948049295,1951945328,1955849184,1959760864,1963680367,1967607694,1971542844,1975485818,1979436744,1983395622,1987362324,1991336977,1995319582,1999310139,2003308648,2007315237,2011329778,2015352399,2019383101,2023421754,2027468487,2031523428,2035586450,2039657552,2043736862,2047824253,2051919851,2056023658,2060135674,2064255898,2068384330,2072521099,2076666076 - -//Job - Novice & Baby Novice -10,0:4023,1,10,18,28,40,91,151,205,268,340 - -//Job - 1st Classes & Baby 1st Classes -50,1:2:3:4:5:6:4024:4025:4026:4027:4028:4029:4046:4050:4218,1,30,43,58,76,116,180,220,272,336,520,604,699,802,948,1125,1668,1937,2226,3040,3988,5564,6272,7021,9114,11473,15290,16891,18570,23229,28359,36478,39716,43088,52417,62495,78160,84175,90404,107611,125915,153941,191781,204351,248352,286212,386371,409795,482092,509596,519787,530182,540785,551600,562631,573883,585360,597067,609008,621188,633611,646283,659208,672392,685839,699555,713546,727816,742372,757219,772363,787810,803566,819637,836029,852749,869803,887199,904942,923040,941500,960329,979535,999125,1019107,1039489,1060278,1081483,1103112,1125174,1147677,1170630,1194042,1217922,1242280,1267125,1292467,1318316,1344682,1371575,1399006,1426986,1455525,1484635,1514327,1544613,1575505,1607015,1639155,1671938,1705376,1739483,1774272,1809757,1845952,1882871,1920528,1958938,1998116,2038078,2078839,2120415,2162823,2206079,2250200,2295203,2341107,2387929,2435687,2484400,2534087,2584768,2636463,2689192,2742975,2797834,2853790,2910865,2969082,3028463,3089032,3150812,3213828,3278104,3343666,3410539,3478749,3548323,3619289,3691674,3765507,3840817,3917633,3995985,4075904,4157422,4240570,4325381,4411888,4500125,4590127,4681929,4775567,4871078,4968499,5067868,5169225,5272609,5378061,5485622,5595334,5707240,5821384,5937811,6056567,6177698,6301251,6427275,6555820,6686936,6820674,6957087,7096228,7238152,7382914,7530572,7681183,7834806,7991501,8151330,8314356,8480642,8650254,8823258,8999722,9179716,9363310,9550576,9741587,9936418,10135146,10337848,10544604,10755495,10970604,11190015,11413815,11642091,11874932,12112430,12354678,12601771,12853806,13110881,13373098,13640559,13913369,14191636,14475468,14764977,15060276,15361481,15668710,15982083,16301724,16627758,16960312,17299517,17645505,17998413,18358379,18725547,19100058,19482058,19871698,20269131,20674514,21088003,21509763,21939958,22378756,22826330,23282856,23748512,24223481,24707949,25202106,25706147,26220270,26744674,27279566,27825156,28381658,28949290,29528275 - -//Job - 2nd Classes & Baby 2nd Classes -50,7:8:9:10:11:12:13:14:15:16:17:18:19:20:21:4030:4031:4032:4033:4034:4035:4036:4037:4038:4039:4040:4041:4042:4043:4044:4051:4052,1,144,184,284,348,603,887,1096,1598,2540,3676,4290,4946,6679,9492,12770,14344,16005,20642,27434,35108,38577,42206,52708,66971,82688,89544,96669,117821,144921,174201,186677,199584,238617,286366,337147,358435,380376,447685,526989,610246,644736,793535,921810,1106758,1260955,1487304,1557657,1990632,2083386,2125053,2167554,2210905,2255123,2300225,2346229,2393153,2441016,2489836,2539632,2590424,2642232,2695076,2748977,2803956,2860035,2917235,2975579,3035090,3095791,3157706,3220860,3285277,3350982,3418001,3486360,3556087,3627208,3699752,3773746,3849220,3926204,4004728,4084822,4166518,4249848,4334844,4421540,4509970,4600169,4692172,4786015,4881735,4979369,5078956,5180535,5284145,5389827,5497623,5607575,5719726,5834120,5950802,6069817,6191213,6315037,6441337,6570163,6701566,6835597,6972308,7111754,7253988,7399067,7547048,7697988,7851947,8008985,8169164,8332547,8499197,8669180,8842563,9019414,9199802,9383797,9571472,9762901,9958158,10157320,10360466,10567675,10779028,10994608,11214499,11438788,11667563,11900914,12138932,12381710,12629343,12881929,13139567,13402358,13670404,13943811,14222686,14507139,14797281,15093226,15395090,15702991,16017050,16337390,16664137,16997419,17337368,17684115,18037797,18398551,18766522,19141852,19524688,19915181,20313483,20719753,21134146,21556828,21987964,22427722,22876276,23333801,23800475,24276485,24762013,25257251,25762396,26277643,26803196,27339259,27886044,28443764,29012638,29592890,30184747,30788442,31404210,32032293,32672937,33326394,33992921,34672777,35366230,36073555,36795026,37530923,38281541,39047170,39828110,40624673,41437164,42265906,43111221,43973443,44852912,45749969,46664966,47598266,48550228,49521231,50511655,51521888,52552324,53603369,54675434,55768939,56884317,58022001,59182438,60366087,61573408,62804874,64060968,65342186,66649026,67982003,69341638,70728471,72143040,73585899,75057612,76558766,78089941,79651741,81244777,82869669,84527063,86217603,87941950,89700789,91494806,93324702,95191196,97095022,99036922,101017656,103038007,105098766,107200741,109344756,111531644,113762278,116037523,118358268,120725435 - -//Job - Novice High -10,4001,1,11,20,31,44,100,166,226,295,374 - -//Job - Adv First Classes -50,4002:4003:4004:4005:4006:4007,1,60,86,116,152,232,360,440,544,672,1040,1208,1398,1604,1896,2250,3336,3874,4452,6080,7976,11128,12544,14042,18228,28683,38225,42228,46425,58073,70898,91195,99290,107720,131043,156238,195400,210438,226010,269028,314788,384853,479453,510878,620880,715530,965928,1024488,1205230,1273990,1299469,1325458,1351967,1379006,1406586,1434717,1463411,1492679,1522532,1552982,1584041,1615721,1648035,1680995,1714614,1748906,1783884,1819561,1855952,1893071,1930932,1969550,2008940,2049118,2090100,2131901,2174538,2218028,2262388,2307635,2353787,2400862,2448879,2497856,2547813,2598769,2650744,2703758,2757833,2812989,2869248,2926632,2985164,3044867,3105764,3167879,3231236,3295860,3361777,3429012,3497592,3567543,3638893,3711670,3785903,3861620,3938852,4017628,4097980,4179939,4263537,4348807,4435783,4524498,4614987,4707286,4801431,4897459,4995408,5095316,5197222,5301166,5407189,5515332,5625638,5738150,5852912,5969970,6089369,6211156,6335379,6462086,6591327,6723153,6857615,6994767,7134662,7277355,7422901,7571358,7722785,7877240,8034784,8195479,8359388,8526575,8697106,8871047,9048467,9229436,9414024,9602304,9794349,9990235,10190039,10393839,10601715,10813749,11030023,11250623,11475635,11705147,11939249,12178033,12421593,12670024,12923424,13181892,13445529,13714439,13988727,14268501,14553870,14844947,15141845,15444681,15753574,16068645,16390017,16717817,17052173,17393215,17741079,18095901,18457817,18826971,19203511,19587581,19979331,20378918,20786495,21202225,21626268,22058792,22499967,22949966,23408964,23877142,24354684,24841777,25338611,25845383,26362291,26889537,27427326,27975871,28535388,29106095,29688217,30281979,30887619,31505371,32135478,32778186,33433749,34102422,34784471,35480160,36189762,36913554,37651822,38404859,39172956,39956414,40755543,41570654,42402068,43250108,44115109,44997409,45897355,46815302,47751609,48706639,49680771,50674386,51687870,52721628,53776059,54851580,55948610,57067579,58208930,59373105,60560564,61771774,63007210,64267350,65552697,66863748,68201021,69565043,70956339,72375461,73822971 - -//Job - Adv Second Classes -70,4008:4009:4010:4011:4012:4013:4014:4015:4016:4017:4018:4019:4020:4021:4022,1,288,368,568,696,1206,1774,2192,3196,5080,7352,8580,9892,13358,18984,31925,35860,40013,51605,68585,87770,96443,105515,131770,167428,206720,223860,241673,294553,362303,479053,513362,548856,656197,787507,927154,985696,1046034,1231134,1449220,1678177,1773024,2182221,2534978,3043585,3782865,4461912,4672971,5971896,6250158,6875174,7562691,8318960,9150856,10065942,11877812,14015818,16538665,19515624,23028437,28094693,34275525,41816141,51015692,62239144,79666104,101972614,130524946,167071930,213852071,215990582,218150479,220331982,222535301,224760646,227008244,229278320,231571101,233886812,236225681,238587934,240973813,243383543,245817369,248275547,250758305,253265884,255798544,258356527,260940090,263549494,266184980,268846823,271535281,274250646,276993159,279763080,282560700,285386308,288240164,291122558,294033782,296974127,299943850,302943275,305972693,309032428,312122737,315243976,318396404,321580377,324796184,328044150,331324598,334637850,337984231,341364063,344777701,348225469,351707723,355224785,358777044,362364823,365988476,369648361,373344831,377078276,380849051,384657542,388504107,392389133,396313007,400276118,404278885,408321664,412404876,416528908,420694180,424901113,429150127,433441609,437776011,442153755,446575293,451041044,455551462,460106966,464708041,469355107,474048650,478789121,483577006,488412757,493296891,498229860,503212149,508244276,513326726,518459982,523644562,528881016,534169829,539511517,544906597,550355685,555859263,561417851,567032029,572702314,578429353,584213664,590055762,595956295,601915845,607934992,614014319,620154473,626356035,632619586,638945773,645335243,651788578,658306487,664889554,671538425,678253809,685036355,691886708,698805580,705793617,712851529,719980028,727179825,734451631,741796157,749214114,756706278,764273359,771916070,779635249,787431609,795305924,803258971,811291525,819404427,827598452,835874440,844233168,852675475,861202202,869814189,878512341,887297434,896170373,905132063,914183343,923325184,932558427,941883975,951302798,970328821,989735390,1009530048,1029720629,1050315033,1071321288,1092747685,1114602580,1136894655,1159632462,1182825140,1206481567,1230611143,1255223400,1280327868,1305934339,1332052997,1358694026,1385867870,1413585235,1441856958,1470694006,1500107868,1530110033,1560712252,1591926406,1623764897,1656240130,1689364898,1723152129,1757615137,1792767372,1828622673,1865195139,1902499003 - -//Job - Ninja/Gunslinger -70,24:25,1,72,92,142,174,301,443,548,799,1270,1838,2145,2473,3339,4746,6385,7172,8002,10321,13717,17554,19288,21103,26354,33485,41344,44772,48334,58910,72460,87100,93338,99792,119308,143183,231068,257377,274363,314246,371105,431038,476309,588548,665256,801731,916689,1130023,1188623,1377408,1551289,1746582,1845236,1954741,2124555,2345698,2548763,2759555,3021488,3254111,3489547,3695474,4012251,4181112,4302211,4496584,4578951,4869523,5022114,5123654,5395117,5449068,5503558,5558593,5614178,5670319,5727022,5784292,5842134,5900555,5959560,6019155,6079346,6140139,6201540,6263555,6326190,6389451,6453345,6517878,6583056,6648886,6715374,6782527,6850352,6918855,6988043,7057923,7128502,7199786,7271783,7344500,7417944,7492123,7567044,7642714,7719141,7796332,7874295,7953037,8032567,8112892,8194020,8275960,8358719,8442306,8526728,8611995,8698114,8785095,8872945,8961674,9051290,9141802,9233219,9325551,9418806,9512993,9608122,9704203,9801244,9899256,9998248,10098230,10199212,10301204,10404215,10508257,10613339,10719472,10826666,10934932,11044281,11154723,11266270,11378932,11492721,11607648,11723724,11840961,11959370,12078963,12199752,12321749,12444966,12569415,12695109,12822059,12950279,13079781,13210578,13342683,13476109,13610869,13746977,13884446,14023290,14163522,14305157,14448208,14592689,14738615,14886001,15034860,15185208,15337059,15490429,15645333,15801786,15959803,16119400,16280593,16443398,16607831,16773909,16941647,17111064,17282174,17454995,17629545,17805839,17983898,18163736,18345373,18528825,18714112,18901252,19090264,19281166,19473977,19668715,19865402,20064055,20264696,20467342,20672015,20878735,21087523,21298399,21511383,21726497,21943760,22163197,22384827,22608676,22834762,23063109,23293738,23526675,23761942,23999561,24239555,24481951,24726771,24974039,25223780,25476017,25730775,25988083,26247964,26510443,26775548,27043303,27313736,27586873,27862740,28141367,28422781,28707007,28994077,29284016,29576855,29872624,30171349,30473061,30777790,31085567,31396423,31710387,32027491,32347766,32671243,32997956,33327935,33661215,33997827 - -//Job - Taekwon (Same EXP table as 1st Classes & Baby 1st Classes) -50,4046,1,30,43,58,76,116,180,220,272,336,520,604,699,802,948,1125,1668,1937,2226,3040,3988,5564,6272,7021,9114,11473,15290,16891,18570,23229,28359,36478,39716,43088,52417,62495,78160,84175,90404,107611,125915,153941,191781,204351,248352,286212,386371,409795,482092,509596,519787,530182,540785,551600,562631,573883,585360,597067,609008,621188,633611,646283,659208,672392,685839,699555,713546,727816,742372,757219,772363,787810,803566,819637,836029,852749,869803,887199,904942,923040,941500,960329,979535,999125,1019107,1039489,1060278,1081483,1103112,1125174,1147677,1170630,1194042,1217922,1242280,1267125,1292467,1318316,1344682,1371575,1399006,1426986,1455525,1484635,1514327,1544613,1575505,1607015,1639155,1671938,1705376,1739483,1774272,1809757,1845952,1882871,1920528,1958938,1998116,2038078,2078839,2120415,2162823,2206079,2250200,2295203,2341107,2387929,2435687,2484400,2534087,2584768,2636463,2689192,2742975,2797834,2853790,2910865,2969082,3028463,3089032,3150812,3213828,3278104,3343666,3410539,3478749,3548323,3619289,3691674,3765507,3840817,3917633,3995985,4075904,4157422,4240570,4325381,4411888,4500125,4590127,4681929,4775567,4871078,4968499,5067868,5169225,5272609,5378061,5485622,5595334,5707240,5821384,5937811,6056567,6177698,6301251,6427275,6555820,6686936,6820674,6957087,7096228,7238152,7382914,7530572,7681183,7834806,7991501,8151330,8314356,8480642,8650254,8823258,8999722,9179716,9363310,9550576,9741587,9936418,10135146,10337848,10544604,10755495,10970604,11190015,11413815,11642091,11874932,12112430,12354678,12601771,12853806,13110881,13373098,13640559,13913369,14191636,14475468,14764977,15060276,15361481,15668710,15982083,16301724,16627758,16960312,17299517,17645505,17998413,18358379,18725547,19100058,19482058,19871698,20269131,20674514,21088003,21509763,21939958,22378756,22826330,23282856,23748512,24223481,24707949,25202106,25706147,26220270,26744674,27279566,27825156,28381658,28949290,29528275 - -//Job - Star Gladiator -50,4047:4048,1,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,27434,54868,70216,77154,84412,105416,133924,165376,179008,193338,235642,289842,348402,373354,399168,477234,572732,674294,716870,760752,895370,1053978,1220492,1289472,1587070,1843620,2213516,2521910,2974608,3115314,3981264,5166772,5218439,5270623,5323329,5376562,5430327,5484630,5539476,5594870,5650818,5707326,5764399,5822042,5880262,5939064,5998454,6058438,6119022,6180212,6242014,6304434,6367478,6431152,6495463,6560417,6626021,6692281,6759203,6826794,6895061,6964011,7033651,7103987,7175026,7246776,7319243,7392435,7466359,7541022,7616432,7692596,7769521,7847216,7925688,8004944,8084993,8165842,8247500,8329974,8413273,8497405,8582378,8668201,8754882,8842430,8930854,9020162,9110363,9201466,9293480,9386414,9480278,9575080,9670830,9767538,9865213,9963865,10063503,10164137,10265778,10368435,10472119,10576840,10682608,10789433,10897327,11006300,11116362,11227525,11339800,11453197,11567728,11683405,11800238,11918240,12037422,12157796,12279373,12402166,12526187,12651448,12777962,12905741,13034798,13165145,13296796,13429763,13564060,13699700,13836696,13975062,14114812,14255959,14398518,14542503,14687927,14834806,14983153,15132984,15284313,15437155,15591526,15747441,15904915,16063963,16224602,16386847,16550715,16716221,16883383,17052217,17222737,17394963,17568913,17744600,17922045,18101264,18282276,18465098,18649748,18836245,19024606,19214851,19407000,19601069,19797078,19995048,20194998,20396947,20600917,20806924,21014993,21225141,21437391,21651765,21868281,22086962,22307831,22530910,22756218,22983779,23213617,23445751,23680209,23917009,24156177,24397737,24641713,24888128,25137009,25388377,25642259,25898682,26157668,26419244,26683436,26950270,27219772,27491969,27766887,28044556,28325001,28608249,28894330,29183273,29475104,29769854,30067552,30368227,30671909,30978626,31288411,31601295,31917308,32236480,32558844,32884432,33213276,33545408,33880861,34219668,34561864,34907482,35256554,35609117,35965206,36324859,36688108,37054988,37425537,37799791,38177789,38559565,38945159,39334611,39727957 - -//Job - Soul Linker (Same EXP table as 2nd Classes & Baby 2nd Classes) -50,4049,1,144,184,284,348,603,887,1096,1598,2540,3676,4290,4946,6679,9492,12770,14344,16005,20642,27434,35108,38577,42206,52708,66971,82688,89544,96669,117821,144921,174201,186677,199584,238617,286366,337147,358435,380376,447685,526989,610246,644736,793535,921810,1106758,1260955,1487304,1557657,1990632,2083386,2125053,2167554,2210905,2255123,2300225,2346229,2393153,2441016,2489836,2539632,2590424,2642232,2695076,2748977,2803956,2860035,2917235,2975579,3035090,3095791,3157706,3220860,3285277,3350982,3418001,3486360,3556087,3627208,3699752,3773746,3849220,3926204,4004728,4084822,4166518,4249848,4334844,4421540,4509970,4600169,4692172,4786015,4881735,4979369,5078956,5180535,5284145,5389827,5497623,5607575,5719726,5834120,5950802,6069817,6191213,6315037,6441337,6570163,6701566,6835597,6972308,7111754,7253988,7399067,7547048,7697988,7851947,8008985,8169164,8332547,8499197,8669180,8842563,9019414,9199802,9383797,9571472,9762901,9958158,10157320,10360466,10567675,10779028,10994608,11214499,11438788,11667563,11900914,12138932,12381710,12629343,12881929,13139567,13402358,13670404,13943811,14222686,14507139,14797281,15093226,15395090,15702991,16017050,16337390,16664137,16997419,17337368,17684115,18037797,18398551,18766522,19141852,19524688,19915181,20313483,20719753,21134146,21556828,21987964,22427722,22876276,23333801,23800475,24276485,24762013,25257251,25762396,26277643,26803196,27339259,27886044,28443764,29012638,29592890,30184747,30788442,31404210,32032293,32672937,33326394,33992921,34672777,35366230,36073555,36795026,37530923,38281541,39047170,39828110,40624673,41437164,42265906,43111221,43973443,44852912,45749969,46664966,47598266,48550228,49521231,50511655,51521888,52552324,53603369,54675434,55768939,56884317,58022001,59182438,60366087,61573408,62804874,64060968,65342186,66649026,67982003,69341638,70728471,72143040,73585899,75057612,76558766,78089941,79651741,81244777,82869669,84527063,86217603,87941950,89700789,91494806,93324702,95191196,97095022,99036922,101017656,103038007,105098766,107200741,109344756,111531644,113762278,116037523,118358268,120725435 - -//Job - Super Novice & Baby Super Novice -99,23:4045,1,30,43,58,76,116,180,220,272,336,520,604,699,802,948,1125,1668,1937,2226,3040,3988,5564,6272,7021,9114,11473,15290,16891,18570,23229,28359,36478,39716,43088,52417,62495,78160,84175,90404,107611,125915,153941,191781,204351,248352,286212,386371,409795,482092,509596,982092,992092,1002092,1012092,1022092,1032092,1042092,1052092,1062092,1072092,1082092,1092092,1102092,1112092,1122092,1132092,1142092,1152092,1162092,1172092,1182092,1192092,1202092,1212092,1222092,1232092,1242092,1252092,1262092,1272092,1282092,1292092,1302092,1312092,1322092,1332092,1342092,1352092,1362092,1372092,1382092,1392092,1402092,1412092,1422092,1432092,1442092,1452092,1462092,1491333,1521159,1551582,1582613,1614265,1646550,1679480,1713069,1747330,1782276,1817921,1854279,1891364,1929191,1967774,2007129,2047271,2088216,2129980,2172579,2216030,2260350,2305556,2351667,2398700,2446673,2495606,2545518,2596428,2648356,2701323,2755349,2810455,2866664,2923997,2982476,3042125,3102967,3165026,3228326,3292892,3358749,3425923,3494441,3564329,3635615,3708327,3782493,3858142,3935304,4014010,4094290,4176175,4259698,4344891,4431788,4520423,4610831,4703047,4797107,4893049,4990909,5090727,5192541,5296391,5402318,5510364,5620571,5732982,5847641,5964593,6083884,6205561,6329672,6456265,6585390,6717097,6851438,6988466,7128235,7270799,7416214,7564538,7715828,7870144,8027546,8188096,8351857,8518893,8689270,8863055,9040315,9221121,9405543,9593653,9785525,9981235,10180859,10384475,10592164,10804007,11020086,11240487,11465296,11694601,11928492,12167061,12410401,12658608,12911779,13170014,13433414,13702082,13976123,14255645,14540757,14831571,15128202,15430765,15739380,16054167,16375250,16702754,17036808,17377543,17725094,18079595,18441187,18810011,19186211,19569935,19961334,20360560,20767770,21183125,21606786,22038921,22479697,22929289,23387873,23855628,24332740,24819394,25315781,25822095,26338537,26865306,27402611,27950663,28509676,29079868,29661464,30254692,30859785,31476979,32106518 - -//================================ -// Renewal content (required for some core features) -//================================ - -//Base - 3rd Jobs, Baby 3rds, Expanded Super Novice, and Kagerou/Oboro -//Note: (First 98 values [Level 1 - 98] are dummy values (used Adv Jobs values), because 3rd classes start at level 99.) -99,4054:4055:4056:4057:4058:4059:4060:4061:4062:4063:4064:4065:4066:4067:4068:4069:4070:4071:4072:4073:4074:4075:4076:4077:4078:4079:4080:4081:4082:4083:4084:4085:4086:4087:4096:4097:4098:4099:4100:4101:4102:4103:4104:4105:4106:4107:4108:4109:4110:4111:4112:4190:4191:4211:4212:4215,0,10,18,28,40,85,123,168,220,278,400,481,613,731,875,1038,1213,1400,1575,1775,2268,2604,2786,3136,3506,4130,4796,5508,6264,9645,12392,14220,16159,18209,21649,24451,27401,30499,33748,47342,58160,64711,71573,78749,90144,99312,108870,118816,129154,174196,213220,238080,264150,291427,329640,363155,398116,434526,472381,610848,731828,806448,884232,965180,1073896,1170382,1270556,1374422,1481976,1850800,3389616,3666333,3953534,4251217,4559382,5129260,5488173,5859059,6241919,7374168,9570662,10458427,11380262,12336168,13326144,14994907,16130400,17304200,18516326,19766760,21085096,22473939,23935933,25473761,27090141,28787825,30569594,32438257,34396650,36447628,38594068,40838862,43184915,45635142,48192464,50859807,53640095,56536248,59551182,62687799,65948990,69337627,72856561,76508620,80296602,84223275,88291372,92503586,96862571,101370933,106031232,110845975,115817614,120948544,126241098,131697545,137320088,143110859,149071919,155205253,161512770,167996297,174657580,181498280,188519973,195724146,203112195,210685425,218445048,226392181,234527844,242852961,251368358,260074760,268972793,278062983,287345754,296821429,306490229,316352273,326407578,336656059,347097530,357731703,368558190,379576502,390786051,402186149,413776012,425554759,437521412,449674899,462014055,474537623,487244256,500132518,513200886,526447751,539871420,553470119,567241993,581185110,595297462,609576966,624021468,638628745,653396504,668322389,683403980,698638797,714024301,729557897,745236936,761058717,777020492,793119465,809352795,825717601,842210961,858829917,875571475,892432609,909410264,926501355,943702774,961011389,978424047,995937576,1013548788,1031254481,1049051440,1066936441,1084906252,1102957634,1121087346,1139292145,1157568786,1175914029,1194324635,1212797373,1231329018,1249916355,1268556179,1287245299,1305980536,1324758729,1343576732,1362431419,1381319683,1400238439,1419184625,1438155202,1457147157,1476157502,1495183278,1514221554,1533269429,1552324031,1571382520,1590442090,1609499966,1628553409,1647599713,1666636209,1685660263,1704669278,1723660695,1742631992,1761580687,1780504336,1799400534,1818266916,1837101157,1855900974,1874664122,1893388399,1912071644,1930711737,1949306600,1967854196,1986352530,2004799649,2023193642,2041532640,2059814816,2078038384,2096201600,2114302763,2132340212,2150312328,2168217533,2186054291,2203821106,2221516523,2239139127,2256687544,2274160439,2291556517,2308874523,2326113241,2343271492,2360348137,2377342074,2394252239,2411077605,2427817182,2444470016,2461035190,2477511822,2493899065,2510196107,2526402170,2542516509,2558538414,2574467207,2590302243,2606042908,2621688620,2637238829,2652693014,2668050684,2683311379,2698474666,2713540143,2728507434,2743376192,2758146097,2772816855,2787388198,2801859883,2816231694,2830503439,2844674950,2858746082,2872716714,2886586747,2900356105,2914024733,2927592598,2941059688,2954426010,2967691593,2980856483,2993920747,3006884469,3019747752,3032510717,3045173501,3057736259,3070199161,3082562393,3094826158,3106990673,3119056170,3131022894,3142891106,3154661079,3166333099,3177907466,3189384491,3200764497,3212047820,3223234805,3234325809,3245321200,3256221356,3267026664,3277737521,3288354333,3298877514,3309307489,3319644689,3329889553,3340042528,3350104069,3360074637,3369954700,3379744733,3389445216,3399056636,3408579485,3418014261,3427361466,3436621608,3445795199,3454882755,3463884797,3472801849,3481634440,3490383101,3499048368,3507630778,3516130872,3524549194,3532886290,3541142708,3549318998,3557415713,3565433406,3573372633,3581233950,3589017916,3596725090,3604356032,3611911302,3619391462,3626797073,3634128697,3641386897,3648572235,3655685273,3662726573,3669696697,3676596205,3683425658,3690185617,3696876640,3703499285,3710054109,3716541669,3722962519,3729317213,3735606303,3741830339,3747989871,3754085446,3760117610,3766086907,3771993879,3777839066,3783623006,3789346235,3795009287,3800612694,3806156985,3811642688,3817070327,3822440424,3827753500,3833010071,3838210653,3843355757,3848445893,3853481568,3858463286,3863391548,3868266853,3873089696,3877860570,3882579965,3887248368,3891866263,3896434130,3900952448,3905421692,3909842333,3914214841,3918539681,3922817316,3927048205,3931232805,3935371569,3939464947,3943513385,3947517328,3951477216,3955393486,3959266573,3963096907,3966884916,3970631025,3974335655,3977999224,3981622147,3985204835,3988747697,3992251137,3995715558,3999141358,4002528933,4005878676,4009190975,4012466216,4015704782,4018907052,4022073402,4025204206,4028299834,4031360652,4034387025,4037379312,4040337871,4043263057,4046155220,4049014709,4051841869,4054637042,4057400566,4060132778,4062834010,4065504592,4068144851,4070755111,4073335693,4075886914,4078409090,4080902532,4083367550,4085804450,4088213536,4090595108,4092949463,4095276897,4097577701,4099852165,4102100575,4104323215,4106520366,4108692307,4110839312,4112961655,4115059606,4117133433,4119183400,4121209770,4123212802,4125192754,4127149880,4129084433,4130996662,4132886814,4134755133,4136601862,4138427240,4140231505,4142014891,4143777631,4145519954,4147242089,4148944261,4150626693,4152289606,4153933218,4155557746,4157163403,4158750402,4160318952,4161869260,4163401532,4164915971,4166412777,4167892150,4169354286,4170799380,4172227625,4173639211,4175034327,4176413160,4177775894,4179122712,4180453795,4181769321,4183069467,4184354408,4185624318,4186879367,4188119725,4189345560,4190557037,4191754321,4192937573,4194106954,4195262623,4196404736,4197533449,4198648916,4199751289,4200840717,4201917350,4202981334,4204032815,4205071936,4206098840,4207113668,4208116558,4209107648,4210087074,4211054971,4212011472,4212956708,4213890810,4214813906,4215726123,4216627588,4217518424,4218398755,4219268703,4220128387,4220977927,4221817441,4222647044,4223466852,4224276979,4225077537,4225868637,4226650390,4227422904,4228186286,4228940643,4229686080,4230422700,4231150607,4231869902,4232580686,4233283058,4233977116,4234662957,4235340677,4236010370,4236672131,4237326053,4237972227,4238610743,4239241692,4239865161,4240481239,4241090012,4241691565,4242285983,4242873350,4243453749,4244027261,4244593967,4245153947,4245707279,4246254042,4246794313,4247328169,4247855684,4248376933,4248891990,4249400928,4249903818,4250400732,4250891740,4251376912,4251856316,4252330020,4252798092,4253260597,4253717602,4254169171,4254615368,4255056257,4255491900,4255922359,4256347695,4256767969,4257183240,4257593568,4257999011,4258399627,4258795472,4259186603,4259573076,4259954946,4260332267,4260705093,4261073477,4261437472,4261797129,4262152500,4262503636,4262850586,4263193401,4263532129,4263866819,4264197518,4264524274,4264847134,4265166143,4265481348,4265792793,4266100523,4266404582,4266705014,4267001861,4267295166,4267584971,4267871318,4268154248,4268433801,4268710017,4268982936,4269252597,4269519039,4269782300,4270042418,4270299430,4270553373,4270804284,4271052198,4271297151,4271539179,4271778316,4272014596,4272248054,4272478723,4272706636,4272931826,4273154325,4273374166,4273591380,4273805998,4274018051,4274227570,4274434585,4274639125,4274841221,4275040901,4275238194,4275433128,4275625732,4275816033,4276004059,4276189837,4276373393,4276554754,4276733946,4276910995,4277085927,4277258767,4277429540,4277598270,4277764982,4277929700,4278092447,4278253247,4278412124,4278569100,4278724198,4278877440,4279028849,4279178446,4279326253,4279472291,4279616582,4279759146,4279900004,4280039176,4280176683,4280312544,4280446779,4280579407,4280710448,4280839920,4280967842,4281094233,4281219111,4281342494,4281464400,4281584846,4281703850,4281821429,4281937601,4282052382,4282165788,4282277836,4282388543,4282497924,4282605995,4282712772,4282818270,4282922505,4283025492,4283127245,4283227779,4283327109,4283425250,4283522215,4283618019,4283712675,4283806197,4283898599,4283989894,4284080096,4284169217,4284257270,4284344268,4284430224,4284515150,4284599059,4284681963,4284763873,4284844802,4284924761,4285003762,4285081817,4285158936,4285235131,4285310413,4285384793,4285458282,4285530890,4285602628,4285673507,4285743536,4285812726,4285881087,4285948628,4286015360,4286081292,4286146434,4286210795,4286274385,4286337213,4286399288,4286460619,4286521215,4286581084,4286640236,4286698679,4286756421,4286813471,4286869837,4286925527,4286980550,4287034913,4287088625,4287141693,4287194125,4287245928,4287297110,4287347678,4287397640,4287447003,4287495774,4287543961,4287591570,4287638608,4287685082,4287730999,4287776365,4287821187,4287865472,4287909226,4287952455,4287995166,4288037365,4288079058,4288120251,4288160950,4288201161,4288240890,4288280143,4288318925,4288357242,4288395099,4288432502,4288469457,4288505969,4288542043,4288577684,4288612898,4288647690,4288682064,4288716026,4288749581,4288782733,4288815488,4288847850,4288879824,4288911414,4288942626,4288973463,4289003930,4289034032,4289063773,4289093157,4289122189,4289150873,4289179213,4289207213,4289234877,4289262209,4289289213,4289315893,4289342253,4289368297,4289394029,4289419452,4289444570,4289469387,4289493906,4289518131,4289542066,4289565714,4289589078,4289612162,4289634969,4289657502,4289679765,4289701761,4289723493,4289744964,4289766178,4289787137,4289807845,4289828305,4289848519,4289868491,4289888223,4289907718,4289926979,4289946009,4289964811,4289983388,4290001742,4290019876,4290037792,4290055493,4290072982,4290090261,4290107333,4290124200,4290140865,4290157330,4290173597,4290189669,4290205548,4290221237,4290236737,4290252051,4290267182,4290282131,4290296901,4290311494,4290325912,4290340157,4290354231,4290368136,4290381874,4290395447,4290408857,4290422107,4290435198,4290448132,4290460910,4290473535,4290486009,4290498333,4290510509,4290522539,4290534425,4290546168,4290557770,4290569233,4290580558,4290591748,4290602803,4290613726,4290624518,4290635180,4290645714,4290656122,4290666405,4290676565,4290686603,4290696520,4290706318,4290715999,4290725564,4290735014,4290744350,4290753574,4290762688,4290771692,4290780588,4290789378,4290798062,4290806642,4290815119,4290823494,4290831769,4290839944,4290848021,4290856001,4290863886,4290871676,4290879373,4290886977,4290894490,4290901913,4290909247,4290916493,4290923652,4290930725,4290937713,4290944617,4290951438,4290958178,4290964837,4290971416,4290977916,4290984338,4290990683,4290996952,4291003145,4291009264,4291015310,4291021283,4291027184,4291033015,4291038776,4291044468,4291050091,4291055647,4291061136,4291066559,4291071917,4291077211,4291082441,4291087609,4291092715,4291097759,4291102743,4291107667,4291112532,4291117338,4291122087,4291126779 - -//Job - 3rd Jobs, Baby 3rds, Expanded Super Novice, and Kagerou/Oboro -50,4054:4055:4056:4057:4058:4059:4060:4061:4062:4063:4064:4065:4066:4067:4068:4069:4070:4071:4072:4073:4074:4075:4076:4077:4078:4079:4080:4081:4082:4083:4084:4085:4086:4087:4096:4097:4098:4099:4100:4101:4102:4103:4104:4105:4106:4107:4108:4109:4110:4111:4112:4190:4191:4211:4212:4215,1,368,568,696,1206,1774,2192,3196,5080,7352,8580,9892,13358,18984,31925,35860,40013,51605,68585,87770,96443,105515,131770,167428,206720,223860,241673,294553,362303,479053,513362,548856,656197,787507,927154,985696,1046034,1231134,1449220,1678177,1943306,2244059,2584282,2968115,3400000,3884688,4427246,5033064,5707855,6457661,7288852,8208125,9222500,10339317,11566230,12911197,14382470,15988583,17738338,19640789,21705223,23941143,26358244,28966392,31775600,34796000,38037819,41511350,45226922,49194872,53425513,57929105,62715823,67795725,73178721,78874542,84892710,91242506,97932943,104972733,112370263,120133566,128270295,136787699,145692601,154991375,164689926,174793673,185307530,196235893,207582627,219351052,231543938,244163492,257211358,270688607,284595740,298932685,313698799,328892871,344513126,360557232,377022309,393904936,411201163,428906522,447016041,465524258,484425237,503712583,523379460,543418608,563822364,584582678,605691135,627138976,648917115,671016163,693426449,716138040,739140762,762424222,785977830,809790819,833852265,858151108,882676174,907416194,932359821,957495652,982812246,1008298142,1033941875,1059731995,1085657082,1111705763,1137866726,1164128735,1190480643,1216911407,1243410098,1269965914,1296568193,1323206421,1349870242,1376549469,1403234090,1429914278,1456580397,1483223010,1509832883,1536400993,1562918530,1589376904,1615767747,1642082917,1668314501,1694454815,1720496409,1746432067,1772254807,1797957882,1823534782,1848979230,1874285184,1899446836,1924458610,1949315159,1974011367,1998542342,2022903418,2047090150,2071098310,2094923887,2118563083,2142012307,2165268175,2188327503,2211187307,2233844796,2256297369,2278542611,2300578289,2322402347,2344012903,2365408244,2386586822,2407547248,2428288289,2448808865,2469108042,2489185029,2509039173,2528669956,2548076989,2567260008,2586218871,2604953553,2623464142,2641750834,2659813929,2677653830,2695271035,2712666136,2729839813,2746792832,2763526041,2780040365,2796336805,2812416433,2828280388,2843929874,2859366157,2874590560,2889604462,2904409294,2919006536,2933397714,2947584399,2961568203,2975350775,2988933801,3002319001,3015508125,3028502953,3041305291,3053916970,3066339843,3078575783,3090626683,3102494451,3114181011,3125688300,3137018266,3148172868,3159154072,3169963851,3180604184,3191077054,3201384446,3211528348,3221510747,3231333629,3240998979,3250508779,3259865006,3269069632,3278124624,3287031942,3295793538,3304411356,3312887331,3321223387,3329421440,3337483392,3345411135,3353206549,3360871500,3368407842,3375817414,3383102041,3390263534,3397303689,3404224286,3411027090,3417713850,3424286299,3430746152,3437095109,3443334852,3449467047,3455493342,3461415367,3467234735,3472953041,3478571863,3484092761,3489517276,3494846931,3500083232,3505227667,3510281705,3515246797,3520124376,3524915857,3529622637,3534246095,3538787592,3543248471,3547630058,3551933659,3556160565,3560312047,3564389360,3568393741,3572326410,3576188570,3579981406,3583706087,3587363764,3590955573,3594482632,3597946043,3601346892,3604686248,3607965165,3611184681,3614345817,3617449581,3620496963,3623488939,3626426470,3629310502,3632141966,3634921779,3637650842,3640330044,3642960259,3645542346,3648077152,3650565509,3653008236,3655406140,3657760013,3660070635,3662338774,3664565184,3666750607,3668895774,3671001402,3673068197,3675096854,3677088055,3679042471,3680960763,3682843579,3684691557,3686505325,3688285499,3690032685,3691747478,3693430465,3695082220,3696703310,3698294290,3699855707,3701388097,3702891989,3704367901,3705816342,3707237813,3708632806,3710001804,3711345282,3712663706,3713957535,3715227220,3716473203,3717695918,3718895792,3720073245,3721228689,3722362528,3723475160,3724566975,3725638356,3726689680,3727721318,3728733632,3729726979,3730701710,3731658168,3732596692,3733517613,3734421257,3735307945,3736177990,3737031701,3737869381,3738691328,3739497833,3740289184,3741065662,3741827543,3742575099,3743308597,3744028298,3744734459,3745427333,3746107167,3746774204,3747428682,3748070836,3748700896,3749319088,3749925634,3750520750,3751104651,3751677546,3752239641,3752791138,3753332236,3753863129,3754384008,3754895060,3755396470,3755888418,3756371081,3756844634,3757309248,3757765090,3758212325,3758651114,3759081616,3759503986,3759918377,3760324939,3760723819,3761115161,3761499107,3761875797,3762245366,3762607949,3762963676,3763312677,3763655079,3763991005,3764320578,3764643917,3764961140,3765272361,3765577694,3765877250,3766171137,3766459463,3766742332,3767019847,3767292109,3767559217,3767821269,3768078359,3768330582,3768578029,3768820790,3769058954,3769292607,3769521835,3769746721,3769967347,3770183794,3770396141,3770604465,3770808842,3771009346,3771206051,3771399029,3771588350,3771774083,3771956296,3772135055,3772310426,3772482473,3772651259,3772816845,3772979292,3773138659,3773295005,3773448386,3773598859,3773746479,3773891300,3774033375,3774172755,3774309492,3774443636,3774575236,3774704340,3774830995,3774955248,3775077144,3775196728,3775314043,3775429133,3775542040,3775652805,3775761468,3775868070,3775972649,3776075244,3776175892,3776274631,3776371496,3776466523,3776559747,3776651202,3776740921,3776828938,3776915285,3776999993,3777083093,3777164616,3777244592,3777323050,3777400019,3777475527,3777549602,3777622271,3777693560,3777763496,3777832105,3777899411,3777965440,3778030215,3778093760,3778156099,3778217255,3778277250,3778336106,3778393844,3778450486,3778506053,3778560565,3778614042,3778666503,3778717968,3778768456,3778817986,3778866575,3778914242,3778961003,3779006877,3779051880,3779096028,3779139338,3779181825,3779223505,3779264394,3779304506,3779343857,3779382460,3779420330,3779457481,3779493927,3779529681,3779564756,3779599164,3779632919,3779666033,3779698518,3779730386,3779761649,3779792318,3779822405,3779851920,3779880875,3779909280,3779937145,3779964481,3779991298,3780017605,3780043413,3780068731,3780093568,3780117933,3780141835,3780165283,3780188286,3780210852,3780232989,3780254706,3780276010,3780296909,3780317412,3780337525,3780357256,3780376612,3780395601,3780414229,3780432503,3780450430,3780468016,3780485268,3780502193,3780518796,3780535084,3780551062,3780566737,3780582114,3780597199,3780611997,3780626514,3780640755,3780654726,3780668431,3780681876,3780695066,3780708005,3780720698,3780733150,3780745366,3780757349,3780769105,3780780637,3780791950,3780803048,3780813936,3780824617,3780835095,3780845374,3780855458,3780865350,3780875054,3780884574,3780893913,3780903074,3780912061,3780920878,3780929527,3780938012,3780946336,3780954501,3780962511,3780970369,3780978078,3780985640,3780993059,3781000337,3781007476,3781014480,3781021351,3781028091,3781034703,3781041189,3781047552,3781053794,3781059918,3781065925,3781071818,3781077599,3781083270,3781088834,3781094292,3781099646,3781104899,3781110052,3781115107,3781120066,3781124931,3781129703,3781134384,3781138976,3781143481,3781147901,3781152237,3781156490,3781160662,3781164755,3781168770,3781172709,3781176573,3781180364,3781184083,3781187731,3781191310,3781194821,3781198265,3781201644,3781204958,3781208209,3781211399,3781214528,3781217598,3781220609,3781223563,3781226461,3781229304,3781232093,3781234829,3781237513,3781240146,3781242729,3781245263,3781247749,3781250187,3781252579,3781254926,3781257228,3781259486,3781261701,3781263874,3781266006,3781268097,3781270149,3781272162,3781274136,3781276073,3781277973,3781279837,3781281666,3781283460,3781285220,3781286946,3781288639,3781290300,3781291930,3781293529,3781295097,3781296636,3781298145,3781299626,3781301078,3781302503,3781303901,3781305272,3781306617,3781307937,3781309231,3781310501,3781311747,3781312969,3781314168,3781315344,3781316498,3781317630,3781318740,3781319829,3781320897,3781321945,3781322973,3781323982,3781324972,3781325943,3781326895,3781327829,3781328745,3781329644,3781330526,3781331391,3781332240,3781333073,3781333890,3781334691,3781335477,3781336248,3781337004,3781337746,3781338474,3781339188,3781339888,3781340575,3781341249,3781341910,3781342559,3781343195,3781343819,3781344431,3781345032,3781345621,3781346199,3781346766,3781347322,3781347868,3781348403,3781348928,3781349443,3781349948,3781350444,3781350930,3781351407,3781351875,3781352334,3781352784,3781353226,3781353659,3781354084,3781354501,3781354910,3781355311,3781355705,3781356091,3781356470,3781356842,3781357207,3781357565,3781357916,3781358260,3781358598,3781358929,3781359254,3781359573,3781359886,3781360193,3781360494,3781360789,3781361079,3781361363,3781361642,3781361915,3781362183,3781362446,3781362704,3781362957,3781363205,3781363449,3781363688,3781363922,3781364152,3781364378,3781364599,3781364816,3781365029,3781365238,3781365443,3781365644,3781365841,3781366034,3781366224,3781366410,3781366593,3781366772,3781366948,3781367120,3781367289,3781367455,3781367618,3781367778,3781367934,3781368088,3781368239,3781368387,3781368532,3781368674,3781368813,3781368950,3781369084,3781369216,3781369345,3781369472,3781369596,3781369718,3781369838,3781369955,3781370070,3781370183,3781370294,3781370403,3781370509,3781370613,3781370715,3781370815,3781370914,3781371011,3781371106,3781371199,3781371290,3781371380,3781371468,3781371554,3781371638,3781371721,3781371802,3781371882,3781371960,3781372037,3781372112,3781372186,3781372258,3781372329,3781372399,3781372467,3781372534,3781372600,3781372664,3781372727,3781372789,3781372850,3781372910,3781372969,3781373026,3781373082,3781373137,3781373191,3781373244,3781373296,3781373347,3781373397,3781373446,3781373494,3781373541,3781373587,3781373632,3781373677,3781373721,3781373764,3781373806,3781373847,3781373887,3781373927,3781373966,3781374004,3781374041,3781374078,3781374114,3781374149,3781374184,3781374218,3781374251,3781374284,3781374316,3781374347,3781374378,3781374408,3781374438,3781374467,3781374496,3781374524,3781374551,3781374578,3781374604,3781374630,3781374655,3781374680,3781374704,3781374728,3781374751,3781374774,3781374797,3781374819,3781374841,3781374862,3781374883,3781374903,3781374923,3781374943,3781374962,3781374981,3781375000,3781375018,3781375036,3781375053,3781375070,3781375087,3781375103,3781375119,3781375135,3781375151,3781375166,3781375181,3781375196,3781375210,3781375224,3781375238,3781375252,3781375265,3781375278,3781375291,3781375303,3781375315,3781375327,3781375339,3781375351,3781375362,3781375373,3781375384,3781375395,3781375405,3781375415,3781375425,3781375435,3781375445,3781375454,3781375463,3781375472,3781375481,3781375490,3781375499,3781375507,3781375515,3781375523,3781375531,3781375539,3781375547,3781375554,3781375561,3781375568,3781375575,3781375582,3781375589,3781375596,3781375602,3781375608,3781375614,3781375620,3781375626,3781375632,3781375638,3781375644,3781375649,3781375654,3781375659,3781375664 diff --git a/db/pre-re/exp_group_db.conf b/db/pre-re/exp_group_db.conf new file mode 100644 index 000000000..9ebb94e3c --- /dev/null +++ b/db/pre-re/exp_group_db.conf @@ -0,0 +1,175 @@ +//================= Hercules Database ===================================== +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2018 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Exp Groups Database File. +//========================================================================= + +base_exp_group_db: { + FirstClasses: { + MaxLevel: 99 + Exp: [ + 9, 16, 25, 36, 77, 112, 153, 200, 253, 320, + 385, 490, 585, 700, 830, 970, 1120, 1260, 1420, 1620, + 1860, 1990, 2240, 2504, 2950, 3426, 3934, 4474, 6889, 7995, + 9174, 10425, 11748, 13967, 15775, 17678, 19677, 21773, 30543, 34212, + 38065, 42102, 46323, 53026, 58419, 64041, 69892, 75973, 102468, 115254, + 128692, 142784, 157528, 178184, 196300, 215198, 234879, 255341, 330188, 365914, + 403224, 442116, 482590, 536948, 585191, 635278, 687211, 740988, 925400, 1473746, + 1594058, 1718928, 1848355, 1982340, 2230113, 2386162, 2547417, 2713878, 3206160, 3681024, + 4022472, 4377024, 4744680, 5125440, 5767272, 6204000, 6655464, 7121664, 7602600, 9738720, + 11649960, 13643520, 18339300, 23836800, 35658000, 48687000, 58135000, 99999998 + ] + } + TranscendedClasses: { + MaxLevel: 99 + Exp: [ + 10, 18, 28, 40, 85, 123, 168, 220, 278, 400, + 481, 613, 731, 875, 1038, 1213, 1400, 1575, 1775, 2268, + 2604, 2786, 3136, 3506, 4130, 4796, 5508, 6264, 9645, 12392, + 14220, 16159, 18209, 21649, 24451, 27401, 30499, 33748, 47342, 58160, + 64711, 71573, 78749, 90144, 99312, 108870, 118816, 129154, 174196, 213220, + 238080, 264150, 291427, 329640, 363155, 398116, 434526, 472381, 610848, 731828, + 806448, 884232, 965180, 1073896, 1170382, 1270556, 1374422, 1481976, 1850800, 3389616, + 3666333, 3953534, 4251217, 4559382, 5129260, 5488173, 5859059, 6241919, 7374168, 9570662, + 10458427, 11380262, 12336168, 13326144, 14994907, 16130400, 17304206, 18516326, 19766760, 29216160, + 34949880, 40930560, 55017900, 71510400, 106974000, 146061000, 174405000, 343210000 + ] + } + ThirdClasses: { + MaxLevel: 99 + Exp: [ + 10, 18, 28, 40, 85, 123, 168, 220, 278, 400, + 481, 613, 731, 875, 1038, 1213, 1400, 1575, 1775, 2268, + 2604, 2786, 3136, 3506, 4130, 4796, 5508, 6264, 9645, 12392, + 14220, 16159, 18209, 21649, 24451, 27401, 30499, 33748, 47342, 58160, + 64711, 71573, 78749, 90144, 99312, 108870, 118816, 129154, 174196, 213220, + 238080, 264150, 291427, 329640, 363155, 398116, 434526, 472381, 610848, 731828, + 806448, 884232, 965180, 1073896, 1170382, 1270556, 1374422, 1481976, 1850800, 3389616, + 3666333, 3953534, 4251217, 4559382, 5129260, 5488173, 5859059, 6241919, 7374168, 9570662, + 10458427, 11380262, 12336168, 13326144, 14994907, 16130400, 17304200, 18516326, 19766760, 21085096, + 22473939, 23935933, 25473761, 27090141, 28787825, 30569594, 32438257, 34396650 + ] + } +} +job_exp_group_db: { + Novice: { + MaxLevel: 10 + Exp: [ 10, 18, 28, 40, 91, 151, 205, 268, 340 ] + } + FirstClasses: { + MaxLevel: 50 + Exp: [ + 30, 43, 58, 76, 116, 180, 220, 272, 336, 520, + 604, 699, 802, 948, 1125, 1668, 1937, 2226, 3040, 3988, + 5564, 6272, 7021, 9114, 11473, 15290, 16891, 18570, 23229, 28359, + 36478, 39716, 43088, 52417, 62495, 78160, 84175, 90404, 107611, 125915, + 153941, 191781, 204351, 248352, 286212, 386371, 409795, 482092, 509596 + ] + } + SecondClasses: { + MaxLevel: 50 + Exp: [ + 144, 184, 284, 348, 603, 887, 1096, 1598, 2540, 3676, + 4290, 4946, 6679, 9492, 12770, 14344, 16005, 20642, 27434, 35108, + 38577, 42206, 52708, 66971, 82688, 89544, 96669, 117821, 144921, 174201, + 186677, 199584, 238617, 286366, 337147, 358435, 380376, 447685, 526989, 610246, + 644736, 793535, 921810, 1106758, 1260955, 1487304, 1557657, 1990632, 2083386 + ] + } + ThirdClasses: { + MaxLevel: 50 + Exp: [ + 368, 568, 696, 1206, 1774, 2192, 3196, 5080, 7352, 8580, + 9892, 13358, 18984, 31925, 35860, 40013, 51605, 68585, 87770, 96443, + 105515, 131770, 167428, 206720, 223860, 241673, 294553, 362303, 479053, 513362, + 548856, 656197, 787507, 927154, 985696, 1046034, 1231134, 1449220, 1678177, 1943306, + 2244059, 2584282, 2968115, 3400000, 3884688, 4427246, 5033064, 5707855, 6457661 + ] + } + HighNovice: { + MaxLevel: 10 + Exp: [ 11, 20, 31, 44, 100, 166, 226, 295, 374 ] + } + TranscendedFirstClasses: { + MaxLevel: 50 + Exp: [ + 60, 86, 116, 152, 232, 360, 440, 544, 672, 1040, + 1208, 1398, 1604, 1896, 2250, 3336, 3874, 4452, 6080, 7976, + 11128, 12544, 14042, 18228, 28683, 38225, 42228, 46425, 58073, 70898, + 91195, 99290, 107720, 131043, 156238, 195400, 210438, 226010, 269028, 314788, + 384853, 479453, 510878, 620880, 715530, 965928, 1024488, 1205230, 1273990 + ] + } + TranscendedSecondClasses: { + MaxLevel: 70 + Exp: [ + 288, 368, 568, 696, 1206, 1774, 2192, 3196, 5080, 7352, + 8580, 9892, 13358, 18984, 31925, 35860, 40013, 51605, 68585, 87770, + 96443, 105515, 131770, 167428, 206720, 223860, 241673, 294553, 362303, 479053, + 513362, 548856, 656197, 787507, 927154, 985696, 1046034, 1231134, 1449220, 1678177, + 1773024, 2182221, 2534978, 3043585, 3782865, 4461912, 4672971, 5971896, 6250158, 6875174, + 7562691, 8318960, 9150856, 10065942, 11877812, 14015818, 16538665, 19515624, 23028437, 28094693, + 34275525, 41816141, 51015692, 62239144, 79666104, 101972614, 130524946, 167071930, 213852071 + ] + } + NinjaAndGunslinger: { + MaxLevel: 70 + Exp: [ + 72, 92, 142, 174, 301, 443, 548, 799, 1270, 1838, + 2145, 2473, 3339, 4746, 6385, 7172, 8002, 10321, 13717, 17554, + 19288, 21103, 26354, 33485, 41344, 44772, 48334, 58910, 72460, 87100, + 93338, 99792, 119308, 143183, 231068, 257377, 274363, 314246, 371105, 431038, + 476309, 588548, 665256, 801731, 916689, 1130023, 1188623, 1377408, 1551289, 1746582, + 1845236, 1954741, 2124555, 2345698, 2548763, 2759555, 3021488, 3254111, 3489547, 3695474, + 4012251, 4181112, 4302211, 4496584, 4578951, 4869523, 5022114, 5123654, 5395117 + ] + } + StarGladiator: { + MaxLevel: 50 + Exp: [ + 27434, 27434, 27434, 27434, 27434, 27434, 27434, 27434, 27434, 27434, + 27434, 27434, 27434, 27434, 27434, 27434, 27434, 27434, 54868, 70216, + 77154, 84412, 105416, 133924, 165376, 179008, 193338, 235642, 289842, 348402, + 373354, 399168, 477234, 572732, 674294, 716870, 760752, 895370, 1053978, 1220492, + 1289472, 1587070, 1843620, 2213516, 2521910, 2974608, 3115314, 3981264, 5166772 + ] + } + SuperNovice: { + MaxLevel: 99 + Exp: [ + 30, 43, 58, 76, 116, 180, 220, 272, 336, 520, + 604, 699, 802, 948, 1125, 1668, 1937, 2226, 3040, 3988, + 5564, 6272, 7021, 9114, 11473, 15290, 16891, 18570, 23229, 28359, + 36478, 39716, 43088, 52417, 62495, 78160, 84175, 90404, 107611, 125915, + 153941, 191781, 204351, 248352, 286212, 386371, 409795, 482092, 509596, 982092, + 992092, 1002092, 1012092, 1022092, 1032092, 1042092, 1052092, 1062092, 1072092, 1082092, + 1092092, 1102092, 1112092, 1122092, 1132092, 1142092, 1152092, 1162092, 1172092, 1182092, + 1192092, 1202092, 1212092, 1222092, 1232092, 1242092, 1252092, 1262092, 1272092, 1282092, + 1292092, 1302092, 1312092, 1322092, 1332092, 1342092, 1352092, 1362092, 1372092, 1382092, + 1392092, 1402092, 1412092, 1422092, 1432092, 1442092, 1452092, 1462092 + ] + } +} diff --git a/db/pre-re/job_db.conf b/db/pre-re/job_db.conf index 186e5bd99..ac4ad1582 100644 --- a/db/pre-re/job_db.conf +++ b/db/pre-re/job_db.conf @@ -68,6 +68,8 @@ Job_Name: { // Job names as in src/map/pc.c (they are hardcoded at the moment so **************************************************************************/ Novice: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "Novice" BaseASPD: { Fist: 500 Dagger: 650 @@ -110,6 +112,8 @@ Novice: { 151, 152, 153, 154, 155, 156, 157, 158, 159, 160] // 141 - 150 } Swordsman: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Weight: 28000 BaseASPD: { Fist: 400 @@ -155,6 +159,8 @@ Swordsman: { 292, 294, 296, 298, 300, 302, 304, 306, 308, 310] // 141 - 150 } Magician: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Weight: 22000 BaseASPD: { Fist: 500 @@ -194,6 +200,8 @@ Magician: { 856, 862, 868, 874, 880, 886, 892, 898, 904, 910] // 141 - 150 } Archer: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Weight: 26000 BaseASPD: { Fist: 400 @@ -218,6 +226,8 @@ Archer: { 5318, 5372, 5427, 5481, 5536, 5590, 5645, 5699, 5754, 5808] // 141 - 150 } Acolyte: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Weight: 24000 BaseASPD: { Fist: 400 @@ -258,6 +268,8 @@ Acolyte: { 715, 720, 725, 730, 735, 740, 745, 750, 755, 760] // 141 - 150 } Merchant: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Weight: 28000 BaseASPD: { Fist: 400 @@ -286,6 +298,8 @@ Merchant: { 433, 436, 439, 442, 445, 448, 451, 454, 457, 460] // 141 - 150 } Thief: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Weight: 24000 BaseASPD: { Fist: 400 @@ -298,6 +312,8 @@ Thief: { InheritSP: ("Swordsman") } Knight: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 28000 BaseASPD: { Fist: 400 @@ -329,6 +345,8 @@ Knight: { 11128, 11203, 11278, 11353, 11428, 11503, 11578, 11653, 11728, 11803] // 141 - 150 } Priest: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 26000 BaseASPD: { Fist: 400 @@ -371,6 +389,8 @@ Priest: { 1138, 1146, 1154, 1162, 1170, 1178, 1186, 1194, 1202, 1210] // 141 - 150 } Wizard: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 24000 BaseASPD: { Fist: 500 @@ -410,6 +430,8 @@ Wizard: { 1279, 1288, 1297, 1306, 1315, 1324, 1333, 1342, 1351, 1360] // 141 - 150 } Blacksmith: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 30000 BaseASPD: { Fist: 400 @@ -452,6 +474,8 @@ Blacksmith: { 574, 578, 582, 586, 590, 594, 598, 602, 606, 610] // 141 - 150 } Hunter: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 27000 BaseASPD: { Fist: 400 @@ -476,6 +500,8 @@ Hunter: { 8456, 8544, 8633, 8721, 8810, 8898, 8987, 9075, 9164, 9252] // 141 - 150 } Assassin: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 24000 BaseASPD: { Fist: 400 @@ -508,6 +534,8 @@ Assassin: { 10746, 10859, 10973, 11086, 11200, 11313, 11427, 11540, 11654, 11767] // 141 - 150 } Crusader: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 28000 BaseASPD: { Fist: 400 @@ -553,6 +581,8 @@ Crusader: { 672, 677, 682, 686, 691, 696, 700, 705, 710, 715] // 141 - 150 } Rogue: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 24000 BaseASPD: { Fist: 400 @@ -564,6 +594,8 @@ Rogue: { InheritSP: ("Acolyte") } Sage: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 24000 BaseASPD: { Fist: 450 @@ -591,6 +623,8 @@ Sage: { 997, 1004, 1011, 1018, 1025, 1032, 1039, 1046, 1053, 1060] // 141 - 150 } Alchemist: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" BaseASPD: { Fist: 400 Dagger: 550 @@ -603,6 +637,8 @@ Alchemist: { Inherit: ("Blacksmith") } Monk: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 26000 BaseASPD: { Fist: 400 @@ -630,6 +666,8 @@ Monk: { 9127, 9222, 9317, 9412, 9507, 9602, 9697, 9792, 9887, 9982] // 141 - 150 } Bard: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 27000 BaseASPD: { Fist: 400 @@ -655,6 +693,8 @@ Bard: { 7290, 7367, 7444, 7521, 7598, 7675, 7752, 7829, 7906, 7983] // 141 - 150 } Dancer: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" BaseASPD: { Whip: 575 Instrument: 2000 @@ -662,6 +702,8 @@ Dancer: { Inherit: ("Bard") } Taekwon: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Weight: 28000 BaseASPD: { Fist: 400 @@ -721,6 +763,8 @@ Taekwon: { 200, 200, 200, 200, 200, 200, 200, 200, 200, 200] // 141 - 150 } Star_Gladiator: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "StarGladiator" Inherit: ("Taekwon") HPTable:[ 40, 47, 55, 64, 74, 84, 95, 107, 120, 134, // 1 - 10 149, 165, 182, 200, 219, 238, 258, 306, 329, 354, // 11 - 20 @@ -754,6 +798,8 @@ Star_Gladiator: { 500, 500, 500, 500, 500, 500, 500, 500, 500, 500] // 141 - 150 } Soul_Linker: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 24000 BaseASPD: { Fist: 500 @@ -793,6 +839,8 @@ Soul_Linker: { 900, 900, 900, 900, 900, 900, 900, 900, 900, 900] // 141 - 150 } Gunslinger: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "NinjaAndGunslinger" Weight: 28000 BaseASPD: { Fist: 500 @@ -820,6 +868,8 @@ Gunslinger: { 708, 714, 720, 726, 732, 738, 744, 750, 756, 762] // 141 - 150 } Ninja: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "NinjaAndGunslinger" Weight: 26000 BaseASPD: { Fist: 400 @@ -844,6 +894,8 @@ Ninja: { 858, 866, 874, 882, 890, 898, 906, 914, 922, 930] // 141 - 150 } Gangsi: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "NinjaAndGunslinger" Weight: 32000 InheritSP: ("Novice") BaseASPD: { @@ -884,14 +936,20 @@ Gangsi: { 2605, 2656, 2708, 2760, 2813, 2866, 2920, 2974, 3029] // 91 - 99 } Death_Knight: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 36000 Inherit: ("Gangsi") } Dark_Collector: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 40000 Inherit: ("Gangsi") } Rune_Knight: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 35000 InheritSP: ("Merchant") BaseASPD: { @@ -923,6 +981,8 @@ Rune_Knight: { 13474, 13626, 13780, 13934, 14090, 14246, 14404, 14562, 14722, 14883] // 141 - 150 } Warlock: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 30000 InheritSP: ("Wizard") BaseASPD: { @@ -949,6 +1009,8 @@ Warlock: { 6763, 6861, 6960, 7059, 7159, 7259, 7361, 7463, 7566, 7669] // 141 - 150 } Ranger: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 32000 InheritSP: ("Blacksmith") BaseASPD: { @@ -973,6 +1035,8 @@ Ranger: { 9269, 9397, 9526, 9656, 9786, 9917, 10049, 10182, 10316, 10451] // 141 - 150 } Arch_Bishop: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Priest") Weight: 30000 BaseASPD: { @@ -986,6 +1050,8 @@ Arch_Bishop: { } } Mechanic: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 38000 InheritSP: ("Blacksmith") BaseASPD: { @@ -1014,6 +1080,8 @@ Mechanic: { 11136, 11287, 11439, 11592, 11746, 11901, 12057, 12215, 12372, 12531] // 141 - 150 } Guillotine_Cross: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 32000 InheritSP: ("Blacksmith") BaseASPD: { @@ -1040,6 +1108,8 @@ Guillotine_Cross: { 11708, 11868, 12029, 12191, 12354, 12518, 12684, 12851, 13019, 13188] // 141 - 150 } Shadow_Chaser: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Guillotine_Cross") Weight: 28000 BaseASPD: { @@ -1050,6 +1120,8 @@ Shadow_Chaser: { } } Royal_Guard: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Guillotine_Cross") Weight: 35000 BaseASPD: { @@ -1066,6 +1138,8 @@ Royal_Guard: { } } Sorcerer: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 30000 InheritSP: ("Wizard") BaseASPD: { @@ -1093,6 +1167,8 @@ Sorcerer: { 7878, 7987, 8097, 8207, 8318, 8429, 8541, 8654, 8768, 8883] // 141 - 150 } Minstrel: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 32000 Inherit: ("Ranger") BaseASPD: { @@ -1103,6 +1179,8 @@ Minstrel: { } } Wanderer: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Ranger") BaseASPD: { Whip: 440 @@ -1110,6 +1188,8 @@ Wanderer: { } } Sura: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 30000 InheritSP: ("Blacksmith") BaseASPD: { @@ -1137,6 +1217,8 @@ Sura: { 9684, 9815, 9947, 10080, 10214, 10349, 10485, 10622, 10759, 10897] // 141 - 150 } Genetic: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 32000 InheritSP: ("Wizard") BaseASPD: { @@ -1165,6 +1247,8 @@ Genetic: { 8329, 8416, 8503, 8589, 8676, 8763, 8850, 8937, 9024, 9111] // 141 - 150 } Kagerou: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Soul_Linker") Weight: 26000 InheritSP: ("Ninja") @@ -1175,224 +1259,370 @@ Kagerou: { } } Oboro: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Kagerou") } Rebellion: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Gunslinger") InheritHP: ("Soul_Linker") } Novice_High: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "HighNovice" Inherit: ("Novice") } Swordsman_High: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedFirstClasses" Inherit: ("Swordsman") } Magician_High: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedFirstClasses" Inherit: ("Magician") } Archer_High: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedFirstClasses" Inherit: ("Archer") } Acolyte_High: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedFirstClasses" Inherit: ("Acolyte") } Merchant_High: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedFirstClasses" Inherit: ("Merchant") } Thief_High: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedFirstClasses" Inherit: ("Thief") } Lord_Knight: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Knight") } High_Priest: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Priest") } High_Wizard: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Wizard") } Whitesmith: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Blacksmith") } Sniper: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Hunter") } Assassin_Cross: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Assassin") } Paladin: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Crusader") } Champion: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Monk") } Professor: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Sage") } Stalker: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Rogue") } Creator: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Alchemist") } Clown: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Bard") } Gypsy: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Dancer") } Baby_Novice: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "Novice" Inherit: ("Novice") } Baby_Swordsman: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Swordsman") } Baby_Magician: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Magician") } Baby_Archer: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Archer") } Baby_Acolyte: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Acolyte") } Baby_Merchant: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Merchant") } Baby_Thief: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Thief") } Baby_Knight: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Inherit: ("Knight") } Baby_Priest: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Inherit: ("Priest") } Baby_Wizard: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Inherit: ("Wizard") } Baby_Blacksmith: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Inherit: ("Blacksmith") } Baby_Hunter: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Inherit: ("Hunter") } Baby_Assassin: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Inherit: ("Assassin") } Baby_Crusader: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Inherit: ("Crusader") } Baby_Monk: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Inherit: ("Monk") } Baby_Sage: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Inherit: ("Sage") } Baby_Rogue: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Inherit: ("Rogue") } Baby_Alchemist: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Inherit: ("Alchemist") } Baby_Bard: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Inherit: ("Bard") } Baby_Dancer: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Inherit: ("Dancer") } Super_Baby: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SuperNovice" Inherit: ("Novice") } Rune_Knight_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Rune_Knight") } Warlock_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Warlock") } Ranger_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Ranger") } Arch_Bishop_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Arch_Bishop") } Mechanic_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Mechanic") } Guillotine_Cross_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Guillotine_Cross") } Royal_Guard_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Royal_Guard") } Sorcerer_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Sorcerer") } Minstrel_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Minstrel") } Wanderer_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Wanderer") } Sura_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Sura") } Genetic_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Genetic") } Shadow_Chaser_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Shadow_Chaser") } Baby_Rune_Knight: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Rune_Knight") } Baby_Warlock: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Warlock") } Baby_Ranger: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Ranger") } Baby_Arch_Bishop: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Arch_Bishop") } Baby_Mechanic: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Mechanic") } Baby_Guillotine_Cross: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Guillotine_Cross") } Baby_Royal_Guard: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Royal_Guard") } Baby_Sorcerer: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Sorcerer") } Baby_Minstrel: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Minstrel") } Baby_Wanderer: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Wanderer") } Baby_Sura: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Sura") } Baby_Genetic: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Genetic") } Baby_Shadow_Chaser: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Shadow_Chaser") } Super_Novice: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SuperNovice" Inherit: ("Novice") } Expanded_Super_Novice: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Novice") } Expanded_Super_Baby: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Novice") } // Summoner HP/SP is not known, below table are generated and near to official HP/SP. Summoner: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 20000 BaseASPD: { Fist: 45 diff --git a/db/re/exp.txt b/db/re/exp.txt deleted file mode 100644 index 790542419..000000000 --- a/db/re/exp.txt +++ /dev/null @@ -1,59 +0,0 @@ -//Experience tables format: -//Max Level,Class list,Type (0 - Base Exp; 1 - Job Exp),Exp for Lv 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98 -// Supports baselevel up to 1000 and joblevel up to 255 (except Novice/High Novice) - -//================================ -// Renewal Experience Database -//================================ - -//Base - Normal and Baby Jobs -99,0:1:2:3:4:5:6:7:8:9:10:11:12:13:14:15:16:17:18:19:20:21:23:24:25:4023:4024:4025:4026:4027:4028:4029:4030:4031:4032:4033:4034:4035:4036:4037:4038:4039:4040:4041:4042:4043:4044:4045:4046:4047:4048:4049:4050:4051:4052:4218,0,350,550,900,1500,2200,3200,3800,4200,4550,5000,5500,6000,6100,6350,6700,7350,8000,8400,8800,9200,9700,10300,11000,11800,13000,14000,15000,16000,17000,18000,19000,20000,21000,22000,23200,24000,26000,27500,29000,30000,31500,33000,34000,36000,37500,38000,40000,42000,44500,47000,49000,51000,53000,55000,57000,59000,61500,63000,65000,67000,69000,70000,73000,77000,80000,84000,88000,91000,95000,110000,128000,140000,155000,163000,170000,180000,188000,195000,200000,230000,260000,300000,350000,400000,480000,550000,600000,680000,750000,900000,1000000,1200000,1500000,1800000,2100000,2400000,2800000,3300000,4000000,4015999,4032062,4048190,4064382,4080639,4096961,4113348,4129801,4146319,4162904,4179555,4196273,4213057,4229909,4246828,4263815,4280870,4297993,4315184,4332444,4349773,4367171,4384639,4402177,4419785,4437463,4455212,4473032,4490923,4508886,4526921,4545028,4563207,4581459,4599784,4618182,4636654,4655200,4673820,4692515,4711284,4730128,4749048,4768043,4787114,4806262,4825486,4844787,4864165,4883621,4903155,4922767,4942457,4962226,4982074,5002002,5022009,5042096,5062264,5082512,5102841,5123252,5143744,5164318,5184975,5205714,5226536,5247441,5268430,5289503,5310660,5331902,5353229,5374641,5396139,5417723,5439393,5461150,5482994,5504925,5526944,5549051,5571246,5593530,5615903,5638366,5660919,5683562,5706295,5729119,5752035,5775042,5798141,5821333,5844618,5867996,5891467,5915032,5938691,5962445,5986294,6010238,6034278,6058414,6082647,6106977,6131404,6155929,6180552,6205273,6230093,6255013,6280032,6305151,6330371,6355692,6381114,6406638,6432264,6457992,6483823,6509757,6535795,6561937,6588184,6614536,6640993,6667556,6694225,6721001,6747884,6774875,6801974,6829181,6856497,6883922,6911457,6939102,6966858,6994725,7022703,7050793,7078995,7107310,7135738,7164280,7192936,7221707,7250593,7279594,7308712,7337946,7367297,7396765,7426351,7456056,7485879,7515822,7545884,7576067,7606370,7636795,7667341,7698009,7728800,7759714,7790752,7821914,7853201,7884613,7916151,7947815,7979605,8011523,8043568,8075741,8108043,8140474,8173035,8205726,8238548,8271501,8304586,8337803,8371153,8404637,8438255,8472007,8505894,8539917,8574076,8608371,8642804,8677374,8712083,8746930,8781917,8817044,8852311,8887719,8923269,8958961,8994796,9030774,9066896,9103163,9139575,9176132,9212836,9249686,9286684,9323830,9361124,9398568,9436161,9473905,9511800,9549846,9588044,9626395,9664900,9703559,9742372,9781340,9820464,9859745,9899183,9938779,9978533,10018446,10058519,10098752,10139146,10179702,10220420,10261301,10302345,10343553,10384926,10426465,10468170,10510042,10552081,10594288,10636664,10679210,10721926,10764813,10807871,10851101,10894504,10938081,10981832,11025758,11069860,11114138,11158593,11203226,11248038,11293029,11338200,11383552,11429085,11474800,11520698,11566780,11613046,11659497,11706134,11752957,11799968,11847167,11894555,11942132,11989899,12037857,12086007,12134350,12182886,12231616,12280541,12329662,12378980,12428495,12478208,12528120,12578231,12628543,12679056,12729771,12780689,12831811,12883137,12934668,12986406,13038350,13090502,13142863,13195433,13248214,13301206,13354410,13407826,13461456,13515301,13569361,13623637,13678130,13732841,13787771,13842921,13898291,13953883,14009697,14065735,14121997,14178484,14235197,14292137,14349304,14406700,14464326,14522182,14580269,14638589,14697142,14755929,14814951,14874210,14933706,14993440,15053412,15113624,15174077,15234772,15295710,15356892,15418318,15479990,15541909,15604075,15666490,15729155,15792070,15855237,15918657,15982330,16046258,16110442,16174882,16239580,16304537,16369754,16435232,16500972,16566975,16633242,16699774,16766572,16833637,16900969,16968571,17036445,17104588,17173005,17241695,17310661,17379901,17449418,17519214,17589289,17659644,17730281,17801200,17872403,17943892,18015666,18087727,18160077,18232715,18305645,18378865,18452378,18526186,18600289,18674688,18749385,18824380,18899676,18975273,19051172,19127375,19203884,19280698,19357819,19435250,19512989,19591038,19669401,19748076,19827067,19906375,19986000,20065942,20146204,20226787,20307694,20388923,20470478,20552358,20634566,20717103,20799971,20883170,20966701,21050565,21134765,21219301,21304176,21389391,21474948,21560846,21647088,21733675,21820609,21907889,21995518,22083498,22171830,22260516,22349556,22438953,22528706,22618819,22709294,22800130,22891329,22982892,23074822,23167120,23259787,23352825,23446234,23540017,23634174,23728709,23823621,23918913,24014586,24110643,24207085,24303911,24401126,24498729,24596721,24695105,24793883,24893058,24992628,25092597,25192965,25293734,25394907,25496486,25598470,25700862,25803664,25906877,26010502,26114542,26218998,26323872,26429166,26534881,26641018,26747580,26854568,26961984,27069830,27178107,27286819,27395965,27505546,27615566,27726026,27836928,27948274,28060065,28172302,28284989,28398126,28511717,28625761,28740261,28855219,28970639,29086521,29202864,29319673,29436949,29554694,29672911,29791602,29910766,30030407,30150528,30271128,30392210,30513777,30635829,30758369,30881399,31004924,31128942,31253456,31378468,31503980,31629994,31756512,31883536,32011068,32139110,32267664,32396732,32526317,32656419,32787043,32918190,33049861,33182057,33314782,33448039,33581830,33716157,33851018,33986418,34122359,34258847,34395881,34533461,34671592,34810276,34949515,35089312,35229667,35370584,35512064,35654110,35796726,35939913,36083669,36228000,36372910,36518401,36664471,36811127,36958370,37106199,37254622,37403640,37553252,37703463,37854275,38005691,38157712,38310340,38463579,38617432,38771899,38926985,39082689,39239016,39395970,39553549,39711760,39870604,40030084,40190202,40350958,40512361,40674407,40837103,41000450,41164447,41329103,41494418,41660391,41827031,41994337,42162311,42330959,42500281,42670278,42840958,43012321,43184367,43357103,43530530,43704647,43879464,44054979,44231197,44408118,44585750,44764092,44943146,45122914,45303401,45484611,45666548,45849211,46032606,46216736,46401600,46587204,46773550,46960643,47148484,47337075,47526421,47716523,47907387,48099015,48291409,48484571,48678507,48873219,49068710,49264984,49462041,49659885,49858520,50057951,50258181,50459210,50661042,50863681,51067132,51271397,51476478,51682383,51889110,52096665,52305047,52514265,52724318,52935214,53146954,53359537,53572971,53787261,54002406,54218414,54435286,54653026,54871633,55091115,55311477,55532719,55754848,55977864,56201772,56426576,56652279,56878886,57106400,57334822,57564160,57794413,58025586,58257683,58490711,58724671,58959567,59195403,59432182,59669909,59908584,60148215,60388805,60630356,60872874,61116360,61360822,61606264,61852685,62100091,62348489,62597878,62848268,63099657,63352051,63605456,63859874,64115308,64371765,64629247,64887761,65147307,65407893,65669520,65932194,66195917,66460696,66726535,66993438,67261410,67530450,67800566,68071766,68344051,68617420,68891890,69167452,69444122,69721892,70000771,70280767,70561887,70844131,71127500,71412010,71697652,71984434,72272366,72561453,72851698,73143099,73435664,73729402,74024313,74320405,74617685,74916154,75215812,75516667,75818726,76121999,76426484,76732181,77039108,77347256,77656641,77967262,78279129,78592240,78906604,79222230,79539116,79857272,80176696,80497398,80819385,81142657,81467222,81793088,82120256,82448732,82778526,83109637,83442074,83775835,84110931,84447367,84785153,85124288,85464780,85806638,86149862,86494459,86840429,87187789,87536538,87886677,88238222,88591172,88945528,89301305,89658504,90017133,90377199,90738704,91101654,91466057,91831915,92199234,92568024,92938291,93310036,93683267,94057992,94434219,94811948,95191194,95571951,95954234,96338043,96723387,97110272,97498708,97888693,98280245,98673363,99068048,99464315,99862164,100261603,100662641,101065285,101469543,101875416,102282912,102692038,103102802,103515205,103929263,104344975,104762350,105181396,105602112,106024515,106448604,106874396,107301892,107731090,108162006,108594650,109029020,109465134,109902990,110342598,110783964,111227098,111671998,112118682,112567148,113017414,113469479,113923352,114379039,114836550,115295892,115757065,116220086,116684962,117151693,117620296,118090771,118563124,119037366,119513511,119991559,120471520,120953399,121437207,121922950,122410637,122900276,123391866,123885425,124380959,124878477,125377987,125879489,126382999,126888525,127396075,127905649,128417264,128930926,129446645,129964427,130484275,131006202,131530218,132056330,132584546,133114875,133647324,134181910,134718632,135257491,135798510,136341699,136887055,137434597,137984323,138536250,139090393,139646754,140205331,140766142,141329201,141894509,142462082,143031920,143604040,144178440,144755138,145334149,145915473 - -//Base - Adv Jobs -99,4001:4002:4003:4004:4005:4006:4007:4008:4009:4010:4011:4012:4013:4014:4015:4016:4017:4018:4019:4020:4021:4022,0,420,660,1080,1800,2640,3840,4560,5040,5460,6000,6600,7200,7320,7620,8040,8820,9600,10080,10560,11040,12610,13390,14300,15340,16900,18460,19500,20800,22100,23400,24700,26000,27300,28600,30160,31200,33800,35750,37700,39000,44100,46200,47600,50400,52500,53200,56000,58800,62300,65800,68600,71400,74200,77000,79800,82600,86100,88200,91000,93800,103500,105000,109500,115500,120000,126000,132000,136500,142500,165000,192000,210000,232500,244500,255000,270000,282000,292500,300000,345000,416000,480000,560000,640000,768000,880000,960000,1088000,1200000,1440000,1700000,2040000,2550000,3060000,3570000,4080000,4760000,5610000,6800000,6827199,6854507,6881924,6909451,6937088,6964835,6992693,7020663,7048745,7076939,7105246,7133666,7162200,7190848,7219611,7248489,7277482,7306591,7335816,7365158,7394618,7424196,7453892,7483707,7513641,7543695,7573869,7604164,7634580,7665117,7695777,7726559,7757464,7788493,7819646,7850924,7882327,7913855,7945510,7977291,8009199,8041235,8073399,8105692,8138114,8170666,8203348,8236160,8269104,8302179,8335387,8368728,8402202,8435810,8469552,8503429,8537442,8571591,8605876,8640299,8674859,8709557,8744394,8779371,8814488,8849745,8885143,8920683,8956365,8992189,9028157,9064269,9100525,9136926,9173473,9210166,9247006,9283993,9321128,9358412,9395845,9433427,9471160,9509044,9547079,9585266,9623606,9662099,9700746,9739548,9778505,9817618,9856887,9896314,9935898,9975641,10015543,10055604,10095825,10136207,10176751,10217457,10258326,10299358,10340554,10381915,10423442,10465135,10506995,10549022,10591217,10633581,10676114,10718817,10761691,10804737,10847955,10891346,10934910,10978649,11022563,11066652,11110918,11155361,11199981,11244780,11289758,11334916,11380255,11425775,11471477,11517362,11563430,11609683,11656121,11702744,11749554,11796551,11843736,11891110,11938673,11986427,12034372,12082508,12130837,12179359,12228075,12276986,12326093,12375396,12424896,12474594,12524491,12574588,12624885,12675383,12726083,12776986,12828093,12879404,12930920,12982643,13034572,13086709,13139055,13191610,13244375,13297351,13350539,13403940,13457555,13511384,13565428,13619689,13674167,13728862,13783776,13838910,13894264,13949840,14005638,14061659,14117904,14174374,14231070,14287993,14345144,14402523,14460132,14517971,14576042,14634345,14692881,14751651,14810656,14869897,14929375,14989091,15049046,15109241,15169677,15230354,15291274,15352438,15413846,15475500,15537401,15599549,15661946,15724592,15787489,15850638,15914039,15977694,16041603,16105768,16170190,16234869,16299807,16365005,16430464,16496185,16562168,16628415,16694927,16761705,16828750,16896064,16963647,17031501,17099625,17168021,17236691,17305637,17374857,17444354,17514130,17584185,17654519,17725137,17796035,17867219,17938687,18010441,18082480,18154808,18227426,18300334,18373534,18447027,18520815,18594898,18669276,18743952,18818926,18894200,18969775,19045654,19121835,19198322,19275114,19352213,19429619,19507337,19585364,19663704,19742357,19821324,19900608,19980209,20060127,20140367,20220928,20301810,20383016,20464547,20546405,20628588,20711101,20793943,20877118,20960625,21044465,21128640,21213153,21298003,21383194,21468725,21554597,21640813,21727374,21814282,21901538,21989143,22077099,22165407,22254068,22343083,22432455,22522184,22612271,22702719,22793529,22884700,22976237,23068139,23160411,23253052,23346063,23439447,23533204,23627335,23721844,23816730,23911995,24007642,24103671,24200085,24296883,24394070,24491645,24589609,24687965,24786714,24885859,24985402,25085342,25185682,25286423,25387568,25489116,25591071,25693434,25796206,25899389,26002984,26106994,26211420,26316264,26421527,26527212,26633319,26739851,26846810,26954195,27062011,27170258,27278937,27388050,27497600,27607588,27718016,27828886,27940200,28051959,28164166,28276821,28389925,28503482,28617494,28731962,28846888,28962274,29078121,29194430,29311206,29428449,29546160,29664343,29782999,29902130,30021736,30141821,30262385,30383431,30504964,30626982,30749488,30872484,30995972,31119954,31244432,31369408,31494884,31620861,31747341,31874327,32001823,32129829,32258345,32387375,32516923,32646990,32777576,32908684,33040317,33172475,33305164,33438382,33572133,33706418,33841239,33976603,34112508,34248956,34385950,34523494,34661588,34800232,34939431,35079187,35219502,35360380,35501819,35643825,35786397,35929539,36073256,36217547,36362416,36507863,36653893,36800505,36947704,37095492,37243872,37392845,37542413,37692579,37843348,37994719,38146696,38299280,38452475,38606283,38760707,38915748,39071408,39227691,39384600,39542136,39700302,39859103,40018538,40178608,40339320,40500675,40662676,40825324,40988623,41152576,41317184,41482450,41648375,41814967,41982225,42150150,42318750,42488024,42657973,42828601,42999912,43171909,43344593,43517968,43692037,43866801,44042264,44218430,44395303,44572882,44751169,44930170,45109886,45290325,45471482,45653363,45835975,46019317,46203390,46388203,46573754,46760044,46947081,47134865,47323401,47512691,47702740,47893548,48085119,48277458,48470563,48664443,48859099,49054533,49250747,49447748,49645536,49844115,50043489,50243659,50444632,50646407,50848991,51052385,51256590,51461615,51667459,51874127,52081621,52289943,52499101,52709093,52919925,53131600,53344123,53557497,53771723,53986808,54202752,54419560,54637235,54855782,55075204,55295501,55516679,55738743,55961696,56185539,56410279,56635918,56862460,57089906,57318260,57547530,57777715,58008823,58240856,58473816,58707708,58942535,59178303,59415014,59652673,59891279,60130842,60371360,60612842,60855288,61098706,61343095,61588465,61834814,62082152,62330477,62579794,62830107,63081425,63333746,63587075,63841421,64096782,64353167,64610577,64869014,65128488,65388998,65650552,65913150,66176801,66441503,66707266,66974089,67241980,67510948,67780984,68052104,68324308,68597597,68871986,69147468,69424058,69701748,69980547,70260462,70541502,70823666,71106955,71391376,71676937,71963640,72251490,72540490,72830646,73121966,73414452,73708102,74002932,74298935,74596127,74894508,75194086,75494860,75796839,76100023,76404420,76710029,77016868,77324927,77634223,77944756,78256526,78569550,78883826,79199355,79516145,79834204,80153540,80474146,80796036,81119211,81443680,81769450,82096521,82424901,82754599,83085614,83417954,83751619,84086618,84422958,84760647,85099686,85440082,85781835,86124954,86469447,86815321,87162576,87511221,87861264,88212704,88565550,88919809,89275482,89632577,89991101,90351063,90712463,91075309,91439608,91805361,92172576,92541261,92911424,93283064,93656191,94030811,94406926,94784550,95163685,95544337,95926508,96310213,96695451,97082224,97470547,97860421,98251860,98644858,99039430,99435584,99833321,100232648,100633573,101036105,101440243,101845995,102253370,102662376,103073020,103485310,103899247,104314839,104732093,105151018,105571614,105993897,106417866,106843529,107270896,107699974,108130770,108563285,108997535,109433520,109871248,110310727,110751965,111194970,111639742,112086297,112534635,112984764,113436701,113890444,114346003,114803378,115262583,115723628,116186520,116651260,117117863,117586329,118056667,118528884,119002989,119478997,119956909,120436733,120918476,121402147,121887746,122375288,122864782,123356236,123849658,124345048,124842421,125341787,125843144,126346510,126851891,127359289,127868718,128380188,128893706,129409272,129926902,130446604,130968387,131492250,132018210,132546274,133076450,133608746,134143172,134679733,135218439,135759298,136302326,136847522,137394903,137944468,138496234,139050217,139606417,140164834,140725484,141288382,141853530,142420942,142990620,143562579,144136818,144713355,145292205,145873369,146456861,147042683,147630851,148221363,148814237,149409489,150007118,150607140,151209556,151814382,152421633,153031310,153643429,154257989,154875007,155494500,156116465,156740921,157367883,157997351,158629325,159263837,159900887,160540475,161182633,161827362,162474661,163124546,163777033,164432139,165089864,165750206,166413200,167078844,167747154,168418131,169091791,169768150,170447207,171128980,171813483,172500733,173190730,173883490,174579012,175277315,175978412,176682320,177389040,178098587,178810977,179526210,180244303,180965271,181689115,182415867,183145526,183878092,184613598,185352044,186093446,186837804,187585149,188335482,189088820,189845161,190604538,191366952,192132401,192900919,193672505,194447192,195224978,196005865,196789885,197577037,198367337,199160803,199957432,200757259,201560282,202366518,203175967,203988661,204804600,205623815,206446292,207272062,208101141,208933529,209769259,210608330,211450758,212296544,213145719,213998283,214854270,215713678,216576523,217442822,218312576,219185815,220062539,220942782,221826543,222713838,223604683,224499095,225397072,226298648,227203838,228112643,229025078,229941160,230860904,231784327,232711445,233642273,234576829,235515127,236457168,237402984,238352575,239305974,240263179,241224224,242189108,243157847,244130458,245106973,246087391,247071728,248060002 - -//Base - 3rd Jobs, Baby 3rds -//Note: (First 98 values [Level 1 - 98] are dummy values (used Adv Jobs values), because 3rd classes start at level 99.) -175,4054:4055:4056:4057:4058:4059:4060:4061:4062:4063:4064:4065:4066:4067:4068:4069:4070:4071:4072:4073:4074:4075:4076:4077:4078:4079:4080:4081:4082:4083:4084:4085:4086:4087:4096:4097:4098:4099:4100:4101:4102:4103:4104:4105:4106:4107:4108:4109:4110:4111:4112,0,420,660,1080,1800,2640,3840,4560,5040,5460,6000,6600,7200,7320,7620,8040,8820,9600,10080,10560,11040,12610,13390,14300,15340,16900,18460,19500,20800,22100,23400,24700,26000,27300,28600,30160,31200,33800,35750,37700,39000,44100,46200,47600,50400,52500,53200,56000,58800,62300,65800,68600,71400,74200,77000,79800,82600,86100,88200,91000,93800,103500,105000,109500,115500,120000,126000,132000,136500,142500,165000,192000,210000,232500,244500,255000,270000,282000,292500,300000,345000,416000,480000,560000,640000,768000,880000,960000,1088000,1200000,1440000,1700000,2040000,2550000,3060000,3570000,4080000,4760000,5610000,6800000,7070000,7400000,7770000,8150000,8550000,9100000,9610000,10150000,10570000,11180000,12000000,12200000,12930000,13150000,14030000,14420000,15420000,15670000,16870000,17140000,18720000,19020000,20590000,20930000,22690000,23310000,25290000,26020000,27860000,28535000,30990000,31680000,33560000,34942000,36372000,38350000,39890000,41545000,43330000,45400000,48100000,50410000,53370000,56250000,59230000,62590000,66120000,70200000,75330000,81100000,95000000,98000000,103000000,107000000,112000000,116000000,121000000,125000000,130000000,134000000,139000000,145000000,152200000,160840000,171200000,191930000,202290000,214720000,229640000,247550000,283370000,301280000,322770000,348560000,379500000,441390000,102694708,103002790,103311802,103621737,103932603,104244399,104557135,104870809,105185422,105500982,105817489,106134942,106453351,106772714,107093032,107414313,107736557,108059771,108383949,108709106,109035233,109362339,109690425,110019497,110349556,110680602,111012644,111345680,111679719,112014761,112350806,112687862,113025929,113365008,113705105,114046221,114388365,114731535,115075733,115420965,115767233,116114536,116462882,116812271,117162711,117514202,117866745,118220346,118575007,118930735,119287530,119645393,120004330,120364343,120725439,121087618,121450881,121815235,122180680,122547224,122914868,123283611,123653461,124024426,124396499,124769688,125143999,125519434,125895992,126273682,126652503,127032464,127413564,127795811,128179198,128563740,128949437,129336291,129724299,130113471,130503815,130895330,131288016,131681882,132076928,132473161,132870582,133269198,133669010,134070017,134472228,134875643,135280277,135686115,136093173,136501450,136910963,137321695,137733663,138146867,138561307,138976998,139393925,139812104,140231535,140652233,141074199,141497417,141921919,142347688,142774726,143203047,143632652,144063556,144495745,144929234,145364022,145800111,146237515,146676235,147116271,147557623,148000291,148444291,148889623,149336287,149784299,150233660,150684368,151136424,151589828,152044596,152500728,152958241,153417117,153877374,154339011,154802028,155266441,155732250,156199456,156668057,157138071,157609481,158082319,158556570,159032249,159509356,159987891,160467855,160949262,161432115,161916411,162402168,162889385,163378063,163868201,164359816,164852890,165347458,165843501,166341037,166840066,167340587,167842617,168346155,168851202,169357757,169865836,170375441,170886569,171399239,171913433,172429183,172946475,173465323,173985727,174507688,175031206,175556297,176082976,176611228,177141069,177672498,178205517,178740140,179276368,179814200,180353654,180894712,181437407,181981724,182527677,183075266,183624493,184175373,184727905,185282091,185837946,186395469,186954662,187515523,188078070,188642302,189208234,189775868,190345203,190916239,191488992,192063462,192639650,193217570,193797224,194378611,194961747,195546633,196133284,196721683,197311849,197903795,198497507,199093000,199690275,200289347,200890216,201492882,202097362,202703656,203311763,203921699,204533465,205147076,205762517,206379803,206998951,207619945,208242816,208867548,209494159,210122646,210753012,211385271,212019424,212655486,213293458,213933340,214575148,215218881,215864541,216512142,217161684,217813169,218466612,219122012,219779386,220438734,221100056,221763368,222428654,223095946,223765244,224436548,225109858,225785190,226462544,227141936,227823366,228506834,229192357,229879933,230569580,231261297,231955084,232650958,233348917,234048963,234751111,235455362,236161731,236870218,237580839,238293579,239008469,239725494,240444669,241166011,241889519,242615193,243343050,244073090,244805312,245539733,246276352,247015186,247756234,248499513,249245023,249992764,250742751,251494985,252249482,253006241,253765264,254526565,255290145,256056019,256824189,257594669,258367461,259142563,259919993,260699765,261481864,262266307,263053108,263842268,264633804,265427714,266224000,267022677,267823745,268627220,269433119,270241425,271052169,271865322,272680913,273498976,274319478,275142452,275967897,276795813,277626201,278459092,279294487,280132385,280972787,281815724,282661165,283509141,284359685,285212765,286068412,286926627,287787409,288650792,289516742,290385292,291256441,292130223,293006604,293885617,294767295,295651604,296538577,297428213,298320514,299215479,300113140,301013497,301916550,302822299,303730777,304641982,305555916,306472578,307392000,308314182,309239124,310166859,311097355,312030642,312966754,313905658,314847387,315791940,316739318,317689552,318642611,319598558,320557362,321519054,322483603,323451073,324421432,325394711,326370910,327350031,328332072,329317067,330305014,331295946,332289830,333286700,334286555,335289426,336295315,337304221,338316143,339331083,340349072,341370110,342394229,343421429,344451711,345485074,346521550,347561107,348603810,349649626,350698588,351750695,352805947,353864377,354925984,355990769,357058763,358129935,359204317,360281940,361362805,362446912,363534260,364624882,365718778,366815948,367916391,369020140,370127196,371237589,372351320,373468389,374588796,375712574,376839721,377970239,379104158,380241480,381382204,382526362,383673955,384824981,385979475,387137434,388298860,389463752,390632143,391804032,392979452,394158402,395340883,396526926,397716501,398909669,400106401,401306727,402510648,403718196,404929371,406144172,407362601,408584688,409810466,411039903,412273032,413509851,414750394,415994659,417242648,418494392,419749891,421009146,422272188,423539017,424809633,426084069,427362325,428644431,429930358,431220168,432513829,433811374,435112803,436418147,437727407,439040583,440357706,441678778,443003829,444332860,445665871,447002862,448343865,449688913,451038004,452391139,453748318,455109574,456474906,457844346,459217894,460595551,461977348,463363285,464753395,466147677,467546132,468948792,470355656,471766724,473182030,474601571,476025382,477453462,478885842,480322523,481763505,483208820,484658468,486112449,487570795,489033506,490500614,491972120,493448054,494928418,496413211,497902466,499396181,500894391,502397093,503904289,505416011,506932258,508453063,509978425,511508377,513042919,514582051,516125804,517674180,519227209,520784892,522347261,523914316,525486057,527062517,528643726,530229654,531820364,533415824,535016066,536621123,538230994,539845680,541465244,543089623,544718880,546353015,547992094,549636051,551284951,552938794,554597644,556261436,557930235,559604042,561282855,562966740,564655631,566349594,568048628,569752797,571462038,573176414,574895925,576620635,578350481,580085527,581825772,583571281,585321990,587077962,588839198,590605697,592377525,594154681,595937164,597724975,599518179,601316775,603120763,604930142,606744915,608565143,610390828,612222033,614058694,615900876,617748579,619601866,621460674,623325067,625195044,627070670,628951881,630838740,632731249,634629471,636533341,638442925,640358286,642279360,644206211,646138840,648077246,650021493,651971582,653927512,655889284,657856961,659830544,661810033,663795492,665786920,667784318,669787686,671797089,673812525,675833995,677861500,679895102,681934803,683980602,686032564,688090688,690154974,692225423,694302098,696385000,698474193,700569613,702671323,704779324,706893680,709014391,711141458,713274879,715414719,717560979,719713657,721872820,724038465,726210594,728389271,730574431,732766138,734964457,737169388,739380931,741599086,743823916,746055423,748293605,750538528,752790127,755048530,757313673,759585620,761864372,764149993,766442482,768741839,771048065,773361224,775681315,778008404,780342425,782683443,785031522,787386663,789748864,792118127,794494515,796878028,799268666,801666494,804071512,806483719,808903180,811329894,813763926,816205212,818653816,821109802,823573170,826043920,828522053,831007631,833500656,836001191,838509237,841024793,843547859,846078501,848616781,851162636,853716129,856277326,858846161,861422700,864007006,866599015,869198855,871806462,874421901,877045172,879676337,882315399,884962356,887617273,890280150,892950987,895629847,898316732,901011705,903714766,906425915,909145216,911872670,914608277,917352099,920104203,922864523,925633124,928410070,931195297,933988933,936790914,939601304,942420103,945247376,948083121,950927405,953780226,956641584,959511544,962390106,965277270,968173099,971077659,973990885,976912905,979843655,982783199,985731538,988688735,991654790,994629769,997613670,1000606558,1003608368,1006619230,1009639078,1012668042,1015706057,1018753187,1021809497,1024874921,1027949590,1031033438,1034126529,1037228929,1040340636,1043461651,1046592038,1049731862,1052881057,1056039753,1059207885,1062385517,1065572714,1068769476,1071975802,1075191757,1078417405,1081652682,1084897716,1088152379,1091416799,1094691105,1097975168,1101269116,1104572950,1107886669,1111210403,1114544022,1117887655,1121241302,1124605091,1127978894,1131362840,1134756928,1138161158,1141575659,1145000430,1148435473,1151880786,1155336498,1158802481,1162278863,1165765773,1169263081,1172770917,1176289281,1179818172,1183357591,1186907665,1190468395,1194039782,1197621952,1201214907,1204818517,1208433040,1212058348 - -//Base - Expanded Super Novice , Kagerou/Oboro , Rebellion -160,4190:4191:4211:4212:4215,0,420,660,1080,1800,2640,3840,4560,5040,5460,6000,6600,7200,7320,7620,8040,8820,9600,10080,10560,11040,12610,13390,14300,15340,16900,18460,19500,20800,22100,23400,24700,26000,27300,28600,30160,31200,33800,35750,37700,39000,44100,46200,47600,50400,52500,53200,56000,58800,62300,65800,68600,71400,74200,77000,79800,82600,86100,88200,91000,93800,103500,105000,109500,115500,120000,126000,132000,136500,142500,165000,192000,210000,232500,244500,255000,270000,282000,292500,300000,345000,416000,480000,560000,640000,768000,880000,960000,1088000,1200000,1440000,1700000,2040000,2550000,3060000,3570000,4080000,4760000,5610000,6800000,7070000,7400000,7770000,8150000,8550000,9100000,9610000,10150000,10570000,11180000,12000000,12200000,12930000,13150000,14030000,14420000,15420000,15670000,16870000,17140000,18720000,19020000,20590000,20930000,22690000,23310000,25290000,26020000,27860000,28535000,30990000,31680000,33560000,34942000,36372000,38350000,39890000,41545000,43330000,45400000,48100000,50410000,53370000,56250000,59230000,62590000,66120000,70200000,75330000,81100000,95000000,98000000,103000000,107000000,112000000,116000000,121000000,125000000,130000000,134000000,139000000,145000000,152200000,160840000,171200000,191930000,202290000,214720000,229640000,247550000,283370000,301280000,322770000,348560000,379500000,441390000,102694708,103002790,103311802,103621737,103932603,104244399,104557135,104870809,105185422,105500982,105817489,106134942,106453351,106772714,107093032,107414313,107736557,108059771,108383949,108709106,109035233,109362339,109690425,110019497,110349556,110680602,111012644,111345680,111679719,112014761,112350806,112687862,113025929,113365008,113705105,114046221,114388365,114731535,115075733,115420965,115767233,116114536,116462882,116812271,117162711,117514202,117866745,118220346,118575007,118930735,119287530,119645393,120004330,120364343,120725439,121087618,121450881,121815235,122180680,122547224,122914868,123283611,123653461,124024426,124396499,124769688,125143999,125519434,125895992,126273682,126652503,127032464,127413564,127795811,128179198,128563740,128949437,129336291,129724299,130113471,130503815,130895330,131288016,131681882,132076928,132473161,132870582,133269198,133669010,134070017,134472228,134875643,135280277,135686115,136093173,136501450,136910963,137321695,137733663,138146867,138561307,138976998,139393925,139812104,140231535,140652233,141074199,141497417,141921919,142347688,142774726,143203047,143632652,144063556,144495745,144929234,145364022,145800111,146237515,146676235,147116271,147557623,148000291,148444291,148889623,149336287,149784299,150233660,150684368,151136424,151589828,152044596,152500728,152958241,153417117,153877374,154339011,154802028,155266441,155732250,156199456,156668057,157138071,157609481,158082319,158556570,159032249,159509356,159987891,160467855,160949262,161432115,161916411,162402168,162889385,163378063,163868201,164359816,164852890,165347458,165843501,166341037,166840066,167340587,167842617,168346155,168851202,169357757,169865836,170375441,170886569,171399239,171913433,172429183,172946475,173465323,173985727,174507688,175031206,175556297,176082976,176611228,177141069,177672498,178205517,178740140,179276368,179814200,180353654,180894712,181437407,181981724,182527677,183075266,183624493,184175373,184727905,185282091,185837946,186395469,186954662,187515523,188078070,188642302,189208234,189775868,190345203,190916239,191488992,192063462,192639650,193217570,193797224,194378611,194961747,195546633,196133284,196721683,197311849,197903795,198497507,199093000,199690275,200289347,200890216,201492882,202097362,202703656,203311763,203921699,204533465,205147076,205762517,206379803,206998951,207619945,208242816,208867548,209494159,210122646,210753012,211385271,212019424,212655486,213293458,213933340,214575148,215218881,215864541,216512142,217161684,217813169,218466612,219122012,219779386,220438734,221100056,221763368,222428654,223095946,223765244,224436548,225109858,225785190,226462544,227141936,227823366,228506834,229192357,229879933,230569580,231261297,231955084,232650958,233348917,234048963,234751111,235455362,236161731,236870218,237580839,238293579,239008469,239725494,240444669,241166011,241889519,242615193,243343050,244073090,244805312,245539733,246276352,247015186,247756234,248499513,249245023,249992764,250742751,251494985,252249482,253006241,253765264,254526565,255290145,256056019,256824189,257594669,258367461,259142563,259919993,260699765,261481864,262266307,263053108,263842268,264633804,265427714,266224000,267022677,267823745,268627220,269433119,270241425,271052169,271865322,272680913,273498976,274319478,275142452,275967897,276795813,277626201,278459092,279294487,280132385,280972787,281815724,282661165,283509141,284359685,285212765,286068412,286926627,287787409,288650792,289516742,290385292,291256441,292130223,293006604,293885617,294767295,295651604,296538577,297428213,298320514,299215479,300113140,301013497,301916550,302822299,303730777,304641982,305555916,306472578,307392000,308314182,309239124,310166859,311097355,312030642,312966754,313905658,314847387,315791940,316739318,317689552,318642611,319598558,320557362,321519054,322483603,323451073,324421432,325394711,326370910,327350031,328332072,329317067,330305014,331295946,332289830,333286700,334286555,335289426,336295315,337304221,338316143,339331083,340349072,341370110,342394229,343421429,344451711,345485074,346521550,347561107,348603810,349649626,350698588,351750695,352805947,353864377,354925984,355990769,357058763,358129935,359204317,360281940,361362805,362446912,363534260,364624882,365718778,366815948,367916391,369020140,370127196,371237589,372351320,373468389,374588796,375712574,376839721,377970239,379104158,380241480,381382204,382526362,383673955,384824981,385979475,387137434,388298860,389463752,390632143,391804032,392979452,394158402,395340883,396526926,397716501,398909669,400106401,401306727,402510648,403718196,404929371,406144172,407362601,408584688,409810466,411039903,412273032,413509851,414750394,415994659,417242648,418494392,419749891,421009146,422272188,423539017,424809633,426084069,427362325,428644431,429930358,431220168,432513829,433811374,435112803,436418147,437727407,439040583,440357706,441678778,443003829,444332860,445665871,447002862,448343865,449688913,451038004,452391139,453748318,455109574,456474906,457844346,459217894,460595551,461977348,463363285,464753395,466147677,467546132,468948792,470355656,471766724,473182030,474601571,476025382,477453462,478885842,480322523,481763505,483208820,484658468,486112449,487570795,489033506,490500614,491972120,493448054,494928418,496413211,497902466,499396181,500894391,502397093,503904289,505416011,506932258,508453063,509978425,511508377,513042919,514582051,516125804,517674180,519227209,520784892,522347261,523914316,525486057,527062517,528643726,530229654,531820364,533415824,535016066,536621123,538230994,539845680,541465244,543089623,544718880,546353015,547992094,549636051,551284951,552938794,554597644,556261436,557930235,559604042,561282855,562966740,564655631,566349594,568048628,569752797,571462038,573176414,574895925,576620635,578350481,580085527,581825772,583571281,585321990,587077962,588839198,590605697,592377525,594154681,595937164,597724975,599518179,601316775,603120763,604930142,606744915,608565143,610390828,612222033,614058694,615900876,617748579,619601866,621460674,623325067,625195044,627070670,628951881,630838740,632731249,634629471,636533341,638442925,640358286,642279360,644206211,646138840,648077246,650021493,651971582,653927512,655889284,657856961,659830544,661810033,663795492,665786920,667784318,669787686,671797089,673812525,675833995,677861500,679895102,681934803,683980602,686032564,688090688,690154974,692225423,694302098,696385000,698474193,700569613,702671323,704779324,706893680,709014391,711141458,713274879,715414719,717560979,719713657,721872820,724038465,726210594,728389271,730574431,732766138,734964457,737169388,739380931,741599086,743823916,746055423,748293605,750538528,752790127,755048530,757313673,759585620,761864372,764149993,766442482,768741839,771048065,773361224,775681315,778008404,780342425,782683443,785031522,787386663,789748864,792118127,794494515,796878028,799268666,801666494,804071512,806483719,808903180,811329894,813763926,816205212,818653816,821109802,823573170,826043920,828522053,831007631,833500656,836001191,838509237,841024793,843547859,846078501,848616781,851162636,853716129,856277326,858846161,861422700,864007006,866599015,869198855,871806462,874421901,877045172,879676337,882315399,884962356,887617273,890280150,892950987,895629847,898316732,901011705,903714766,906425915,909145216,911872670,914608277,917352099,920104203,922864523,925633124,928410070,931195297,933988933,936790914,939601304,942420103,945247376,948083121,950927405,953780226,956641584,959511544,962390106,965277270,968173099,971077659,973990885,976912905,979843655,982783199,985731538,988688735,991654790,994629769,997613670,1000606558,1003608368,1006619230,1009639078,1012668042,1015706057,1018753187,1021809497,1024874921,1027949590,1031033438,1034126529,1037228929,1040340636,1043461651,1046592038,1049731862,1052881057,1056039753,1059207885,1062385517,1065572714,1068769476,1071975802,1075191757,1078417405,1081652682,1084897716,1088152379,1091416799,1094691105,1097975168,1101269116,1104572950,1107886669,1111210403,1114544022,1117887655,1121241302,1124605091,1127978894,1131362840,1134756928,1138161158,1141575659,1145000430,1148435473,1151880786,1155336498,1158802481,1162278863,1165765773,1169263081,1172770917,1176289281,1179818172,1183357591,1186907665,1190468395,1194039782,1197621952,1201214907,1204818517,1208433040,1212058348 - -//Job - Novice & Baby Novice -10,0:4023,1,4,10,18,28,40,91,151,205,268,340 - -//Job - 1st Classes & Baby 1st Classes -50,1:2:3:4:5:6:4024:4025:4026:4027:4028:4029:4046:4050:4218,1,30,60,130,260,460,780,1060,1300,1560,1910,2290,2680,2990,3340,3740,4360,4970,5530,6120,6700,8090,8920,9970,11080,12690,14440,15850,17400,19220,21060,22870,24910,26840,29080,31320,33300,37110,40500,43570,46180,53510,57200,60310,65690,70090,72130,77540,83320,90120,97180,99123,101105,103127,105189,107292,109437,111625,113857,116134,118456,120825,123241,125705,128219,130783,133398,136065,138786,141561,144392,147279,150224,153228,156292,159417,162605,165857,169174,172557,176008,179528,183118,186780,190515,194325,198211,202175,206218,210342,214548,218838,223214,227678,232231,236875,241612,246444,251372,256399,261526,266756,272091,277532,283082,288743,294517,300407,306415,312543,318793,325168,331671,338304,345070,351971,359010,366190,373513,380983,388602,396374,404301,412387,420634,429046,437626,446378,455305,464411,473699,483172,492835,502691,512744,522998,533457,544126,555008,566108,577430,588978,600757,612772,625027,637527,650277,663282,676547,690077,703878,717955,732314,746960,761899,777136,792678,808531,824701,841195,858018,875178,892681,910534,928744,947318,966264,985589,1005300,1025405,1045913,1066831,1088167,1109930,1132128,1154770,1177865,1201422,1225450,1249958,1274957,1300456,1326465,1352994,1380053,1407654,1435807,1464523,1493813,1523689,1554162,1585245,1616949,1649287,1682272,1715917,1750235,1785239,1820943,1857361,1894508,1932398,1971045,2010465,2050674,2091687,2133520,2176190,2219713,2264107,2309389,2355576,2402687,2450740,2499754,2549749,2600743,2652757,2705812,2759928,2815126,2871428,2928856,2987433,3047181,3108124,3170286,3233691,3298364,3364331,3431617,3500249,3570253,3641657,3714490,3788779,3864554,3941845,4020681,4101094,4183115,4266777,4352112,4439154,4527936,4618494,4710863,4805080,4901181,4999204,5099187,5201170,5305193,5411296,5519521,5629911 - -//Job - 2nd Classes & Baby 2nd Classes -50,7:8:9:10:11:12:13:14:15:16:17:18:19:20:21:4030:4031:4032:4033:4034:4035:4036:4037:4038:4039:4040:4041:4042:4043:4044:4051:4052,1,1600,2500,4200,7000,10300,15900,18900,20900,22600,24900,28800,31500,32000,33300,35100,40500,44100,46300,48500,50700,56000,59400,63500,68100,75000,85700,90500,96600,102600,108600,119700,126000,132300,138600,146100,157500,170600,180400,190300,196800,214900,225200,232000,245700,255900,279300,294000,308700,327000,345400,355761,366433,377425,388747,400409,412421,424793,437536,450662,464181,478106,492449,507222,522438,538111,554254,570881,588007,605647,623816,642530,661805,681659,702108,723171,744866,767211,790227,813933,838350,863500,889404,916086,943568,971875,1001031,1031061,1061992,1093851,1126666,1160465,1195278,1231136,1268070,1306112,1345295,1385653,1427222,1470038,1514139,1559563,1606349,1654539,1704175,1755300,1807958,1862196,1918061,1975602,2034870,2095916,2158793,2223556,2290262,2358969,2429738,2502630,2577708,2655039,2734690,2816730,2901231,2988267,3077914,3170251,3265358,3363318,3464217,3568143,3675187,3785442,3899005,4015975,4136454,4260547,4388363,4520013,4655613,4795281,4939139,5087313,5239932,5397129,5559042,5725813,5897587,6074514,6256749,6444451,6637784,6836917,7042024,7253284,7470882,7695008,7925858,8163633,8408541,8660796,8920619,9188237,9463883,9747799,10040232,10341438,10651680,10758196,10865777,10974434,11084178,11195019,11306969,11420038,11534238,11649580,11766075,11883735,12002572,12122597,12243822,12366260,12489922,12614821,12740969,12868378,12997061,13127031,13258301,13390883,13524791,13660038,13796638,13934604,14073949,14214688,14356834,14500402,14645405,14791858,14939776,15089173,15240064,15392464,15546388,15701851,15858869,16017457,16177631,16339407,16502800,16667827,16834505,17002848,17172876,17344604,17518049,17693228,17870160,18048861,18229348,18411641,18595756,18781713,18969528,19159223,19350816,19544323,19739767,19937165,20136535,20337901,20541278,20746690,20954156,21163697,21375332,21589085,21804974,22023023,22243254,22465686,22690342,22917245,23146416,23377879,23611658,23847774,24086251,24327114,24570384,24816087,25064248,25314890,25568038,25823718 - -//Job - Novice High -10,4001,1,4,11,20,31,44,100,166,226,295,374 - -//Job - Adv First Classes -50,4002:4003:4004:4005:4006:4007,1,50,100,200,350,550,800,1100,1450,1850,2300,2800,3350,3950,4600,5300,6050,6850,7700,8600,9550,10550,11600,12700,13850,15050,16300,17600,18950,20350,21800,23300,24850,26450,28100,29800,31550,33350,35200,37100,39050,41050,43100,45200,47350,49550,51800,54100,56450,58850,61300,120482,122891,125348,127854,130411,133019,135679,138392,141159,143982,146861,149798,152793,155848,158964,162143,165385,168692,172065,175506,179016,182596,186247,189971,193770,197645,201597,205628,209740,213934,218212,222576,227027,231567,236198,240921,245739,250653,255666,260779,265994,271313,276739,282273,287918,293676,299549,305539,311649,317881,324238,330722,337336,344082,350963,357982,365141,372443,379891,387488,395237,403141,411203,419427,427815,436371,445098,453999,463078,472339,481785,491420,501248,511272,521497,531926,542564,553415,564483,575772,587287,599032,611012,623232,635696,648409,661377,674604,688096,701857,715894,730211,744815,759711,774905,790403,806211,822335,838781,855556,872667,890120,907922,926080,944601,963493,982762,1002417,1022465,1042914,1063772,1085047,1106747,1128881,1151458,1174487,1197976,1221935,1246373,1271300,1296725,1322659,1349112,1376094,1403615,1431687,1460320,1489526,1519316,1549702,1580696,1612309,1644555,1677446,1710994,1745213,1780117,1815719,1852033,1889073,1926854,1965391,2004698,2044791,2085686,2127399,2169946,2213344,2257610,2302762,2348817,2395793,2443708,2492582,2542433,2593281,2645146,2698048,2752008,2807048,2863188,2920451,2978859,3038436,3099204,3161188,3224411,3288899,3354676,3421769,3490204,3560008,3631208,3703832,3777908,3853466,3930535,4009145,4089327,4171113,4254535,4339625,4426417,4514945,4605243,4697347,4791293,4887118,4984860,5084557,5186248,5289972,5395771,5503686,5613759,5726034,5840554,5957364,6076511,6198041,6322001,6448440,6577408,6708956,6843134 - -//Job - Adv Second Classes -70,4008:4009:4010:4011:4012:4013:4014:4015:4016:4017:4018:4019:4020:4021:4022,1,2400,3800,6200,10400,15200,22900,27100,30000,32500,35700,41300,45000,45800,47600,50300,58700,63900,67100,70300,73500,90600,96200,102700,110200,121400,144700,152900,163100,173300,183500,213500,224700,236000,247200,260700,299800,324800,343600,362300,374800,474400,497000,512100,542200,564800,644300,678200,712100,754500,796900,873100,911900,950600,989400,1028100,1143300,1199900,1233800,1279100,1324300,1486900,1515900,1603000,1719200,1806300,2040300,2244300,2415900,2746000,3326000,6893567,7031438,7172066,7315507,7461817,7611053,7763273,7918538,8076908,8238446,8403214,8571278,8742703,8917556,9095906,9277823,9463379,9652646,9845698,10042611,10243463,10448332,10657298,10870443,11087851,11309607,11535798,11766513,12001843,12241879,12486716,12736450,12991178,13251001,13516020,13786340,14062066,14343307,14630172,14922775,15221230,15525654,15836166,16152889,16475946,16805464,17141572,17484403,17834091,18190773,18554587,18925679,19304193,19690275,20084081,20485761,20895474,21313383,21739651,22174444,22617932,23070290,23531695,24002329,24482374,24972021,25471459,25980888,26500505,27030513,27571121,28122541,28684990,29258689,29843861,30440736,31049550,31670540,32303950,32950028,33609027,34281207,34966831,35666167,36379490,37107077,37849216,38606199,39378323,40165889,40969204,41788587,42624358,43476846,44346384,45233310,46137977,47060734,48001949,48961986,49941222,50940047,51958847,52998023,54057983,55139142,56241925,57366761,58514094,59684376,60878062,62095624,63337535,64604285,65896368,67214294,68558580,69929746,71328337,72754901,74210000,75694198,77208082,78752240,80327283,81933824,83572498,85243944,86948821,88687798,90461554,92270781,94116197,95998522,97918488,99876855,101874391,103911877,105990115,108109912,110272108,112477552,114727100,117021643,119362070,121749311,124184295,126667979,129201333,131785360,134421064,137109474,139851658,142648694,145501659,148411694,151379927,154407515,157495667,160645574,163858476,167135646,170478357,173887915,177365675,180912990,184531248,188221869,191986305,195826026,199742548,203737391,207812135,211968366,216207731,220531878,224942505,229441357,234030182,238710775,243484978,248354670,253321760,258388190,263555950 - -//Job - 3rd Jobs, Baby 3rds, Expanded Super Novice -60,4054:4055:4056:4057:4058:4059:4060:4061:4062:4063:4064:4065:4066:4067:4068:4069:4070:4071:4072:4073:4074:4075:4076:4077:4078:4079:4080:4081:4082:4083:4084:4085:4086:4087:4096:4097:4098:4099:4100:4101:4102:4103:4104:4105:4106:4107:4108:4109:4110:4111:4112,1,106000,112000,355000,615000,917000,1253000,1595000,2007000,2430000,2868000,3420000,3863000,4504000,4998000,5769000,6321000,7254000,7870000,9015000,9530000,11072000,11848000,13467000,14337000,16243000,17216000,19446000,20781000,23070000,24453000,27568000,29118000,31820000,34125000,37048000,40204000,42972000,45937000,49110000,52696000,57158000,61305000,67167000,72285000,77647000,83624000,91113000,98548000,107630000,119077000,131668000,145518000,160753000,177511000,195944000,216220000,238523000,263056000,290042000,319726000,,134178935,135520724,136875925,138244677,139627117,141023389,142433624,143857966,145296546,146749508,148216997,149699160,151196158,152708120,154235207,155777550,157335326,158908679,160497757,162102736,163723761,165360996,167014600,168684736,170371581,172075298,173796047,175534006,177289338,179062235,180852860,182661390,184488004,186332878,188196207,190078168,191978955,193898747,195837737,197796119,199774071,201771802,203789524,205827413,207885680,209964534,212064171,214184815,216326662,218489920,220674817,222881562,225110381,227361485,229635100,231931452,234250768,236593273,238959210,241348805,243762285,246199908,248661900,251148520,253659994,256196597,258758555,261346143,263959602,266599193,269265189,271957833,274677399,277424179,280198431,283000413,285830417,288688733,291575620,294491369,297436270,300410615,303414727,306448864,309513349,312608474,315734561,318891902,322080819,325301637,328554645,331840199,335158590,338510174,341895274,345314213,348767346,352255030,355777587,359335372,362928710,366557987,370223560,373925783,377665046,381441702,385256109,389108653,392999722,396929705,400898989,404907961,408957043,413046622,417177086,421348854,425562348,429817955,434116127,438457285,442841848,447270270,451742970,456260401,460823015,465431233,470085539,474786386,479534259,484329610,489172891,494064620,499005249,503995295,509035244,514125579,519266818,524459479,529704077,535001099,540351093,545754609,551212165,556724276,562291525,567914429,573593570,579329530,585122825,590974038,596883750,602852608,608881128,614969957,621119677,627330870,633604182,639940195,646339620,652803038,659331031,665924311,672583524,679309381,686102463,692963482,699893083,706891979,713960880,721100498,728311477,735594595,742950563,750380090,757883889,765462735,773117339,780848477,788656925,796543457,804508915,812554009,820679516,828886275,837175126,845546847,854002276,862542318,871167751,879879413,888678209,897564981,906540633,915606005 - -//Job - Expanded Super Novice , Kagerou/Oboro , Rebellion -50,4190:4191:4211:4212:4215,1,106000,112000,355000,615000,917000,1253000,1595000,2007000,2430000,2868000,3420000,3863000,4504000,4998000,5769000,6321000,7254000,7870000,9015000,9530000,11072000,11848000,13467000,14337000,16243000,17216000,19446000,20781000,23070000,24453000,27568000,29118000,31820000,34125000,37048000,40204000,42972000,45937000,49110000,52696000,57158000,61305000,67167000,72285000,77647000,83624000,91113000,98548000,107630000,119077000,131668000,145518000,160753000,177511000,195944000,216220000,238523000,263056000,290042000,319726000,,134178935,135520724,136875925,138244677,139627117,141023389,142433624,143857966,145296546,146749508,148216997,149699160,151196158,152708120,154235207,155777550,157335326,158908679,160497757,162102736,163723761,165360996,167014600,168684736,170371581,172075298,173796047,175534006,177289338,179062235,180852860,182661390,184488004,186332878,188196207,190078168,191978955,193898747,195837737,197796119,199774071,201771802,203789524,205827413,207885680,209964534,212064171,214184815,216326662,218489920,220674817,222881562,225110381,227361485,229635100,231931452,234250768,236593273,238959210,241348805,243762285,246199908,248661900,251148520,253659994,256196597,258758555,261346143,263959602,266599193,269265189,271957833,274677399,277424179,280198431,283000413,285830417,288688733,291575620,294491369,297436270,300410615,303414727,306448864,309513349,312608474,315734561,318891902,322080819,325301637,328554645,331840199,335158590,338510174,341895274,345314213,348767346,352255030,355777587,359335372,362928710,366557987,370223560,373925783,377665046,381441702,385256109,389108653,392999722,396929705,400898989,404907961,408957043,413046622,417177086,421348854,425562348,429817955,434116127,438457285,442841848,447270270,451742970,456260401,460823015,465431233,470085539,474786386,479534259,484329610,489172891,494064620,499005249,503995295,509035244,514125579,519266818,524459479,529704077,535001099,540351093,545754609,551212165,556724276,562291525,567914429,573593570,579329530,585122825,590974038,596883750,602852608,608881128,614969957,621119677,627330870,633604182,639940195,646339620,652803038,659331031,665924311,672583524,679309381,686102463,692963482,699893083,706891979,713960880,721100498,728311477,735594595,742950563,750380090,757883889,765462735,773117339,780848477,788656925,796543457,804508915,812554009,820679516,828886275,837175126,845546847,854002276,862542318,871167751,879879413,888678209,897564981,906540633,915606005 - -//Job - Ninja/Gunslinger -70,24:25,1,100,200,300,400,600,700,1000,1200,1400,1700,1900,2400,2700,3200,3600,4200,4900,5500,6100,6900,7700,8400,9300,10100,11100,12100,13000,14600,16100,17500,18600,21500,23300,24700,27000,29000,30000,32400,35000,38100,41100,44000,46700,49600,52500,55600,58900,62700,65500,69200,72300,81200,84100,89300,95500,100900,107800,114900,120700,128600,150500,176900,196100,219600,234200,247900,266400,281300,296600,308000,311079,314189,317330,320503,323708,326945,330214,333516,336851,340219,343621,347057,350527,354032,357572,361147,364758,368405,372089,375809,379567,383362,387195,391066,394976,398925,402914,406943,411012,415122,419273,423465,427699,431975,436294,440656,445062,449512,454007,458547,463132,467763,472440,477164,481935,486754,491621,496537,501502,506517,511582,516697,521863,527081,532351,537674,543050,548480,553964,559503,565098,570748,576455,582219,588041,593921,599860,605858,611916,618035,624215,630457,636761,643128,649559,656054,662614,669240,675932,682691,689517,696412,703376,710409,717513,724688,731934,739253,746645,754111,761652,769268,776960,784729,792576,800501,808506,816591,824756,833003,841333,849746,858243,866825,875493,884247,893089,902019,911039,920149,929350,938643,948029,957509,967084,976754,996289,1016214,1036538,1057268,1078413,1099981,1121980,1144419,1167307,1190653,1214466,1238755,1263530,1288800,1314575,1340866,1367683,1395036,1422936,1451394,1480421,1510029,1540229,1571033,1602453,1634502,1667192,1700535,1734545,1769235,1804619,1840711,1877525,1915075,1953376,1992443,2032291,2072936,2114394,2156681,2199814,2243810,2288686,2334459,2381148,2428770,2477345,2526891,2577428,2628976,2681555,2735186,2789889,2845686,2902599,2960650,3019862,3080259,3141864,3204701,3268794,3334169,3400852,3468868,3538245,3609009,3681189,3754812,3829908 - -//Job - Taekwon (Same EXP table as 1st Classes & Baby 1st Classes) -50,4046,1,60,130,260,460,780,1060,1300,1560,1910,2290,2680,2990,3340,3740,4360,4970,5530,6120,6700,8090,8920,9970,11080,12690,14440,15850,17400,19220,21060,22870,24910,26840,29080,31320,33300,37110,40500,43570,46180,53510,57200,60310,65690,70090,72130,77540,83320,90120,97180,99123,101105,103127,105189,107292,109437,111625,113857,116134,118456,120825,123241,125705,128219,130783,133398,136065,138786,141561,144392,147279,150224,153228,156292,159417,162605,165857,169174,172557,176008,179528,183118,186780,190515,194325,198211,202175,206218,210342,214548,218838,223214,227678,232231,236875,241612,246444,251372,256399,261526,266756,272091,277532,283082,288743,294517,300407,306415,312543,318793,325168,331671,338304,345070,351971,359010,366190,373513,380983,388602,396374,404301,412387,420634,429046,437626,446378,455305,464411,473699,483172,492835,502691,512744,522998,533457,544126,555008,566108,577430,588978,600757,612772,625027,637527,650277,663282,676547,690077,703878,717955,732314,746960,761899,777136,792678,808531,824701,841195,858018,875178,892681,910534,928744,947318,966264,985589,1005300,1025405,1045913,1066831,1088167,1109930,1132128,1154770,1177865,1201422,1225450,1249958,1274957,1300456,1326465,1352994,1380053,1407654,1435807,1464523,1493813,1523689,1554162,1585245,1616949,1649287,1682272,1715917,1750235,1785239,1820943,1857361,1894508,1932398,1971045,2010465,2050674,2091687,2133520,2176190,2219713,2264107,2309389,2355576,2402687,2450740,2499754,2549749,2600743,2652757,2705812,2759928,2815126,2871428,2928856,2987433,3047181,3108124,3170286,3233691,3298364,3364331,3431617,3500249,3570253,3641657,3714490,3788779,3864554,3941845,4020681,4101094,4183115,4266777,4352112,4439154,4527936,4618494,4710863,4805080,4901181,4999204,5099187,5201170,5305193,5411296,5519521,5629911 - -//Job - Star Gladiator -50,4047:4048,1,50700,50700,50700,50700,50700,50700,50700,50700,50700,50700,50700,50700,50700,50700,50700,50700,50700,50700,50700,101400,112000,118800,127000,136200,150000,171400,181000,193200,205200,217200,239400,252000,264600,277200,292200,315000,341200,360800,380600,393600,429800,450400,464000,491400,511800,558600,588000,617400,654000,690800,5270623,5323329,5376562,5430327,5484630,5539476,5594870,5650818,5707326,5764399,5822042,5880262,5939064,5998454,6058438,6119022,6180212,6242014,6304434,6367478,6431152,6495463,6560417,6626021,6692281,6759203,6826794,6895061,6964011,7033651,7103987,7175026,7246776,7319243,7392435,7466359,7541022,7616432,7692596,7769521,7847216,7925688,8004944,8084993,8165842,8247500,8329974,8413273,8497405,8582378,8668201,8754882,8842430,8930854,9020162,9110363,9201466,9293480,9386414,9480278,9575080,9670830,9767538,9865213,9963865,10063503,10164137,10265778,10368435,10472119,10576840,10682608,10789433,10897327,11006300,11116362,11227525,11339800,11453197,11567728,11683405,11800238,11918240,12037422,12157796,12279373,12402166,12526187,12651448,12777962,12905741,13034798,13165145,13296796,13429763,13564060,13699700,13836696,13975062,14114812,14255959,14398518,14542503,14687927,14834806,14983153,15132984,15284313,15437155,15591526,15747441,15904915,16063963,16224602,16386847,16550715,16716221,16883383,17052217,17222737,17394963,17568913,17744600,17922045,18101264,18282276,18465098,18649748,18836245,19024606,19214851,19407000,19601069,19797078,19995048,20194998,20396947,20600917,20806924,21014993,21225141,21437391,21651765,21868281,22086962,22307831,22530910,22756218,22983779,23213617,23445751,23680209,23917009,24156177,24397737,24641713,24888128,25137009,25388377,25642259,25898682,26157668,26419244,26683436,26950270,27219772,27491969,27766887,28044556,28325001,28608249,28894330,29183273,29475104,29769854,30067552,30368227,30671909,30978626,31288411,31601295,31917308,32236480,32558844,32884432,33213276,33545408,33880861,34219668,34561864,34907482,35256554,35609117,35965206,36324859,36688108,37054988,37425537,37799791,38177789,38559565,38945159,39334611,39727957 - -//Job - Soul Linker (Same EXP table as 2nd Classes & Baby 2nd Classes) -50,4049,1,2500,4200,7000,10300,15900,18900,20900,22600,24900,28800,31500,32000,33300,35100,40500,44100,46300,48500,50700,56000,59400,63500,68100,75000,85700,90500,96600,102600,108600,119700,126000,132300,138600,146100,157500,170600,180400,190300,196800,214900,225200,232000,245700,255900,279300,294000,308700,327000,345400,355761,366433,377425,388747,400409,412421,424793,437536,450662,464181,478106,492449,507222,522438,538111,554254,570881,588007,605647,623816,642530,661805,681659,702108,723171,744866,767211,790227,813933,838350,863500,889404,916086,943568,971875,1001031,1031061,1061992,1093851,1126666,1160465,1195278,1231136,1268070,1306112,1345295,1385653,1427222,1470038,1514139,1559563,1606349,1654539,1704175,1755300,1807958,1862196,1918061,1975602,2034870,2095916,2158793,2223556,2290262,2358969,2429738,2502630,2577708,2655039,2734690,2816730,2901231,2988267,3077914,3170251,3265358,3363318,3464217,3568143,3675187,3785442,3899005,4015975,4136454,4260547,4388363,4520013,4655613,4795281,4939139,5087313,5239932,5397129,5559042,5725813,5897587,6074514,6256749,6444451,6637784,6836917,7042024,7253284,7470882,7695008,7925858,8163633,8408541,8660796,8920619,9188237,9463883,9747799,10040232,10341438,10651680,10758196,10865777,10974434,11084178,11195019,11306969,11420038,11534238,11649580,11766075,11883735,12002572,12122597,12243822,12366260,12489922,12614821,12740969,12868378,12997061,13127031,13258301,13390883,13524791,13660038,13796638,13934604,14073949,14214688,14356834,14500402,14645405,14791858,14939776,15089173,15240064,15392464,15546388,15701851,15858869,16017457,16177631,16339407,16502800,16667827,16834505,17002848,17172876,17344604,17518049,17693228,17870160,18048861,18229348,18411641,18595756,18781713,18969528,19159223,19350816,19544323,19739767,19937165,20136535,20337901,20541278,20746690,20954156,21163697,21375332,21589085,21804974,22023023,22243254,22465686,22690342,22917245,23146416,23377879,23611658,23847774,24086251,24327114,24570384,24816087,25064248,25314890,25568038,25823718 - -//Job - Super Novice & Baby Super Novice (Still pre-renewal values -> Needs info) -99,23:4045,1,30,43,58,76,116,180,220,272,336,520,604,699,802,948,1125,1668,1937,2226,3040,3988,5564,6272,7021,9114,11473,15290,16891,18570,23229,28359,36478,39716,43088,52417,62495,78160,84175,90404,107611,125915,153941,191781,204351,248352,286212,386371,409795,482092,509596,982092,992092,1002092,1012092,1022092,1032092,1042092,1052092,1062092,1072092,1082092,1092092,1102092,1112092,1122092,1132092,1142092,1152092,1162092,1172092,1182092,1192092,1202092,1212092,1222092,1232092,1242092,1252092,1262092,1272092,1282092,1292092,1302092,1312092,1322092,1332092,1342092,1352092,1362092,1372092,1382092,1392092,1402092,1412092,1422092,1432092,1442092,1452092,1462092,1491333,1521159,1551582,1582613,1614265,1646550,1679480,1713069,1747330,1782276,1817921,1854279,1891364,1929191,1967774,2007129,2047271,2088216,2129980,2172579,2216030,2260350,2305556,2351667,2398700,2446673,2495606,2545518,2596428,2648356,2701323,2755349,2810455,2866664,2923997,2982476,3042125,3102967,3165026,3228326,3292892,3358749,3425923,3494441,3564329,3635615,3708327,3782493,3858142,3935304,4014010,4094290,4176175,4259698,4344891,4431788,4520423,4610831,4703047,4797107,4893049,4990909,5090727,5192541,5296391,5402318,5510364,5620571,5732982,5847641,5964593,6083884,6205561,6329672,6456265,6585390,6717097,6851438,6988466,7128235,7270799,7416214,7564538,7715828,7870144,8027546,8188096,8351857,8518893,8689270,8863055,9040315,9221121,9405543,9593653,9785525,9981235,10180859,10384475,10592164,10804007,11020086,11240487,11465296,11694601,11928492,12167061,12410401,12658608,12911779,13170014,13433414,13702082,13976123,14255645,14540757,14831571,15128202,15430765,15739380,16054167,16375250,16702754,17036808,17377543,17725094,18079595,18441187,18810011,19186211,19569935,19961334,20360560,20767770,21183125,21606786,22038921,22479697,22929289,23387873,23855628,24332740,24819394,25315781,25822095,26338537,26865306,27402611,27950663,28509676,29079868,29661464,30254692,30859785,31476979,32106518 diff --git a/db/re/exp_group_db.conf b/db/re/exp_group_db.conf new file mode 100644 index 000000000..c59d8e77d --- /dev/null +++ b/db/re/exp_group_db.conf @@ -0,0 +1,259 @@ +//================= Hercules Database ===================================== +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2018 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Exp Groups Database File. +//========================================================================= + +base_exp_group_db: { + FirstClasses: { + MaxLevel: 99 + Exp: [ + 350, 550, 900, 1500, 2200, 3200, 3800, 4200, 4550, 5000, + 5500, 6000, 6100, 6350, 6700, 7350, 8000, 8400, 8800, 9200, + 9700, 10300, 11000, 11800, 13000, 14000, 15000, 16000, 17000, 18000, + 19000, 20000, 21000, 22000, 23200, 24000, 26000, 27500, 29000, 30000, + 31500, 33000, 34000, 36000, 37500, 38000, 40000, 42000, 44500, 47000, + 49000, 51000, 53000, 55000, 57000, 59000, 61500, 63000, 65000, 67000, + 69000, 70000, 73000, 77000, 80000, 84000, 88000, 91000, 95000, 110000, + 128000, 140000, 155000, 163000, 170000, 180000, 188000, 195000, 200000, 230000, + 260000, 300000, 350000, 400000, 480000, 550000, 600000, 680000, 750000, 900000, + 1000000, 1200000, 1500000, 1800000, 2100000, 2400000, 2800000, 3300000 + ] + } + TranscendedClasses: { + MaxLevel: 99 + Exp: [ + 420, 660, 1080, 1800, 2640, 3840, 4560, 5040, 5460, 6000, + 6600, 7200, 7320, 7620, 8040, 8820, 9600, 10080, 10560, 11040, + 12610, 13390, 14300, 15340, 16900, 18460, 19500, 20800, 22100, 23400, + 24700, 26000, 27300, 28600, 30160, 31200, 33800, 35750, 37700, 39000, + 44100, 46200, 47600, 50400, 52500, 53200, 56000, 58800, 62300, 65800, + 68600, 71400, 74200, 77000, 79800, 82600, 86100, 88200, 91000, 93800, + 103500, 105000, 109500, 115500, 120000, 126000, 132000, 136500, 142500, 165000, + 192000, 210000, 232500, 244500, 255000, 270000, 282000, 292500, 300000, 345000, + 416000, 480000, 560000, 640000, 768000, 880000, 960000, 1088000, 1200000, 1440000, + 1700000, 2040000, 2550000, 3060000, 3570000, 4080000, 4760000, 5610000 + ] + } + ThirdClasses: { + MaxLevel: 175 + Exp: [ + 420, 660, 1080, 1800, 2640, 3840, 4560, 5040, 5460, 6000, + 6600, 7200, 7320, 7620, 8040, 8820, 9600, 10080, 10560, 11040, + 12610, 13390, 14300, 15340, 16900, 18460, 19500, 20800, 22100, 23400, + 24700, 26000, 27300, 28600, 30160, 31200, 33800, 35750, 37700, 39000, + 44100, 46200, 47600, 50400, 52500, 53200, 56000, 58800, 62300, 65800, + 68600, 71400, 74200, 77000, 79800, 82600, 86100, 88200, 91000, 93800, + 103500, 105000, 109500, 115500, 120000, 126000, 132000, 136500, 142500, 165000, + 192000, 210000, 232500, 244500, 255000, 270000, 282000, 292500, 300000, 345000, + 416000, 480000, 560000, 640000, 768000, 880000, 960000, 1088000, 1200000, 1440000, + 1700000, 2040000, 2550000, 3060000, 3570000, 4080000, 4760000, 5610000, 6800000, 7070000, + 7400000, 7770000, 8150000, 8550000, 9100000, 9610000, 10150000, 10570000, 11180000, 12000000, + 12200000, 12930000, 13150000, 14030000, 14420000, 15420000, 15670000, 16870000, 17140000, 18720000, + 19020000, 20590000, 20930000, 22690000, 23310000, 25290000, 26020000, 27860000, 28535000, 30990000, + 31680000, 33560000, 34942000, 36372000, 38350000, 39890000, 41545000, 43330000, 45400000, 48100000, + 50410000, 53370000, 56250000, 59230000, 62590000, 66120000, 70200000, 75330000, 81100000, 95000000, + 98000000, 103000000, 107000000, 112000000, 116000000, 121000000, 125000000, 130000000, 134000000, 139000000, + 145000000, 152200000, 160840000, 171200000, 191930000, 202290000, 214720000, 229640000, 247550000, 283370000, + 301280000, 322770000, 348560000, 379500000 + ] + } + ExtendedClasses: { + MaxLevel: 160 + Exp: [ + 420, 660, 1080, 1800, 2640, 3840, 4560, 5040, 5460, 6000, + 6600, 7200, 7320, 7620, 8040, 8820, 9600, 10080, 10560, 11040, + 12610, 13390, 14300, 15340, 16900, 18460, 19500, 20800, 22100, 23400, + 24700, 26000, 27300, 28600, 30160, 31200, 33800, 35750, 37700, 39000, + 44100, 46200, 47600, 50400, 52500, 53200, 56000, 58800, 62300, 65800, + 68600, 71400, 74200, 77000, 79800, 82600, 86100, 88200, 91000, 93800, + 103500, 105000, 109500, 115500, 120000, 126000, 132000, 136500, 142500, 165000, + 192000, 210000, 232500, 244500, 255000, 270000, 282000, 292500, 300000, 345000, + 416000, 480000, 560000, 640000, 768000, 880000, 960000, 1088000, 1200000, 1440000, + 1700000, 2040000, 2550000, 3060000, 3570000, 4080000, 4760000, 5610000, 6800000, 7070000, + 7400000, 7770000, 8150000, 8550000, 9100000, 9610000, 10150000, 10570000, 11180000, 12000000, + 12200000, 12930000, 13150000, 14030000, 14420000, 15420000, 15670000, 16870000, 17140000, 18720000, + 19020000, 20590000, 20930000, 22690000, 23310000, 25290000, 26020000, 27860000, 28535000, 30990000, + 31680000, 33560000, 34942000, 36372000, 38350000, 39890000, 41545000, 43330000, 45400000, 48100000, + 50410000, 53370000, 56250000, 59230000, 62590000, 66120000, 70200000, 75330000, 81100000, 95000000, + 98000000, 103000000, 107000000, 112000000, 116000000, 121000000, 125000000, 130000000, 134000000 + ] + } + Summoner: { + MaxLevel: 175 + Exp: [ + 420, 660, 1080, 1800, 2640, 3840, 4560, 5040, 5460, 6000, + 6600, 7200, 7320, 7620, 8040, 8820, 9600, 10080, 10560, 11040, + 12610, 13390, 14300, 15340, 16900, 18460, 19500, 20800, 22100, 23400, + 24700, 26000, 27300, 28600, 30160, 31200, 33800, 35750, 37700, 39000, + 44100, 46200, 47600, 50400, 52500, 53200, 56000, 58800, 62300, 65800, + 68600, 71400, 74200, 77000, 79800, 82600, 86100, 88200, 91000, 93800, + 103500, 105000, 109500, 115500, 120000, 126000, 132000, 136500, 142500, 165000, + 192000, 210000, 232500, 244500, 255000, 270000, 282000, 292500, 300000, 345000, + 416000, 480000, 560000, 640000, 768000, 880000, 960000, 1088000, 1200000, 1440000, + 1700000, 2040000, 2550000, 3060000, 3570000, 4080000, 4760000, 5610000, 6800000, 7070000, + 7400000, 7770000, 8150000, 8550000, 9100000, 9610000, 10150000, 10570000, 11180000, 12000000, + 12200000, 12930000, 13150000, 14030000, 14420000, 15420000, 15670000, 16870000, 17140000, 18720000, + 19020000, 20590000, 20930000, 22690000, 23310000, 25290000, 26020000, 27860000, 28535000, 30990000, + 31680000, 33560000, 34942000, 36372000, 38350000, 39890000, 41545000, 43330000, 45400000, 48100000, + 50410000, 53370000, 56250000, 59230000, 62590000, 66120000, 70200000, 75330000, 81100000, 95000000, + 98000000, 103000000, 107000000, 112000000, 116000000, 121000000, 125000000, 130000000, 134000000, + 139000000, 145000000, 152200000, 160840000, 171200000, 191930000, 202290000, 214720000, 229640000, + 247550000, 283370000, 301280000, 322770000, 348560000, 379500000 + ] + } +} +job_exp_group_db: { + Novice: { + MaxLevel: 10 + Exp: [ 10, 18, 28, 40, 91, 151, 205, 268, 340 ] + } + FirstClasses: { + MaxLevel: 50 + Exp: [ + 30, 60, 130, 260, 460, 780, 1060, 1300, 1560, 1910, + 2290, 2680, 2990, 3340, 3740, 4360, 4970, 5530, 6120, 6700, + 8090, 8920, 9970, 11080, 12690, 14440, 15850, 17400, 19220, 21060, + 22870, 24910, 26840, 29080, 31320, 33300, 37110, 40500, 43570, 46180, + 53510, 57200, 60310, 65690, 70090, 72130, 77540, 83320, 90120 + ] + } + SecondClasses: { + MaxLevel: 50 + Exp: [ + 1600, 2500, 4200, 7000, 10300, 15900, 18900, 20900, 22600, 24900, + 28800, 31500, 32000, 33300, 35100, 40500, 44100, 46300, 48500, 50700, + 56000, 59400, 63500, 68100, 75000, 85700, 90500, 96600, 102600, 108600, + 119700, 126000, 132300, 138600, 146100, 157500, 170600, 180400, 190300, 196800, + 214900, 225200, 232000, 245700, 255900, 279300, 294000, 308700, 327000 + ] + } + HighNovice: { + MaxLevel: 10 + Exp: [ 11, 20, 31, 44, 100, 166, 226, 295, 374 ] + } + TranscendedFirstClasses: { + MaxLevel: 50 + Exp: [ + 50, 100, 200, 350, 550, 800, 1100, 1450, 1850, 2300, + 2800, 3350, 3950, 4600, 5300, 6050, 6850, 7700, 8600, 9550, + 10550, 11600, 12700, 13850, 15050, 16300, 17600, 18950, 20350, 21800, + 23300, 24850, 26450, 28100, 29800, 31550, 33350, 35200, 37100, 39050, + 41050, 43100, 45200, 47350, 49550, 51800, 54100, 56450, 58850 + ] + } + TranscendedSecondClasses: { + MaxLevel: 70 + Exp: [ + 2400, 3800, 6200, 10400, 15200, 22900, 27100, 30000, 32500, 35700, + 41300, 45000, 45800, 47600, 50300, 58700, 63900, 67100, 70300, 73500, + 90600, 96200, 102700, 110200, 121400, 144700, 152900, 163100, 173300, 183500, + 213500, 224700, 236000, 247200, 260700, 299800, 324800, 343600, 362300, 374800, + 474400, 497000, 512100, 542200, 564800, 644300, 678200, 712100, 754500, 796900, + 873100, 911900, 950600, 989400, 1028100, 1143300, 1199900, 1233800, 1279100, 1324300, + 1486900, 1515900, 1603000, 1719200, 1806300, 2040300, 2244300, 2415900, 2746000 + ] + } + ThirdClasses: { + MaxLevel: 60 + Exp: [ + 106000, 112000, 355000, 615000, 917000, 1253000, 1595000, 2007000, 2430000, 2868000, + 3420000, 3863000, 4504000, 4998000, 5769000, 6321000, 7254000, 7870000, 9015000, 9530000, + 11072000, 11848000, 13467000, 14337000, 16243000, 17216000, 19446000, 20781000, 23070000, 24453000, + 27568000, 29118000, 31820000, 34125000, 37048000, 40204000, 42972000, 45937000, 49110000, 52696000, + 57158000, 61305000, 67167000, 72285000, 77647000, 83624000, 91113000, 98548000, 107630000, 119077000, + 131668000, 145518000, 160753000, 177511000, 195944000, 216220000, 238523000, 263056000, 290042000 + ] + } + ExtendedClasses: { + MaxLevel: 50 + Exp: [ + 106000, 112000, 355000, 615000, 917000, 1253000, 1595000, 2007000, 2430000, 2868000, + 3420000, 3863000, 4504000, 4998000, 5769000, 6321000, 7254000, 7870000, 9015000, 9530000, 11072000, + 11848000, 13467000, 14337000, 16243000, 17216000, 19446000, 20781000, 23070000, 24453000, 27568000, 29118000, + 31820000, 34125000, 37048000, 40204000, 42972000, 45937000, 49110000, 52696000, 57158000, 61305000, 67167000, + 72285000, 77647000, 83624000, 91113000, 98548000, 107630000 + ] + } + NinjaAndGunslinger: { + MaxLevel: 70 + Exp: [ + 100, 200, 300, 400, 600, 700, 1000, 1200, 1400, 1700, + 1900, 2400, 2700, 3200, 3600, 4200, 4900, 5500, 6100, 6900, + 7700, 8400, 9300, 10100, 11100, 12100, 13000, 14600, 16100, 17500, + 18600, 21500, 23300, 24700, 27000, 29000, 30000, 32400, 35000, 38100, + 41100, 44000, 46700, 49600, 52500, 55600, 58900, 62700, 65500, 69200, + 72300, 81200, 84100, 89300, 95500, 100900, 107800, 114900, 120700, 128600, + 150500, 176900, 196100, 219600, 234200, 247900, 266400, 281300, 296600 + ] + } + StarGladiator: { + MaxLevel: 50 + Exp: [ + 50700, 50700, 50700, 50700, 50700, 50700, 50700, 50700, 50700, 50700, + 50700, 50700, 50700, 50700, 50700, 50700, 50700, 50700, 50700, 101400, + 112000, 118800, 127000, 136200, 150000, 171400, 181000, 193200, 205200, 217200, + 239400, 252000, 264600, 277200, 292200, 315000, 341200, 360800, 380600, 393600, + 429800, 450400, 464000, 491400, 511800, 558600, 588000, 617400, 654000 + ] + } + SoulLinker: { + MaxLevel: 50 + Exp: [ + 2500, 4200, 7000, 10300, 15900, 18900, 20900, 22600, 24900, 28800, + 31500, 32000, 33300, 35100, 40500, 44100, 46300, 48500, 50700, 56000, + 59400, 63500, 68100, 75000, 85700, 90500, 96600, 102600, 108600, 119700, + 126000, 132300, 138600, 146100, 157500, 170600, 180400, 190300, 196800, 214900, + 225200, 232000, 245700, 255900, 279300, 294000, 308700, 327000, 345400 + ] + } + SuperNovice: { + MaxLevel: 99 + Exp: [ + 30, 43, 58, 76, 116, 180, 220, 272, 336, 520, + 604, 699, 802, 948, 1125, 1668, 1937, 2226, 3040, 3988, + 5564, 6272, 7021, 9114, 11473, 15290, 16891, 18570, 23229, 28359, + 36478, 39716, 43088, 52417, 62495, 78160, 84175, 90404, 107611, 125915, + 153941, 191781, 204351, 248352, 286212, 386371, 409795, 482092, 509596, 982092, + 992092, 1002092, 1012092, 1022092, 1032092, 1042092, 1052092, 1062092, 1072092, 1082092, + 1092092, 1102092, 1112092, 1122092, 1132092, 1142092, 1152092, 1162092, 1172092, 1182092, + 1192092, 1202092, 1212092, 1222092, 1232092, 1242092, 1252092, 1262092, 1272092, 1282092, + 1292092, 1302092, 1312092, 1322092, 1332092, 1342092, 1352092, 1362092, 1372092, 1382092, + 1392092, 1402092, 1412092, 1422092, 1432092, 1442092, 1452092, 1462092 + ] + } + Summoner: { + MaxLevel: 60 + Exp: [ + 106000, 112000, 355000, 615000, 917000, 1253000, 1595000, 2007000, 2430000, 2868000, + 3420000, 3863000, 4504000, 4998000, 5769000, 6321000, 7254000, 7870000, 9015000, 9530000, + 11072000, 11848000, 13467000, 14337000, 16243000, 17216000, 19446000, 20781000, 23070000, 24453000, + 27568000, 29118000, 31820000, 34125000, 37048000, 40204000, 42972000, 45937000, 49110000, 52696000, + 57158000, 61305000, 67167000, 72285000, 77647000, 83624000, 91113000, 98548000, 107630000, 119077000, + 131668000, 145518000, 160753000, 177511000, 195944000, 216220000, 238523000, 263056000, 290042000 + ] + } +} diff --git a/db/re/job_db.conf b/db/re/job_db.conf index 4b036ae93..93bab17e0 100644 --- a/db/re/job_db.conf +++ b/db/re/job_db.conf @@ -69,6 +69,8 @@ Job_Name: { // Job names as in src/map/pc.c (they are hardcoded at the moment so **************************************************************************/ Novice: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "Novice" BaseASPD: { Fist: 40 Dagger: 55 @@ -114,6 +116,8 @@ Novice: { 151, 152, 153, 154, 155, 156, 157, 158, 159, 160] // 151 - 160 } Swordsman: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Weight: 28000 BaseASPD: { Fist: 40 @@ -161,6 +165,8 @@ Swordsman: { 292, 294, 296, 298, 300, 302, 304, 306, 308, 310] // 141 - 150 } Magician: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Weight: 22000 BaseASPD: { Fist: 50 @@ -202,6 +208,8 @@ Magician: { 856, 862, 868, 874, 880, 886, 892, 898, 904, 910] // 141 - 150 } Archer: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Weight: 26000 BaseASPD: { Fist: 40 @@ -228,6 +236,8 @@ Archer: { 5863, 5917, 5972, 6026, 6081, 6135, 6190, 6244, 6299, 6353] // 151 - 160 } Acolyte: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Weight: 24000 BaseASPD: { Fist: 40 @@ -270,6 +280,8 @@ Acolyte: { 715, 720, 725, 730, 735, 740, 745, 750, 755, 760] // 141 - 150 } Merchant: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Weight: 28000 BaseASPD: { Fist: 40 @@ -299,6 +311,8 @@ Merchant: { 433, 436, 439, 442, 445, 448, 451, 454, 457, 460] // 141 - 150 } Thief: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Weight: 24000 BaseASPD: { Fist: 40 @@ -312,6 +326,8 @@ Thief: { InheritSP: ("Swordsman") } Knight: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 28000 BaseASPD: { Fist: 40 @@ -344,6 +360,8 @@ Knight: { 11128, 11203, 11278, 11353, 11428, 11503, 11578, 11653, 11728, 11803] // 141 - 150 } Priest: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 26000 BaseASPD: { Fist: 40 @@ -387,6 +405,8 @@ Priest: { 1138, 1146, 1154, 1162, 1170, 1178, 1186, 1194, 1202, 1210] // 141 - 150 } Wizard: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 24000 BaseASPD: { Fist: 50 @@ -427,6 +447,8 @@ Wizard: { 1279, 1288, 1297, 1306, 1315, 1324, 1333, 1342, 1351, 1360] // 141 - 150 } Blacksmith: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 30000 BaseASPD: { Fist: 40 @@ -470,6 +492,8 @@ Blacksmith: { 574, 578, 582, 586, 590, 594, 598, 602, 606, 610] // 141 - 150 } Hunter: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 27000 BaseASPD: { Fist: 40 @@ -495,6 +519,8 @@ Hunter: { 8456, 8544, 8633, 8721, 8810, 8898, 8987, 9075, 9164, 9252] // 141 - 150 } Assassin: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 24000 BaseASPD: { Fist: 40 @@ -523,6 +549,8 @@ Assassin: { 10746, 10859, 10973, 11086, 11200, 11313, 11427, 11540, 11654, 11767] // 141 - 150 } Crusader: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 28000 BaseASPD: { Fist: 40 @@ -569,6 +597,8 @@ Crusader: { 672, 677, 682, 686, 691, 696, 700, 705, 710, 715] // 141 - 150 } Rogue: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 24000 BaseASPD: { Fist: 40 @@ -581,6 +611,8 @@ Rogue: { InheritSP: ("Acolyte") } Sage: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 24000 BaseASPD: { Fist: 45 @@ -609,6 +641,8 @@ Sage: { 997, 1004, 1011, 1018, 1025, 1032, 1039, 1046, 1053, 1060] // 141 - 150 } Alchemist: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" BaseASPD: { Fist: 40 Dagger: 50 @@ -622,6 +656,8 @@ Alchemist: { Inherit: ("Blacksmith") } Monk: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 26000 BaseASPD: { Fist: 40 @@ -650,6 +686,8 @@ Monk: { 9127, 9222, 9317, 9412, 9507, 9602, 9697, 9792, 9887, 9982] // 141 - 150 } Bard: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 27000 BaseASPD: { Fist: 40 @@ -676,6 +714,8 @@ Bard: { 7290, 7367, 7444, 7521, 7598, 7675, 7752, 7829, 7906, 7983] // 141 - 150 } Dancer: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" BaseASPD: { Whip: 45 Instrument: 200 @@ -683,6 +723,8 @@ Dancer: { Inherit: ("Bard") } Taekwon: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Weight: 28000 BaseASPD: { Fist: 40 @@ -743,6 +785,8 @@ Taekwon: { 200, 200, 200, 200, 200, 200, 200, 200, 200, 200] // 141 - 150 } Star_Gladiator: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "StarGladiator" Inherit: ("Taekwon") HPTable:[ 40, 47, 55, 64, 74, 84, 95, 107, 120, 134, // 1 - 10 149, 165, 182, 200, 219, 238, 258, 306, 329, 354, // 11 - 20 @@ -776,6 +820,8 @@ Star_Gladiator: { 500, 500, 500, 500, 500, 500, 500, 500, 500, 500] // 141 - 150 } Soul_Linker: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SoulLinker" Weight: 24000 BaseASPD: { Fist: 50 @@ -816,6 +862,8 @@ Soul_Linker: { 900, 900, 900, 900, 900, 900, 900, 900, 900, 900] // 141 - 150 } Gunslinger: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "NinjaAndGunslinger" Weight: 28000 BaseASPD: { Fist: 50 @@ -844,6 +892,8 @@ Gunslinger: { 708, 714, 720, 726, 732, 738, 744, 750, 756, 762] // 141 - 150 } Ninja: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "NinjaAndGunslinger" Weight: 26000 BaseASPD: { Fist: 40 @@ -869,6 +919,8 @@ Ninja: { 858, 866, 874, 882, 890, 898, 906, 914, 922, 930] // 141 - 150 } Gangsi: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "NinjaAndGunslinger" Weight: 32000 InheritSP: ("Novice") BaseASPD: { @@ -910,14 +962,20 @@ Gangsi: { 2605, 2656, 2708, 2760, 2813, 2866, 2920, 2974, 3029] // 91 - 99 } Death_Knight: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 36000 Inherit: ("Gangsi") } Dark_Collector: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SecondClasses" Weight: 40000 Inherit: ("Gangsi") } Rune_Knight: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 35000 BaseASPD: { Fist: 40 @@ -970,6 +1028,8 @@ Rune_Knight: { 941, 947, 953, 959, 965] // 171 - 175 } Warlock: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 30000 BaseASPD: { Fist: 45 @@ -1017,6 +1077,8 @@ Warlock: { 1567, 1579, 1591, 1603, 1615] // 171 - 175 } Ranger: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 32000 BaseASPD: { Fist: 40 @@ -1062,6 +1124,8 @@ Ranger: { 847, 854, 861, 868, 875] // 171 - 175 } Arch_Bishop: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 30000 BaseASPD: { Fist: 45 @@ -1111,6 +1175,8 @@ Arch_Bishop: { 1596, 1607, 1618, 1629, 1640] // 171 - 175 } Mechanic: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 38000 BaseASPD: { Fist: 40 @@ -1160,6 +1226,8 @@ Mechanic: { 1292, 1299, 1306, 1313, 1320] // 171 - 175 } Guillotine_Cross: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 32000 BaseASPD: { Fist: 40 @@ -1212,6 +1280,8 @@ Guillotine_Cross: { 867, 874, 881, 888, 895] // 171 - 175 } Shadow_Chaser: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 28000 BaseASPD: { Fist: 40 @@ -1258,6 +1328,8 @@ Shadow_Chaser: { 712, 719, 726, 733, 740] // 171 - 175 } Royal_Guard: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" InheritSP: ("Mechanic") Weight: 35000 BaseASPD: { @@ -1293,6 +1365,8 @@ Royal_Guard: { 16686, 16858, 17031, 17205, 17380] // 171 - 175 } Sorcerer: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" InheritSP: ("Warlock") Weight: 30000 BaseASPD: { @@ -1324,6 +1398,8 @@ Sorcerer: { 11301, 11433, 11566, 11700, 11835] // 171 - 175 } Minstrel: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 32000 BaseASPD: { Fist: 40 @@ -1370,6 +1446,8 @@ Minstrel: { 912, 919, 926, 933, 940] // 171 - 175 } Wanderer: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Minstrel") BaseASPD: { Fist: 40 @@ -1380,6 +1458,8 @@ Wanderer: { } } Sura: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 30000 InheritSP: ("Shadow_Chaser") BaseASPD: { @@ -1411,6 +1491,8 @@ Sura: { 13871, 14023, 14176, 14330, 14485] // 171 - 175 } Genetic: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Weight: 32000 InheritSP: ("Sorcerer") BaseASPD: { @@ -1443,6 +1525,8 @@ Genetic: { 11806, 11978, 12151, 12325, 12500] // 171 - 175 } Kagerou: { + BaseExpGroup: "ExtendedClasses" + JobExpGroup: "ExtendedClasses" Weight: 26000 BaseASPD: { Fist: 40 @@ -1484,6 +1568,8 @@ Kagerou: { 938, 946, 954, 962, 970, 978, 986, 994, 1002, 1010] // 151 - 160 } Oboro: { + BaseExpGroup: "ExtendedClasses" + JobExpGroup: "ExtendedClasses" Inherit: ("Kagerou") HPTable:[ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, // 1 - 10 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, // 11 - 20 @@ -1519,221 +1605,365 @@ Oboro: { 958, 976, 994, 1002, 1014, 1028, 1046, 1060, 1082, 1100] // 151 - 160 } Rebellion: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "ExtendedClasses" Inherit: ("Gunslinger") InheritHP: ("Soul_Linker") } Novice_High: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "HighNovice" Inherit: ("Novice") } Swordsman_High: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedFirstClasses" Inherit: ("Swordsman") } Magician_High: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedFirstClasses" Inherit: ("Magician") } Archer_High: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedFirstClasses" Inherit: ("Archer") } Acolyte_High: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedFirstClasses" Inherit: ("Acolyte") } Merchant_High: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedFirstClasses" Inherit: ("Merchant") } Thief_High: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedFirstClasses" Inherit: ("Thief") } Lord_Knight: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Knight") } High_Priest: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Priest") } High_Wizard: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Wizard") } Whitesmith: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Blacksmith") } Sniper: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Hunter") } Assassin_Cross: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Assassin") } Paladin: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Crusader") } Champion: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Monk") } Professor: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Sage") } Stalker: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Rogue") } Creator: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Alchemist") } Clown: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Bard") } Gypsy: { + BaseExpGroup: "TranscendedClasses" + JobExpGroup: "TranscendedSecondClasses" Inherit: ("Dancer") } Baby_Novice: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "Novice" Inherit: ("Novice") } Baby_Swordsman: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Swordsman") } Baby_Magician: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Magician") } Baby_Archer: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Archer") } Baby_Acolyte: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Acolyte") } Baby_Merchant: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Merchant") } Baby_Thief: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Thief") } Baby_Knight: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Knight") } Baby_Priest: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Priest") } Baby_Wizard: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Wizard") } Baby_Blacksmith: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Blacksmith") } Baby_Hunter: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Hunter") } Baby_Assassin: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Assassin") } Baby_Crusader: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Crusader") } Baby_Monk: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Monk") } Baby_Sage: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Sage") } Baby_Rogue: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Rogue") } Baby_Alchemist: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Alchemist") } Baby_Bard: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Bard") } Baby_Dancer: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Dancer") } Super_Baby: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "FirstClasses" Inherit: ("Novice") } Rune_Knight_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Rune_Knight") } Warlock_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Warlock") } Ranger_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Ranger") } Arch_Bishop_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Arch_Bishop") } Mechanic_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Mechanic") } Guillotine_Cross_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Guillotine_Cross") } Royal_Guard_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Royal_Guard") } Sorcerer_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Sorcerer") } Minstrel_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Minstrel") } Wanderer_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Wanderer") } Sura_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Sura") } Genetic_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Genetic") } Shadow_Chaser_Trans: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Shadow_Chaser") } Baby_Rune_Knight: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Rune_Knight") } Baby_Warlock: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Warlock") } Baby_Ranger: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Ranger") } Baby_Arch_Bishop: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Arch_Bishop") } Baby_Mechanic: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Mechanic") } Baby_Guillotine_Cross: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Guillotine_Cross") } Baby_Royal_Guard: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Royal_Guard") } Baby_Sorcerer: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Sorcerer") } Baby_Minstrel: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Minstrel") } Baby_Wanderer: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Wanderer") } Baby_Sura: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Sura") } Baby_Genetic: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Genetic") } Baby_Shadow_Chaser: { + BaseExpGroup: "ThirdClasses" + JobExpGroup: "ThirdClasses" Inherit: ("Shadow_Chaser") } Super_Novice: { + BaseExpGroup: "FirstClasses" + JobExpGroup: "SuperNovice" Inherit: ("Novice") } Expanded_Super_Novice: { + BaseExpGroup: "ExtendedClasses" + JobExpGroup: "ExtendedClasses" Inherit: ("Novice") } Expanded_Super_Baby: { + BaseExpGroup: "ExtendedClasses" + JobExpGroup: "ExtendedClasses" Inherit: ("Novice") } // Summoner HP/SP is not known, below table are generated and near to official HP/SP. Summoner: { + BaseExpGroup: "Summoner" + JobExpGroup: "Summoner" Weight: 20000 BaseASPD: { Fist: 45 diff --git a/src/common/HPMDataCheck.h b/src/common/HPMDataCheck.h index 0a54038b5..e82f9fed3 100644 --- a/src/common/HPMDataCheck.h +++ b/src/common/HPMDataCheck.h @@ -722,6 +722,8 @@ HPExport const struct s_HPMDataCheck HPMDataCheck[] = { #endif // MAP_PC_GROUPS_H #ifdef MAP_PC_H { "autotrade_vending", sizeof(struct autotrade_vending), SERVER_TYPE_MAP }, + { "class_exp_group", sizeof(struct class_exp_group), SERVER_TYPE_MAP }, + { "class_exp_tables", sizeof(struct class_exp_tables), SERVER_TYPE_MAP }, { "item_cd", sizeof(struct item_cd), SERVER_TYPE_MAP }, { "map_session_data", sizeof(struct map_session_data), SERVER_TYPE_MAP }, { "pc_combos", sizeof(struct pc_combos), SERVER_TYPE_MAP }, diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 290611c9b..ae0c776c6 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -1606,7 +1606,8 @@ int atcommand_pvpon_sub(struct block_list *bl,va_list ap) sd = BL_UCAST(BL_PC, bl); if (sd->pvp_timer == INVALID_TIMER) { - sd->pvp_timer = timer->add(timer->gettick() + 200, pc->calc_pvprank_timer, sd->bl.id, 0); + if (!map->list[sd->bl.m].flag.pvp_nocalcrank) + sd->pvp_timer = timer->add(timer->gettick() + 200, pc->calc_pvprank_timer, sd->bl.id, 0); sd->pvp_rank = 0; sd->pvp_lastusers = 0; sd->pvp_point = 5; diff --git a/src/map/pc.c b/src/map/pc.c index f2bf042eb..0872c85e1 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -79,6 +79,8 @@ struct pc_interface pc_s; struct pc_interface *pc; +struct class_exp_tables exptables; + //Converts a class to its array index for CLASS_COUNT defined arrays. //Note that it does not do a validity check for speed purposes, where parsing //player input make sure to use a pc->db_checkid first! @@ -1921,7 +1923,7 @@ int pc_calc_skilltree_normalize_job(struct map_session_data *sd) skill_point = pc->calc_skillpoint(sd); - novice_skills = pc->max_level[pc->class2idx(JOB_NOVICE)][1] - 1; + novice_skills = pc->dbs->class_exp_table[pc->class2idx(JOB_NOVICE)][CLASS_EXP_TABLE_JOB]->max_level - 1; sd->sktree.second = sd->sktree.third = 0; @@ -1935,7 +1937,7 @@ int pc_calc_skilltree_normalize_job(struct map_session_data *sd) if ((sd->job & JOBL_THIRD) != 0) { // if neither 2nd nor 3rd jobchange levels are known, we have to assume a default for 2nd if (sd->change_level_3rd == 0) { - sd->change_level_2nd = pc->max_level[pc->class2idx(pc->mapid2jobid(sd->job & MAPID_UPPERMASK, sd->status.sex))][1]; + sd->change_level_2nd = pc->dbs->class_exp_table[pc->class2idx(pc->mapid2jobid(sd->job & MAPID_UPPERMASK, sd->status.sex))][CLASS_EXP_TABLE_JOB]->max_level; } else { sd->change_level_2nd = 1 + skill_point + sd->status.skill_point - (sd->status.job_level - 1) @@ -7086,12 +7088,16 @@ bool pc_gainexp(struct map_session_data *sd, struct block_list *src, uint64 base *------------------------------------------*/ int pc_maxbaselv(const struct map_session_data *sd) { - return pc->max_level[pc->class2idx(sd->status.class)][0]; + nullpo_ret(sd); + + return pc->dbs->class_exp_table[pc->class2idx(sd->status.class)][CLASS_EXP_TABLE_BASE]->max_level; } int pc_maxjoblv(const struct map_session_data *sd) { - return pc->max_level[pc->class2idx(sd->status.class)][1]; + nullpo_ret(sd); + + return pc->dbs->class_exp_table[pc->class2idx(sd->status.class)][CLASS_EXP_TABLE_JOB]->max_level; } /*========================================== @@ -7101,21 +7107,35 @@ int pc_maxjoblv(const struct map_session_data *sd) //Base exp needed for next level. uint64 pc_nextbaseexp(const struct map_session_data *sd) { + const struct class_exp_group *exp_group = NULL; + nullpo_ret(sd); if (sd->status.base_level >= pc->maxbaselv(sd) || sd->status.base_level <= 0) return 0; - return pc->exp_table[pc->class2idx(sd->status.class)][0][sd->status.base_level-1]; + exp_group = pc->dbs->class_exp_table[pc->class2idx(sd->status.class)][CLASS_EXP_TABLE_BASE]; + + nullpo_ret(exp_group); + + return VECTOR_INDEX(exp_group->exp, sd->status.base_level >= exp_group->max_level ? 0 : sd->status.base_level - 1); } //Base exp needed for this level. uint64 pc_thisbaseexp(const struct map_session_data *sd) { + const struct class_exp_group *exp_group = NULL; + + nullpo_ret(sd); + if (sd->status.base_level > pc->maxbaselv(sd) || sd->status.base_level <= 1) return 0; - return pc->exp_table[pc->class2idx(sd->status.class)][0][sd->status.base_level-2]; + exp_group = pc->dbs->class_exp_table[pc->class2idx(sd->status.class)][CLASS_EXP_TABLE_BASE]; + + nullpo_ret(exp_group); + + return VECTOR_INDEX(exp_group->exp, sd->status.base_level - 2); } /*========================================== @@ -7128,19 +7148,33 @@ uint64 pc_thisbaseexp(const struct map_session_data *sd) //Job exp needed for next level. uint64 pc_nextjobexp(const struct map_session_data *sd) { + const struct class_exp_group *exp_group = NULL; + nullpo_ret(sd); if (sd->status.job_level >= pc->maxjoblv(sd) || sd->status.job_level <= 0) return 0; - return pc->exp_table[pc->class2idx(sd->status.class)][1][sd->status.job_level-1]; + + exp_group = pc->dbs->class_exp_table[pc->class2idx(sd->status.class)][CLASS_EXP_TABLE_JOB]; + + nullpo_ret(exp_group); + + return VECTOR_INDEX(exp_group->exp, sd->status.job_level >= exp_group->max_level ? 0 : sd->status.job_level - 1); } //Job exp needed for this level. uint64 pc_thisjobexp(const struct map_session_data *sd) { + const struct class_exp_group *exp_group = NULL; + + nullpo_ret(sd); + if (sd->status.job_level > pc->maxjoblv(sd) || sd->status.job_level <= 1) return 0; - return pc->exp_table[pc->class2idx(sd->status.class)][1][sd->status.job_level-2]; + + exp_group = pc->dbs->class_exp_table[pc->class2idx(sd->status.class)][CLASS_EXP_TABLE_JOB]; + + return VECTOR_INDEX(exp_group->exp, sd->status.job_level - 2); } /// Returns the value of the specified stat. @@ -11074,94 +11108,6 @@ int pc_level_penalty_mod(int diff, unsigned char race, uint32 mode, int type) return 100; #endif } -int pc_split_str(char *str,char **val,int num) -{ - int i; - - nullpo_ret(val); - for (i=0; i<num && str; i++){ - val[i] = str; - str = strchr(str,','); - if (str && i<num-1) //Do not remove a trailing comma. - *str++=0; - } - return i; -} - -int pc_split_atoi(char* str, int* val, char sep, int max) -{ - int i,j; - nullpo_ret(val); - for (i=0; i<max; i++) { - if (!str) break; - val[i] = atoi(str); - str = strchr(str,sep); - if (str) - *str++=0; - } - //Zero up the remaining. - for(j=i; j < max; j++) - val[j] = 0; - return i; -} - -int pc_split_atoui(char* str, unsigned int* val, char sep, int max) -{ - static int warning=0; - int i,j; - nullpo_ret(val); - for (i=0; i<max; i++) { - double f; - if (!str) break; - f = atof(str); - if (f < 0) - val[i] = 0; - else if (f > UINT_MAX) { - val[i] = UINT_MAX; - if (!warning) { - warning = 1; - ShowWarning("pc_readdb (exp.txt): Required exp per level is capped to %u\n", UINT_MAX); - } - } else - val[i] = (unsigned int)f; - str = strchr(str,sep); - if (str) - *str++=0; - } - //Zero up the remaining. - for(j=i; j < max; j++) - val[j] = 0; - return i; -} - -int pc_split_atoui64(char* str, uint64* val, char sep, int max) -{ - static int warning=0; - int i,j; - nullpo_ret(val); - for (i=0; i<max; i++) { - double f; - if (!str) break; - f = atof(str); - if (f < 0) - val[i] = 0; - else if (f > UINT64_MAX) { - val[i] = UINT64_MAX; - if (!warning) { - warning = 1; - ShowWarning("pc_readdb (exp.txt): Required exp per level is capped to %"PRIu64"\n", UINT64_MAX); - } - } else - val[i] = (uint64)f; - str = strchr(str,sep); - if (str) - *str++=0; - } - //Zero up the remaining. - for(j=i; j < max; j++) - val[j] = 0; - return i; -} bool pc_read_skill_job_skip(short skill_id, int job_id) { @@ -11421,6 +11367,115 @@ bool pc_readdb_levelpenalty(char* fields[], int columns, int current) { return true; } +bool pc_read_exp_db_sub_class(struct config_setting_t *t, bool base) +{ + struct class_exp_group entry = { { 0 } }; + struct config_setting_t *exp_t = NULL; + int maxlv = 0; + + nullpo_retr(false, t); + + safestrncpy(entry.name, config_setting_name(t), SCRIPT_VARNAME_LENGTH); + + if (libconfig->setting_lookup_int(t, "MaxLevel", &maxlv) == 0 + || (maxlv <= 0 || maxlv > MAX_LEVEL)) { + ShowError("pc_read_exp_db_sub_class: Invalid max %s level '%d' set for entry '%s'. Defaulting to %d...", base ? "base" : "job", maxlv, entry.name, MAX_LEVEL); + maxlv = MAX_LEVEL; + } + + entry.max_level = maxlv; + + if ((exp_t = libconfig->setting_lookup(t, "Exp")) != NULL && config_setting_is_array(exp_t)) { + int j = 0; + + VECTOR_ENSURE(entry.exp, maxlv - 2, 10); + + if (libconfig->setting_length(exp_t) > maxlv - 1) { + ShowWarning("pc_read_exp_db_sub_class: Exp table length (%d) for %s exp group '%s' exceeds specified max level %d. Skipping remaining entries...\n", libconfig->setting_length(exp_t), base ? "base" : "job", entry.name, maxlv); + } + + while (j < libconfig->setting_length(exp_t) && j <= maxlv - 2) + VECTOR_PUSH(entry.exp, libconfig->setting_get_int64_elem(exp_t, j++)); + + if (j - 1 < maxlv - 2) { + ShowError("pc_read_exp_db_sub_class: Specified max %d for group '%s', but that group's %s exp table only goes up to level %d.\n", maxlv, entry.name, base ? "base" : "job", VECTOR_LENGTH(entry.exp)); + ShowInfo("Filling the missing values with the last exp entry.\n"); + while (j++ <= maxlv - 2) + VECTOR_PUSH(entry.exp, VECTOR_LAST(entry.exp)); + } + } else { + ShowError("pc_read_exp_db_sub_class: Invalid or non-existent 'Exp' field set for %s level entry '%s'. Skipping...\n", entry.name, base ? "base" : "job"); + return false; + } + + VECTOR_ENSURE(pc->class_exp_groups[base ? CLASS_EXP_TABLE_BASE : CLASS_EXP_TABLE_JOB], 1, 1); + VECTOR_PUSH(pc->class_exp_groups[base ? CLASS_EXP_TABLE_BASE : CLASS_EXP_TABLE_JOB], entry); + return true; +} + +/** + * Description: Helper function to read a root configuration in the exp_db.conf file. + * @param[in] t pointer to the root config setting + * @param[in] base boolean switch determining whether to read either base or job exp. + * @return total number of valid entries read from the setting. + */ +int pc_read_exp_db_sub(struct config_setting_t *t, bool base) +{ + int i = 0, entry_count = 0; + struct config_setting_t *tt = NULL; + + nullpo_ret(t); + + while ((tt = libconfig->setting_get_elem(t, i++)) != NULL) { + pc->read_exp_db_sub_class(tt, base); + entry_count++; + } + + return entry_count; +} + +/** + * Description: Initiates reading of the exp_group_db.conf. + * @return true success, false on failure. + */ +bool pc_read_exp_db(void) +{ + struct config_t exp_db_conf; + struct config_setting_t *edb = NULL; + int entry_count = 0; + +#ifdef RENEWAL + const char *config_filename = "db/re/exp_group_db.conf"; +#else + const char *config_filename = "db/pre-re/exp_group_db.conf"; +#endif + + if (!libconfig->load_file(&exp_db_conf, config_filename)) + return false; + + if ((edb = libconfig->setting_lookup(exp_db_conf.root, "base_exp_group_db")) != NULL) { + entry_count += pc->read_exp_db_sub(edb, true); + } else { + ShowError("pc_read_exp_db: Error reading base exp group db in '%s'.\n", config_filename); + libconfig->destroy(&exp_db_conf); + return false; + } + + if ((edb = libconfig->setting_lookup(exp_db_conf.root, "job_exp_group_db")) != NULL) { + entry_count += pc->read_exp_db_sub(edb, false); + } else { + ShowError("pc_read_exp_db: Error reading job exp group db in '%s'.\n", config_filename); + libconfig->destroy(&exp_db_conf); + return false; + } + + libconfig->destroy(&exp_db_conf); + + ShowStatus("Done reading '"CL_WHITE"%d"CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"'.\n", entry_count, config_filename); + + return true; +} + /*========================================== * pc DB reading. * exp.txt - required experience values @@ -11433,81 +11488,12 @@ int pc_readdb(void) { FILE *fp; char line[24000],*p; - //reset - memset(pc->exp_table,0,sizeof(pc->exp_table)); - memset(pc->max_level,0,sizeof(pc->max_level)); - - sprintf(line, "%s/"DBPATH"exp.txt", map->db_path); - - fp=fopen(line, "r"); - if(fp==NULL){ - ShowError("can't read %s\n", line); - return 1; - } - while(fgets(line, sizeof(line), fp)) { - int jobs[CLASS_COUNT], job_count, job, job_id; - int type; - int maxlv; - char *split[4]; - if(line[0]=='/' && line[1]=='/') - continue; - if (pc_split_str(line,split,4) < 4) - continue; + /** + * Read and load into memory, the exp_group_db.conf file. + */ + pc->clear_exp_groups(); + pc->read_exp_db(); - job_count = pc_split_atoi(split[1],jobs,':',CLASS_COUNT); - if (job_count < 1) - continue; - job_id = jobs[0]; - if (!pc->db_checkid(job_id)) { - ShowError("pc_readdb: Invalid job ID %d.\n", job_id); - continue; - } - type = atoi(split[2]); - if (type < 0 || type > 1) { - ShowError("pc_readdb: Invalid type %d (must be 0 for base levels, 1 for job levels).\n", type); - continue; - } - maxlv = atoi(split[0]); - if (maxlv > MAX_LEVEL) { - ShowWarning("pc_readdb: Specified max level %d for job %d is beyond server's limit (%d).\n ", maxlv, job_id, MAX_LEVEL); - maxlv = MAX_LEVEL; - } - count++; - job = jobs[0] = pc->class2idx(job_id); - //We send one less and then one more because the last entry in the exp array should hold 0. - pc->max_level[job][type] = pc_split_atoui64(split[3], pc->exp_table[job][type], ',', maxlv - 1) + 1; - //Reverse check in case the array has a bunch of trailing zeros... [Skotlex] - //The reasoning behind the -2 is this... if the max level is 5, then the array - //should look like this: - //0: x, 1: x, 2: x: 3: x 4: 0 <- last valid value is at 3. - while ((i = pc->max_level[job][type]) >= 2 && pc->exp_table[job][type][i-2] <= 0) - pc->max_level[job][type]--; - if (pc->max_level[job][type] < maxlv) { - ShowWarning("pc_readdb: Specified max %d for job %d, but that job's exp table only goes up to level %d.\n", maxlv, job_id, pc->max_level[job][type]); - ShowInfo("Filling the missing values with the last exp entry.\n"); - //Fill the requested values with the last entry. - i = (pc->max_level[job][type] <= 2 ? 0: pc->max_level[job][type]-2); - for (; i+2 < maxlv; i++) - pc->exp_table[job][type][i] = pc->exp_table[job][type][i-1]; - pc->max_level[job][type] = maxlv; - } - //ShowDebug("%s - Class %d: %d\n", type?"Job":"Base", job_id, pc->max_level[job][type]); - for (i = 1; i < job_count; i++) { - job_id = jobs[i]; - if (!pc->db_checkid(job_id)) { - ShowError("pc_readdb: Invalid job ID %d.\n", job_id); - continue; - } - job = pc->class2idx(job_id); - memcpy(pc->exp_table[job][type], pc->exp_table[jobs[0]][type], sizeof(pc->exp_table[0][0])); - pc->max_level[job][type] = maxlv; - //ShowDebug("%s - Class %d: %d\n", type?"Job":"Base", job_id, pc->max_level[job][type]); - } - } - fclose(fp); - pc->validate_levels(); - ShowStatus("Done reading '"CL_WHITE"%u"CL_RESET"' entries in '"CL_WHITE"%s/"DBPATH"%s"CL_RESET"'.\n",count,map->db_path,"exp.txt"); - count = 0; // Reset and read skilltree pc->clear_skill_tree(); pc->read_skill_tree(); @@ -11621,18 +11607,31 @@ int pc_readdb(void) { return 0; } +bool pc_job_is_dummy(int job) +{ + if (job == JOB_KNIGHT2 || job == JOB_CRUSADER2 + || job == JOB_WEDDING || job == JOB_XMAS || job == JOB_SUMMER + || job == JOB_LORD_KNIGHT2 || job == JOB_PALADIN2 + || job == JOB_BABY_KNIGHT2 || job == JOB_BABY_CRUSADER2 + || job == JOB_STAR_GLADIATOR2 + || (job >= JOB_RUNE_KNIGHT2 && job <= JOB_MECHANIC_T2) + || (job >= JOB_BABY_RUNE2 && job <= JOB_BABY_MECHANIC2)) + return true; + return false; +} + void pc_validate_levels(void) { int i; int j; for (i = 0; i < JOB_MAX; i++) { if (!pc->db_checkid(i)) continue; - if (i == JOB_WEDDING || i == JOB_XMAS || i == JOB_SUMMER) + if (pc->job_is_dummy(i)) continue; //Classes that do not need exp tables. j = pc->class2idx(i); - if (pc->max_level[j][0] == 0) - ShowWarning("Class %s (%d) does not has a base exp table.\n", pc->job_name(i), i); - if (pc->max_level[j][1] == 0) - ShowWarning("Class %s (%d) does not has a job exp table.\n", pc->job_name(i), i); + if (pc->dbs->class_exp_table[j][CLASS_EXP_TABLE_BASE] == NULL) + ShowWarning("Class %s (%d - %d) does not have a base exp table.\n", pc->job_name(i), i, j); + if (pc->dbs->class_exp_table[j][CLASS_EXP_TABLE_JOB] == NULL) + ShowWarning("Class %s (%d - %d) does not have a job exp table.\n", pc->job_name(i), i, j); } } @@ -12172,7 +12171,29 @@ void pc_update_job_and_level(struct map_session_data *sd) } } -void do_final_pc(void) { +void pc_clear_exp_groups(void) +{ + int i, k, size; + for (k = 0; k < 2; k++) { + size = VECTOR_LENGTH(pc->class_exp_groups[k]); + + for (i = 0; i < size; i++) + VECTOR_CLEAR(VECTOR_INDEX(pc->class_exp_groups[k], i).exp); + VECTOR_CLEAR(pc->class_exp_groups[k]); + } +} + +void pc_init_exp_groups(void) +{ + int i; + for (i = 0; i < 2; i++) { + VECTOR_INIT(pc->class_exp_groups[i]); + } +} + +void do_final_pc(void) +{ + db_destroy(pc->itemcd_db); pc->at_db->destroy(pc->at_db,pc->autotrade_final); @@ -12180,6 +12201,8 @@ void do_final_pc(void) { pc->clear_skill_tree(); + pc->clear_exp_groups(); + ers_destroy(pc->sc_display_ers); ers_destroy(pc->num_reg_ers); ers_destroy(pc->str_reg_ers); @@ -12194,6 +12217,7 @@ void do_init_pc(bool minimal) { pc->itemcd_db = idb_alloc(DB_OPT_RELEASE_DATA); pc->at_db = idb_alloc(DB_OPT_RELEASE_DATA); + pc->init_exp_groups(); pc->readdb(); timer->add_func_list(pc->invincible_timer, "pc_invincible_timer"); @@ -12248,6 +12272,7 @@ void pc_defaults(void) { unsigned int equip_pos[EQI_MAX]={EQP_ACC_L,EQP_ACC_R,EQP_SHOES,EQP_GARMENT,EQP_HEAD_LOW,EQP_HEAD_MID,EQP_HEAD_TOP,EQP_ARMOR,EQP_HAND_L,EQP_HAND_R,EQP_COSTUME_HEAD_TOP,EQP_COSTUME_HEAD_MID,EQP_COSTUME_HEAD_LOW,EQP_COSTUME_GARMENT,EQP_AMMO, EQP_SHADOW_ARMOR, EQP_SHADOW_WEAPON, EQP_SHADOW_SHIELD, EQP_SHADOW_SHOES, EQP_SHADOW_ACC_R, EQP_SHADOW_ACC_L }; pc = &pc_s; + pc->dbs = &exptables; /* vars */ pc->at_db = NULL; @@ -12468,6 +12493,9 @@ void pc_defaults(void) { pc->getmaxspiritball = pc_getmaxspiritball; pc->readdb = pc_readdb; + pc->read_exp_db = pc_read_exp_db; + pc->read_exp_db_sub = pc_read_exp_db_sub; + pc->read_exp_db_sub_class = pc_read_exp_db_sub_class; pc->map_day_timer = map_day_timer; // by [yor] pc->map_night_timer = map_night_timer; // by [yor] // Rental System @@ -12522,6 +12550,9 @@ void pc_defaults(void) { pc->calcweapontype = pc_calcweapontype; pc->removecombo = pc_removecombo; pc->update_job_and_level = pc_update_job_and_level; + pc->clear_exp_groups = pc_clear_exp_groups; + pc->init_exp_groups = pc_init_exp_groups; + pc->job_is_dummy = pc_job_is_dummy; pc->bank_withdraw = pc_bank_withdraw; pc->bank_deposit = pc_bank_deposit; diff --git a/src/map/pc.h b/src/map/pc.h index 695add32f..f998c799d 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -824,6 +824,24 @@ struct autotrade_vending { struct hplugin_data_store *hdata; ///< HPM Plugin Data Store }; +struct class_exp_group { + char name[SCRIPT_VARNAME_LENGTH]; + int max_level; + VECTOR_DECL(uint64) exp; +}; + +/** +* Exp types +*/ +enum class_exp_type { + CLASS_EXP_TABLE_BASE, + CLASS_EXP_TABLE_JOB +}; + +struct class_exp_tables { + struct class_exp_group *class_exp_table[CLASS_COUNT][2]; +}; + /*===================================== * Interface : pc.h * Generated by HerculesInterfaceMaker @@ -841,8 +859,6 @@ struct pc_interface { /* */ BEGIN_ZEROED_BLOCK; /* Everything within this block will be memset to 0 when status_defaults() is executed */ - uint64 exp_table[CLASS_COUNT][2][MAX_LEVEL]; - int max_level[CLASS_COUNT][2]; unsigned int statp[MAX_LEVEL+1]; unsigned int level_penalty[3][RC_MAX][MAX_LEVEL*2+1]; /* */ @@ -852,6 +868,8 @@ BEGIN_ZEROED_BLOCK; /* Everything within this block will be memset to 0 when sta struct fame_list taekwon_fame_list[MAX_FAME_LIST]; END_ZEROED_BLOCK; /* End */ + struct class_exp_tables *dbs; + VECTOR_DECL(struct class_exp_group) class_exp_groups[2]; unsigned int equip_pos[EQI_MAX]; struct sg_data sg_info[MAX_PC_FEELHATE]; /* */ @@ -1062,6 +1080,9 @@ END_ZEROED_BLOCK; /* End */ int (*set_hate_mob) (struct map_session_data *sd, int pos, struct block_list *bl); int (*readdb) (void); + bool (*read_exp_db) (void); + int (*read_exp_db_sub) (struct config_setting_t *conf, bool base); + bool (*read_exp_db_sub_class) (struct config_setting_t *t, bool base); int (*map_day_timer) (int tid, int64 tick, int id, intptr_t data); // by [yor] int (*map_night_timer) (int tid, int64 tick, int id, intptr_t data); // by [yor] // Rental System @@ -1133,6 +1154,9 @@ END_ZEROED_BLOCK; /* End */ void (*validate_levels) (void); void (*update_job_and_level) (struct map_session_data *sd); + void (*clear_exp_groups) (void); + void (*init_exp_groups) (void); + bool (*job_is_dummy) (int job); /** * Autotrade persistency [Ind/Hercules <3] diff --git a/src/map/script.c b/src/map/script.c index e92286324..d9350081a 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -13006,7 +13006,8 @@ int script_mapflag_pvp_sub(struct block_list *bl, va_list ap) sd = BL_UCAST(BL_PC, bl); if (sd->pvp_timer == INVALID_TIMER) { - sd->pvp_timer = timer->add(timer->gettick() + 200, pc->calc_pvprank_timer, sd->bl.id, 0); + if (!map->list[sd->bl.m].flag.pvp_nocalcrank) + sd->pvp_timer = timer->add(timer->gettick() + 200, pc->calc_pvprank_timer, sd->bl.id, 0); sd->pvp_rank = 0; sd->pvp_lastusers = 0; sd->pvp_point = 5; @@ -13245,7 +13246,8 @@ BUILDIN(pvpon) if( sd->bl.m != m || sd->pvp_timer != INVALID_TIMER ) continue; // not applicable - sd->pvp_timer = timer->add(timer->gettick()+200,pc->calc_pvprank_timer,sd->bl.id,0); + if (!map->list[m].flag.pvp_nocalcrank) + sd->pvp_timer = timer->add(timer->gettick()+200,pc->calc_pvprank_timer,sd->bl.id,0); sd->pvp_rank = 0; sd->pvp_lastusers = 0; sd->pvp_point = 5; diff --git a/src/map/skill.c b/src/map/skill.c index 4bf110b23..6eacde897 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -189,10 +189,6 @@ int skill_get_ele(int skill_id, int skill_lv) idx = skill->get_index(skill_id); Assert_retr(ELE_NEUTRAL, idx != 0); Assert_retr(ELE_NEUTRAL, skill_lv > 0); - if (skill_lv > MAX_SKILL_LEVEL) { - int val = skill->dbs->db[idx].element[skill_get_lvl_idx(skill_lv)]; - return skill_adjust_over_level(val, skill_lv, skill->dbs->db[idx].max); - } return skill->dbs->db[idx].element[skill_get_lvl_idx(skill_lv)]; } diff --git a/src/map/status.c b/src/map/status.c index 45a8f86bf..bf48d2301 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -13067,6 +13067,7 @@ void status_read_job_db_sub(int idx, const char *name, struct config_setting_t * { struct config_setting_t *temp = NULL; int i32 = 0; + const char *str = NULL; struct { const char *name; @@ -13101,6 +13102,36 @@ void status_read_job_db_sub(int idx, const char *name, struct config_setting_t * #endif }; + /** + * @field BaseExpGroup must be read before any other that deal with exp tables. + */ + if (libconfig->setting_lookup_string(jdb, "BaseExpGroup", &str) != 0) { + int i = 0; + ARR_FIND(0, VECTOR_LENGTH(pc->class_exp_groups[CLASS_EXP_TABLE_BASE]), i, strcmp(str, VECTOR_INDEX(pc->class_exp_groups[CLASS_EXP_TABLE_BASE], i).name) == 0); + if (i == VECTOR_LENGTH(pc->class_exp_groups[CLASS_EXP_TABLE_BASE])) { + ShowError("status_read_job_db: Unknown Base Exp Group '%s' provided for entry '%s'\n", str, name); + } else { + pc->dbs->class_exp_table[idx][CLASS_EXP_TABLE_BASE] = &VECTOR_INDEX(pc->class_exp_groups[CLASS_EXP_TABLE_BASE], i); + } + } else { + ShowError("status_read_job_db: BaseExpGroup setting not found for entry '%s'\n", name); + } + + /** + * @field JobExpGroup must be read before any other that deal with exp tables. + */ + if (libconfig->setting_lookup_string(jdb, "JobExpGroup", &str) != 0) { + int i = 0; + ARR_FIND(0, VECTOR_LENGTH(pc->class_exp_groups[CLASS_EXP_TABLE_JOB]), i, strcmp(str, VECTOR_INDEX(pc->class_exp_groups[CLASS_EXP_TABLE_JOB], i).name) == 0); + if (i == VECTOR_LENGTH(pc->class_exp_groups[CLASS_EXP_TABLE_JOB])) { + ShowError("status_read_job_db: Unknown Job Exp Group '%s' provided for entry '%s'\n", str, name); + } else { + pc->dbs->class_exp_table[idx][CLASS_EXP_TABLE_JOB] = &VECTOR_INDEX(pc->class_exp_groups[CLASS_EXP_TABLE_JOB], i); + } + } else { + ShowError("status_read_job_db: JobExpGroup setting not found for entry '%s'\n", name); + } + if ((temp = libconfig->setting_get_member(jdb, "Inherit"))) { int nidx = 0; const char *iname; @@ -13125,7 +13156,7 @@ void status_read_job_db_sub(int idx, const char *name, struct config_setting_t * } else { avg_increment = 5; } - for ( ; i <= pc->max_level[idx][0]; i++) { + for ( ; i <= pc->dbs->class_exp_table[idx][CLASS_EXP_TABLE_BASE]->max_level; i++) { status->dbs->HP_table[idx][i] = min(base + avg_increment * i, battle_config.max_hp); } @@ -13140,7 +13171,7 @@ void status_read_job_db_sub(int idx, const char *name, struct config_setting_t * } else { avg_increment = 1; } - for ( ; i <= pc->max_level[idx][0]; i++) { + for ( ; i <= pc->dbs->class_exp_table[idx][CLASS_EXP_TABLE_BASE]->max_level; i++) { status->dbs->SP_table[idx][i] = min(base + avg_increment * i, battle_config.max_sp); } } @@ -13166,7 +13197,7 @@ void status_read_job_db_sub(int idx, const char *name, struct config_setting_t * } else { avg_increment = 5; } - for ( ; i <= pc->max_level[idx][0]; i++) { + for ( ; i <= pc->dbs->class_exp_table[idx][CLASS_EXP_TABLE_BASE]->max_level; i++) { status->dbs->HP_table[idx][i] = min(base + avg_increment * i, battle_config.max_hp); } } @@ -13192,7 +13223,7 @@ void status_read_job_db_sub(int idx, const char *name, struct config_setting_t * } else { avg_increment = 1; } - for ( ; i <= pc->max_level[idx][0]; i++) { + for ( ; i <= pc->dbs->class_exp_table[idx][CLASS_EXP_TABLE_BASE]->max_level; i++) { status->dbs->SP_table[idx][i] = min(base + avg_increment * i, battle_config.max_sp); } } @@ -13234,7 +13265,7 @@ void status_read_job_db_sub(int idx, const char *name, struct config_setting_t * } else { avg_increment = 5; } - for (++level; level <= pc->max_level[idx][0]; ++level) { /* limit only to possible maximum level of the given class */ + for (++level; level <= pc->dbs->class_exp_table[idx][CLASS_EXP_TABLE_BASE]->max_level; ++level) { /* limit only to possible maximum level of the given class */ status->dbs->HP_table[idx][level] = min(base + avg_increment * level, battle_config.max_hp); /* some are still empty? then let's use the average increase */ } } @@ -13254,7 +13285,7 @@ void status_read_job_db_sub(int idx, const char *name, struct config_setting_t * } else { avg_increment = 1; } - for (++level; level <= pc->max_level[idx][0]; level++ ) { + for (++level; level <= pc->dbs->class_exp_table[idx][CLASS_EXP_TABLE_BASE]->max_level; level++) { status->dbs->SP_table[idx][level] = min(base + avg_increment * level, battle_config.max_sp); } } @@ -13281,7 +13312,7 @@ void status_read_job_db(void) /* [malufett/Hercules] */ if (!libconfig->load_file(&job_db_conf, config_filename)) return; - while ( (jdb = libconfig->setting_get_elem(job_db_conf.root, i++)) ) { + while ((jdb = libconfig->setting_get_elem(job_db_conf.root, i++))) { int class, idx; const char *name = config_setting_name(jdb); @@ -13293,6 +13324,7 @@ void status_read_job_db(void) /* [malufett/Hercules] */ idx = pc->class2idx(class); status->read_job_db_sub(idx, name, jdb); } + ShowStatus("Done reading '"CL_WHITE"%d"CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"'.\n", i, config_filename); libconfig->destroy(&job_db_conf); } @@ -13555,6 +13587,8 @@ int status_readdb(void) sv->readdb(map->db_path, "sc_config.txt", ',', 2, 2, SC_MAX, status->readdb_scconfig); status->read_job_db(); + pc->validate_levels(); + return 0; } diff --git a/src/plugins/HPMHooking/HPMHooking.Defs.inc b/src/plugins/HPMHooking/HPMHooking.Defs.inc index 82d2c5563..1884507b2 100644 --- a/src/plugins/HPMHooking/HPMHooking.Defs.inc +++ b/src/plugins/HPMHooking/HPMHooking.Defs.inc @@ -5838,6 +5838,12 @@ typedef int (*HPMHOOK_pre_pc_set_hate_mob) (struct map_session_data **sd, int *p typedef int (*HPMHOOK_post_pc_set_hate_mob) (int retVal___, struct map_session_data *sd, int pos, struct block_list *bl); typedef int (*HPMHOOK_pre_pc_readdb) (void); typedef int (*HPMHOOK_post_pc_readdb) (int retVal___); +typedef bool (*HPMHOOK_pre_pc_read_exp_db) (void); +typedef bool (*HPMHOOK_post_pc_read_exp_db) (bool retVal___); +typedef int (*HPMHOOK_pre_pc_read_exp_db_sub) (struct config_setting_t **conf, bool *base); +typedef int (*HPMHOOK_post_pc_read_exp_db_sub) (int retVal___, struct config_setting_t *conf, bool base); +typedef bool (*HPMHOOK_pre_pc_read_exp_db_sub_class) (struct config_setting_t **t, bool *base); +typedef bool (*HPMHOOK_post_pc_read_exp_db_sub_class) (bool retVal___, struct config_setting_t *t, bool base); typedef int (*HPMHOOK_pre_pc_map_day_timer) (int *tid, int64 *tick, int *id, intptr_t *data); typedef int (*HPMHOOK_post_pc_map_day_timer) (int retVal___, int tid, int64 tick, int id, intptr_t data); typedef int (*HPMHOOK_pre_pc_map_night_timer) (int *tid, int64 *tick, int *id, intptr_t *data); @@ -5950,6 +5956,12 @@ typedef void (*HPMHOOK_pre_pc_validate_levels) (void); typedef void (*HPMHOOK_post_pc_validate_levels) (void); typedef void (*HPMHOOK_pre_pc_update_job_and_level) (struct map_session_data **sd); typedef void (*HPMHOOK_post_pc_update_job_and_level) (struct map_session_data *sd); +typedef void (*HPMHOOK_pre_pc_clear_exp_groups) (void); +typedef void (*HPMHOOK_post_pc_clear_exp_groups) (void); +typedef void (*HPMHOOK_pre_pc_init_exp_groups) (void); +typedef void (*HPMHOOK_post_pc_init_exp_groups) (void); +typedef bool (*HPMHOOK_pre_pc_job_is_dummy) (int *job); +typedef bool (*HPMHOOK_post_pc_job_is_dummy) (bool retVal___, int job); typedef void (*HPMHOOK_pre_pc_autotrade_load) (void); typedef void (*HPMHOOK_post_pc_autotrade_load) (void); typedef void (*HPMHOOK_pre_pc_autotrade_update) (struct map_session_data **sd, enum e_pc_autotrade_update_action *action); diff --git a/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc b/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc index 747ec357e..5c8fc9d68 100644 --- a/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc +++ b/src/plugins/HPMHooking/HPMHooking_map.HPMHooksCore.inc @@ -4494,6 +4494,12 @@ struct { struct HPMHookPoint *HP_pc_set_hate_mob_post; struct HPMHookPoint *HP_pc_readdb_pre; struct HPMHookPoint *HP_pc_readdb_post; + struct HPMHookPoint *HP_pc_read_exp_db_pre; + struct HPMHookPoint *HP_pc_read_exp_db_post; + struct HPMHookPoint *HP_pc_read_exp_db_sub_pre; + struct HPMHookPoint *HP_pc_read_exp_db_sub_post; + struct HPMHookPoint *HP_pc_read_exp_db_sub_class_pre; + struct HPMHookPoint *HP_pc_read_exp_db_sub_class_post; struct HPMHookPoint *HP_pc_map_day_timer_pre; struct HPMHookPoint *HP_pc_map_day_timer_post; struct HPMHookPoint *HP_pc_map_night_timer_pre; @@ -4606,6 +4612,12 @@ struct { struct HPMHookPoint *HP_pc_validate_levels_post; struct HPMHookPoint *HP_pc_update_job_and_level_pre; struct HPMHookPoint *HP_pc_update_job_and_level_post; + struct HPMHookPoint *HP_pc_clear_exp_groups_pre; + struct HPMHookPoint *HP_pc_clear_exp_groups_post; + struct HPMHookPoint *HP_pc_init_exp_groups_pre; + struct HPMHookPoint *HP_pc_init_exp_groups_post; + struct HPMHookPoint *HP_pc_job_is_dummy_pre; + struct HPMHookPoint *HP_pc_job_is_dummy_post; struct HPMHookPoint *HP_pc_autotrade_load_pre; struct HPMHookPoint *HP_pc_autotrade_load_post; struct HPMHookPoint *HP_pc_autotrade_update_pre; @@ -10839,6 +10851,12 @@ struct { int HP_pc_set_hate_mob_post; int HP_pc_readdb_pre; int HP_pc_readdb_post; + int HP_pc_read_exp_db_pre; + int HP_pc_read_exp_db_post; + int HP_pc_read_exp_db_sub_pre; + int HP_pc_read_exp_db_sub_post; + int HP_pc_read_exp_db_sub_class_pre; + int HP_pc_read_exp_db_sub_class_post; int HP_pc_map_day_timer_pre; int HP_pc_map_day_timer_post; int HP_pc_map_night_timer_pre; @@ -10951,6 +10969,12 @@ struct { int HP_pc_validate_levels_post; int HP_pc_update_job_and_level_pre; int HP_pc_update_job_and_level_post; + int HP_pc_clear_exp_groups_pre; + int HP_pc_clear_exp_groups_post; + int HP_pc_init_exp_groups_pre; + int HP_pc_init_exp_groups_post; + int HP_pc_job_is_dummy_pre; + int HP_pc_job_is_dummy_post; int HP_pc_autotrade_load_pre; int HP_pc_autotrade_load_post; int HP_pc_autotrade_update_pre; diff --git a/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc b/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc index 06c1b2c88..64f9a39e0 100644 --- a/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc +++ b/src/plugins/HPMHooking/HPMHooking_map.HookingPoints.inc @@ -2303,6 +2303,9 @@ struct HookingPointData HookingPoints[] = { { HP_POP(pc->famelist_type, HP_pc_famelist_type) }, { HP_POP(pc->set_hate_mob, HP_pc_set_hate_mob) }, { HP_POP(pc->readdb, HP_pc_readdb) }, + { HP_POP(pc->read_exp_db, HP_pc_read_exp_db) }, + { HP_POP(pc->read_exp_db_sub, HP_pc_read_exp_db_sub) }, + { HP_POP(pc->read_exp_db_sub_class, HP_pc_read_exp_db_sub_class) }, { HP_POP(pc->map_day_timer, HP_pc_map_day_timer) }, { HP_POP(pc->map_night_timer, HP_pc_map_night_timer) }, { HP_POP(pc->inventory_rentals, HP_pc_inventory_rentals) }, @@ -2359,6 +2362,9 @@ struct HookingPointData HookingPoints[] = { { HP_POP(pc->db_checkid, HP_pc_db_checkid) }, { HP_POP(pc->validate_levels, HP_pc_validate_levels) }, { HP_POP(pc->update_job_and_level, HP_pc_update_job_and_level) }, + { HP_POP(pc->clear_exp_groups, HP_pc_clear_exp_groups) }, + { HP_POP(pc->init_exp_groups, HP_pc_init_exp_groups) }, + { HP_POP(pc->job_is_dummy, HP_pc_job_is_dummy) }, { HP_POP(pc->autotrade_load, HP_pc_autotrade_load) }, { HP_POP(pc->autotrade_update, HP_pc_autotrade_update) }, { HP_POP(pc->autotrade_start, HP_pc_autotrade_start) }, diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc index cdb1df7f2..e39dc4c2c 100644 --- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc @@ -59824,6 +59824,87 @@ int HP_pc_readdb(void) { } return retVal___; } +bool HP_pc_read_exp_db(void) { + int hIndex = 0; + bool retVal___ = false; + if (HPMHooks.count.HP_pc_read_exp_db_pre > 0) { + bool (*preHookFunc) (void); + *HPMforce_return = false; + for (hIndex = 0; hIndex < HPMHooks.count.HP_pc_read_exp_db_pre; hIndex++) { + preHookFunc = HPMHooks.list.HP_pc_read_exp_db_pre[hIndex].func; + retVal___ = preHookFunc(); + } + if (*HPMforce_return) { + *HPMforce_return = false; + return retVal___; + } + } + { + retVal___ = HPMHooks.source.pc.read_exp_db(); + } + if (HPMHooks.count.HP_pc_read_exp_db_post > 0) { + bool (*postHookFunc) (bool retVal___); + for (hIndex = 0; hIndex < HPMHooks.count.HP_pc_read_exp_db_post; hIndex++) { + postHookFunc = HPMHooks.list.HP_pc_read_exp_db_post[hIndex].func; + retVal___ = postHookFunc(retVal___); + } + } + return retVal___; +} +int HP_pc_read_exp_db_sub(struct config_setting_t *conf, bool base) { + int hIndex = 0; + int retVal___ = 0; + if (HPMHooks.count.HP_pc_read_exp_db_sub_pre > 0) { + int (*preHookFunc) (struct config_setting_t **conf, bool *base); + *HPMforce_return = false; + for (hIndex = 0; hIndex < HPMHooks.count.HP_pc_read_exp_db_sub_pre; hIndex++) { + preHookFunc = HPMHooks.list.HP_pc_read_exp_db_sub_pre[hIndex].func; + retVal___ = preHookFunc(&conf, &base); + } + if (*HPMforce_return) { + *HPMforce_return = false; + return retVal___; + } + } + { + retVal___ = HPMHooks.source.pc.read_exp_db_sub(conf, base); + } + if (HPMHooks.count.HP_pc_read_exp_db_sub_post > 0) { + int (*postHookFunc) (int retVal___, struct config_setting_t *conf, bool base); + for (hIndex = 0; hIndex < HPMHooks.count.HP_pc_read_exp_db_sub_post; hIndex++) { + postHookFunc = HPMHooks.list.HP_pc_read_exp_db_sub_post[hIndex].func; + retVal___ = postHookFunc(retVal___, conf, base); + } + } + return retVal___; +} +bool HP_pc_read_exp_db_sub_class(struct config_setting_t *t, bool base) { + int hIndex = 0; + bool retVal___ = false; + if (HPMHooks.count.HP_pc_read_exp_db_sub_class_pre > 0) { + bool (*preHookFunc) (struct config_setting_t **t, bool *base); + *HPMforce_return = false; + for (hIndex = 0; hIndex < HPMHooks.count.HP_pc_read_exp_db_sub_class_pre; hIndex++) { + preHookFunc = HPMHooks.list.HP_pc_read_exp_db_sub_class_pre[hIndex].func; + retVal___ = preHookFunc(&t, &base); + } + if (*HPMforce_return) { + *HPMforce_return = false; + return retVal___; + } + } + { + retVal___ = HPMHooks.source.pc.read_exp_db_sub_class(t, base); + } + if (HPMHooks.count.HP_pc_read_exp_db_sub_class_post > 0) { + bool (*postHookFunc) (bool retVal___, struct config_setting_t *t, bool base); + for (hIndex = 0; hIndex < HPMHooks.count.HP_pc_read_exp_db_sub_class_post; hIndex++) { + postHookFunc = HPMHooks.list.HP_pc_read_exp_db_sub_class_post[hIndex].func; + retVal___ = postHookFunc(retVal___, t, base); + } + } + return retVal___; +} int HP_pc_map_day_timer(int tid, int64 tick, int id, intptr_t data) { int hIndex = 0; int retVal___ = 0; @@ -61341,6 +61422,85 @@ void HP_pc_update_job_and_level(struct map_session_data *sd) { } return; } +void HP_pc_clear_exp_groups(void) { + int hIndex = 0; + if (HPMHooks.count.HP_pc_clear_exp_groups_pre > 0) { + void (*preHookFunc) (void); + *HPMforce_return = false; + for (hIndex = 0; hIndex < HPMHooks.count.HP_pc_clear_exp_groups_pre; hIndex++) { + preHookFunc = HPMHooks.list.HP_pc_clear_exp_groups_pre[hIndex].func; + preHookFunc(); + } + if (*HPMforce_return) { + *HPMforce_return = false; + return; + } + } + { + HPMHooks.source.pc.clear_exp_groups(); + } + if (HPMHooks.count.HP_pc_clear_exp_groups_post > 0) { + void (*postHookFunc) (void); + for (hIndex = 0; hIndex < HPMHooks.count.HP_pc_clear_exp_groups_post; hIndex++) { + postHookFunc = HPMHooks.list.HP_pc_clear_exp_groups_post[hIndex].func; + postHookFunc(); + } + } + return; +} +void HP_pc_init_exp_groups(void) { + int hIndex = 0; + if (HPMHooks.count.HP_pc_init_exp_groups_pre > 0) { + void (*preHookFunc) (void); + *HPMforce_return = false; + for (hIndex = 0; hIndex < HPMHooks.count.HP_pc_init_exp_groups_pre; hIndex++) { + preHookFunc = HPMHooks.list.HP_pc_init_exp_groups_pre[hIndex].func; + preHookFunc(); + } + if (*HPMforce_return) { + *HPMforce_return = false; + return; + } + } + { + HPMHooks.source.pc.init_exp_groups(); + } + if (HPMHooks.count.HP_pc_init_exp_groups_post > 0) { + void (*postHookFunc) (void); + for (hIndex = 0; hIndex < HPMHooks.count.HP_pc_init_exp_groups_post; hIndex++) { + postHookFunc = HPMHooks.list.HP_pc_init_exp_groups_post[hIndex].func; + postHookFunc(); + } + } + return; +} +bool HP_pc_job_is_dummy(int job) { + int hIndex = 0; + bool retVal___ = false; + if (HPMHooks.count.HP_pc_job_is_dummy_pre > 0) { + bool (*preHookFunc) (int *job); + *HPMforce_return = false; + for (hIndex = 0; hIndex < HPMHooks.count.HP_pc_job_is_dummy_pre; hIndex++) { + preHookFunc = HPMHooks.list.HP_pc_job_is_dummy_pre[hIndex].func; + retVal___ = preHookFunc(&job); + } + if (*HPMforce_return) { + *HPMforce_return = false; + return retVal___; + } + } + { + retVal___ = HPMHooks.source.pc.job_is_dummy(job); + } + if (HPMHooks.count.HP_pc_job_is_dummy_post > 0) { + bool (*postHookFunc) (bool retVal___, int job); + for (hIndex = 0; hIndex < HPMHooks.count.HP_pc_job_is_dummy_post; hIndex++) { + postHookFunc = HPMHooks.list.HP_pc_job_is_dummy_post[hIndex].func; + retVal___ = postHookFunc(retVal___, job); + } + } + return retVal___; +} void HP_pc_autotrade_load(void) { int hIndex = 0; if (HPMHooks.count.HP_pc_autotrade_load_pre > 0) { |