Jump to content
  • 0
Sign in to follow this  
Cannabis

Taekwon Mission +atk instead of +fame

Question

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 Cannabis

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

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;

Share this post


Link to post
Share on other sites
  • 0

 

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 by Cannabis

Share this post


Link to post
Share on other sites
  • 0

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);

Share this post


Link to post
Share on other sites
  • 0

 

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

Share this post


Link to post
Share on other sites
  • 0

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?

Share this post


Link to post
Share on other sites
  • 0

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 by Garr

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.