Cannabis 0 Posted March 2, 2015 (edited) how / where can i change the taekwon mission formula to +1 atk each points instead of +fame each points? and how to limit it to 10,000 points only and how to reset the current points on my server? Edited March 2, 2015 by Cannabis Quote Share this post Link to post Share on other sites
0 Cannabis 0 Posted March 3, 2015 bump i really need this kind of modification in my server Quote Share this post Link to post Share on other sites
0 slapdatpug 0 Posted March 4, 2015 status.c add after // ----- STATS CALCULATION ----- if((sd->class_&MAPID_UPPERMASK) == MAPID_TAEKWON && sd->status.base_level >= 90 && pc->famerank(sd->status.char_id, MAPID_TAEKWON))bstatus->batk += sd->status.fame; Quote Share this post Link to post Share on other sites
0 Cannabis 0 Posted March 4, 2015 (edited) status.c add after // ----- STATS CALCULATION ----- if((sd->class_&MAPID_UPPERMASK) == MAPID_TAEKWON && sd->status.base_level >= 90 && pc->famerank(sd->status.char_id, MAPID_TAEKWON))bstatus->batk += sd->status.fame; thanks for this bro... it really helps... and yes how to make it +2atk and +20 HP per taekwon mission? and by the way... is it really needs to logout? before i can see the +atk when the mission is done... because i need to logout first for the +atk to take effect Edited March 4, 2015 by Cannabis Quote Share this post Link to post Share on other sites
0 slapdatpug 0 Posted March 5, 2015 use this for 2atk bstatus->batk += (sd->status.fame * 2); no need for log out just remove or add a shield. +20hp find val *= 3; //Triple max HP for top ranking Taekwons over level 90. add or replace after with this val += (sd->status.fame *20); Quote Share this post Link to post Share on other sites
0 Cannabis 0 Posted March 5, 2015 use this for 2atk bstatus->batk += (sd->status.fame * 2); no need for log out just remove or add a shield. +20hp find val *= 3; //Triple max HP for top ranking Taekwons over level 90. add or replace after with this val += (sd->status.fame *20); when i finish the mission i can't see the +atk on my status (alt+q) i need to logout first before it shows Quote Share this post Link to post Share on other sites
0 slapdatpug 0 Posted March 5, 2015 you dont need to log out. just change equip Quote Share this post Link to post Share on other sites
0 Cannabis 0 Posted March 5, 2015 you dont need to log out. just change equip got it now... one last thing brother... do you know how to reset the taekwon ranking in /taekwon? Quote Share this post Link to post Share on other sites
0 Garr 117 Posted March 5, 2015 (edited) Server builds the ranking based on fame it gets from SQL at the start of server, so you'll have to run following queries while server is offline: UPDATE `char` SET `fame` = 0 WHERE `fame` > 0 AND `class` = 4046; This will set fame for every taekwon character to 0 DELETE FROM `char_reg_num_db` WHERE `key` = "TK_MISSION_ID" OR `key` = "TK_MISSION_COUNT"; This will remove any current missions from TKs. Edited March 5, 2015 by Garr Quote Share this post Link to post Share on other sites
how / where can i change the taekwon mission formula to +1 atk each points instead of +fame each points?
and how to limit it to 10,000 points only and how to reset the current points on my server?
Edited by CannabisShare this post
Link to post
Share on other sites