Taekwon Mission +atk instead of +fame

Cannabis

New member
Messages
28
Points
0
Github
Macupak
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?

 
Last edited by a moderator:
status.c

add after // ----- STATS CALCULATION -----

Code:
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;
 
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

 
Last edited by a moderator:
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

Code:
val += (sd->status.fame *20);
 
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

 
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.

 
Last edited by a moderator:
Back
Top