HerculesWS / Hercules

Hercules is a collaborative software development project revolving around the creation of a robust massively multiplayer online role playing game (MMORPG) server package. Written in C, the program is very versatile and provides NPCs, warps and modifications. The project is jointly managed by a group of volunteers located around the world as well as a tremendous community providing QA and support. Hercules is a continuation of the original Athena project.
http://herc.ws
GNU General Public License v3.0
901 stars 759 forks source link

HP/SP Table #902

Open dastgirp opened 8 years ago

dastgirp commented 8 years ago
Mvhohenheim commented 8 years ago

HP/SP table do we mean the job_db.conf??

yeah,,

most of the 3rd jobs(not the trans/ havent tried out the trans ones yet)

if you @job 4054 (rune knight) for example,, and you're level 1,, your HP is only level 1,,

I also tried to copy the HP table from a knight,, and paste it for the RK,, but it did not work,,

MishimaHaruna commented 8 years ago

1 and 2: yes o.o 3: It seems intended to be like that. It takes the first entry (array index 0, which contains the value for level 1) of the .conf file and puts it at the [1] index of the array (to be later called as status->dbs->HP_table[x][level])

The entire thing needs a rewrite...

Emistry commented 8 years ago

btw i think the auto calculation for average HP/SP rate doesnt work.

Example: by default Rebellion 150 max level. if increased to 160 without adjust the HP/SP table. the HP/SP of the said Rebellion after 150 level will be extremely low.

Mvhohenheim commented 8 years ago

uhm,, is there a way to like have the server just read the HP/SP table under the job_db.txt?? instead of calculating it?? like if manually put these under Rune Knight:

HPTable:[  40,    48,    58,    69,    82,    96,   112,   129,   148,   168,   // 1 - 10
           190,   213,   238,   264,   292,   321,   352,   384,   418,   453,  // 11 - 20
           490,   528,   568,   609,   652,   696,   742,   789,   838,   888,  // 21 - 30
           940,   993,  1048,  1104,  1162,  1221,  1282,  1344,  1408,  1473,  // 31 - 40
          1540,  1608,  1678,  1749,  1822,  1896,  1972,  2049,  2128,  2208,  // 41 - 50
          2290,  2373,  2458,  2544,  2632,  2721,  2812,  2904,  2998,  3093,  // 51 - 60
          3190,  3288,  3388,  3489,  3592,  3696,  3802,  3909,  4018,  4128,  // 61 - 70
          4240,  4353,  4468,  4584,  4702,  4821,  4942,  5064,  5188,  5313,  // 71 - 80
          5440,  5568,  5698,  5829,  5962,  6096,  6232,  6369,  6508,  6648,  // 81 - 90
          6790,  6933,  7078,  7224,  7372,  7521,  7672,  7824,  8100,  8133,  // 91 - 

it would just read it ??