From ffcda2f3b7f7675dfe22ffccddbb3411f40ae514 Mon Sep 17 00:00:00 2001 From: DracoRPG Date: Fri, 26 May 2006 01:35:17 +0000 Subject: I'm still here! Rewrote fame ranking lists git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6764 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index 20bd840a7..b8b38b5d9 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -919,7 +919,7 @@ int status_calc_pc(struct map_session_data* sd,int first) { // Forged weapon wd->star += (sd->status.inventory[index].card[1]>>8); if(wd->star >= 15) wd->star = 40; // 3 Star Crumbs now give +40 dmg - if(pc_istop10fame( MakeDWord(sd->status.inventory[index].card[2],sd->status.inventory[index].card[3]) ,MAPID_BLACKSMITH)) + if(pc_famerank( MakeDWord(sd->status.inventory[index].card[2],sd->status.inventory[index].card[3]) ,MAPID_BLACKSMITH)) wd->star += 10; if (!wd->atk_ele) //Do not overwrite element from previous bonuses. @@ -1420,7 +1420,7 @@ int status_calc_pc(struct map_session_data* sd,int first) index += index * 30/100; else if (sd->class_&JOBL_BABY) index -= index * 30/100; - if ((sd->class_&MAPID_UPPERMASK) == MAPID_TAEKWON && sd->status.base_level >= 90 && pc_istop10fame(sd->char_id, MAPID_TAEKWON)) + if ((sd->class_&MAPID_UPPERMASK) == MAPID_TAEKWON && sd->status.base_level >= 90 && pc_famerank(sd->char_id, MAPID_TAEKWON)) index *= 3; //Triple max HP for top ranking Taekwons over level 90. sd->status.max_hp += index; @@ -1482,7 +1482,7 @@ int status_calc_pc(struct map_session_data* sd,int first) index += index * 30/100; else if (sd->class_&JOBL_BABY) index -= index * 30/100; - if ((sd->class_&MAPID_UPPERMASK) == MAPID_TAEKWON && sd->status.base_level >= 90 && pc_istop10fame(sd->char_id, MAPID_TAEKWON)) + if ((sd->class_&MAPID_UPPERMASK) == MAPID_TAEKWON && sd->status.base_level >= 90 && pc_famerank(sd->char_id, MAPID_TAEKWON)) index *= 3; //Triple max SP for top ranking Taekwons over level 90. sd->status.max_sp += index; -- cgit v1.2.3-70-g09d2