robby22 Posted September 15, 2018 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 02/28/18 Last Seen: February 15, 2020 Share Posted September 15, 2018 Hi at the moment I'd like to know how to calculate the highest possible amount of stats a Homunculus can get at level 50 and 99 (in every attribute). I think this is the script but I don't understand code that well. https://github.com/flaviojs/rathena-commits/blob/b3b4c0943efd233107dbfd8527128c4f78745298/src/map/homunculus.c#L357 Quote Link to comment Share on other sites More sharing options...
1 Balfear Posted September 15, 2018 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 256 Reputation: 245 Joined: 07/24/13 Last Seen: March 24 Share Posted September 15, 2018 (edited) 38 minutes ago, robby22 said: Hi at the moment I'd like to know how to calculate the highest possible amount of stats a Homunculus can get at level 50 and 99 (in every attribute). I think this is the script but I don't understand code that well. https://github.com/flaviojs/rathena-commits/blob/b3b4c0943efd233107dbfd8527128c4f78745298/src/map/homunculus.c#L357 You can find it in db/(pre or re)/homunculus_db.txt // Structure of Database: // Class,EvoClass,Name,FoodID,HungryDelay,BaseSize,EvoSize,Race,Element,bASPD,bHP,bSP,bSTR,bAGI,bVIT,bINT,bDEX,bLUK,gnHP,gxHP,gnSP,gxSP,gnSTR,gxSTR,gnAGI,gxAGI,gnVIT,gxVIT,gnINT,gxINT,gnDEX,gxDEX,gnLUK,gxLUK,enHP,exHP,enSP,exSP,enSTR,exSTR,enAGI,exAGI,enVIT,exVIT,enINT,exINT,enDEX,exDEX,enLUK,exLUK // Legend: b: base, gn: growth min, gx: growth max, en: evolution min, ex: evolution max // NOTE: Only the growth values are in a 1/10 scale, the other stats are 1/1 (eg: 5 gmAGI means 0.5 agi) Where gn = min.bonus and gx = max.bonus gnHP,gxHP,gnSP,gxSP,gnSTR,gxSTR,gnAGI,gxAGI,gnVIT,gxVIT,gnINT,gxINT,gnDEX,gxDEX,gnLUK,gxLUK When homuncul take a new level, server calculate random stat.bonus: growth_max_hp = rnd_value(min->HP, max->HP); growth_max_sp = rnd_value(min->SP, max->SP); growth_str = rnd_value(min->str, max->str); growth_agi = rnd_value(min->agi, max->agi); growth_vit = rnd_value(min->vit, max->vit); growth_dex = rnd_value(min->dex, max->dex); growth_int = rnd_value(min->int_,max->int_); growth_luk = rnd_value(min->luk, max->luk); exemple for 1>2 lvl: 6001,6009,Lif,537,60000,0,1,7,0,700,150 base homuncul HP at 1 lvl,40,17,20,15,35,24,12,60,100,4,9,5,19,5,19,5,19,4,20,6,20,6,20,800,2400,220,480,10,30,10,30,20,40,30,50,20,50,10,30current HP + rand(min.bonus ~ max.bonus) 150 + rand (60 ~ 100) Edited September 15, 2018 by Balfear 1 Quote Link to comment Share on other sites More sharing options...
Question
robby22
Hi at the moment I'd like to know how to calculate the highest possible amount of stats a Homunculus can get at level 50 and 99 (in every attribute).
I think this is the script but I don't understand code that well.
https://github.com/flaviojs/rathena-commits/blob/b3b4c0943efd233107dbfd8527128c4f78745298/src/map/homunculus.c#L357
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.