Katazui Posted July 27, 2013 Posted July 27, 2013 How do you set the MATK a limit like at 65k? And how do you set other things limits too? Quote
Katazui Posted July 30, 2013 Author Posted July 30, 2013 You know, probably all my posts and topics asking for help doesn't get the help it needs. So, my post cost really should be like 20. Fuck this. Quote
Deimler Posted August 2, 2013 Posted August 2, 2013 With that attitude you'll definitely get some replies. Try searching, google, reading some guides. Quote
Evelynn Posted August 2, 2013 Posted August 2, 2013 (edited) I am not sure if I am correct but it's worth a shot... src/map/status#L3987 if (bl->type&BL_PC && sd->matk_rate != 100) { status->matk_max = status->matk_max * sd->matk_rate/100; status->matk_min = status->matk_min * sd->matk_rate/100; } status->matk_max = status_calc_matk(bl, sc, status->matk_max); if ((bl->type&BL_HOM && battle_config.hom_setting&0x20) //Hom Min Matk is always the same as Max Matk || (sc && sc->data[SC_RECOGNIZEDSPELL])) status->matk_min = status->matk_max; else status->matk_min = status_calc_matk(bl, sc, status->matk_min); Perhaps you can add a conditional statement there to check if matk exceeds n value it'll equal to fixed x amount. The area I stated may be wrong area btw, just a heads up. For other limits, I'd guess you'd have to search for each individual one inside the source. ---------------------------------------------- I tested with if (bl->type&BL_PC && sd->matk_rate != 100) { if ( status->matk_min >= 20000 && status->matk_max >= 20000 ){ status->matk_min = 20000; status->matk_max = 20000; } else { status->matk_max = status->matk_max * sd->matk_rate/100; status->matk_min = status->matk_min * sd->matk_rate/100; } } Sadly, it didn't work. I am not sure if it is the correct area or not or if im not reading the code correct, but I tried X:. There may another area that I don't know about... Oh well. Edited August 2, 2013 by Evelynn Quote
elnyku Posted August 12, 2013 Posted August 12, 2013 @evelyn i have like 3 years trying to solve this , on eathena, 3ceam and rathena. that code only modify the matk rate :S but not the max value, i still trying to see if someone can help me with this. a few days ago i found a guide on rathena. but the src code is not the same. its a very very old code. http://www.eathena.ws/board/lofiversion/index.php/t250152.html Quote
Question
Katazui
How do you set the MATK a limit like at 65k?
And how do you set other things limits too?
4 answers 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.