Katazui Posted July 27, 2013 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 167 Reputation: 23 Joined: 11/23/11 Last Seen: May 25, 2023 Share 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 Link to comment Share on other sites More sharing options...
Katazui Posted July 30, 2013 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 167 Reputation: 23 Joined: 11/23/11 Last Seen: May 25, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
Deimler Posted August 2, 2013 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 58 Reputation: 0 Joined: 09/23/12 Last Seen: November 18, 2016 Share Posted August 2, 2013 With that attitude you'll definitely get some replies. Try searching, google, reading some guides. Quote Link to comment Share on other sites More sharing options...
Evelynn Posted August 2, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 93 Reputation: 14 Joined: 12/12/11 Last Seen: October 25, 2015 Share 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 Link to comment Share on other sites More sharing options...
elnyku Posted August 12, 2013 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 26 Reputation: 0 Joined: 08/01/12 Last Seen: January 23, 2017 Share 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 Link to comment Share on other sites More sharing options...
Question
Katazui
How do you set the MATK a limit like at 65k?
And how do you set other things limits too?
Link to comment
Share on other sites
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.