diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-29 09:01:36 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-29 09:01:36 +0000 |
commit | 0fa0cec38f5739d11dff696ca74f1486884061e2 (patch) | |
tree | 07ca894720e023ff64baf03d06f6f89b638c138f /src/map/status.c | |
parent | 93c52deb53c4a163e69aeed5fb2af4dba66842c2 (diff) | |
download | hercules-0fa0cec38f5739d11dff696ca74f1486884061e2.tar.gz hercules-0fa0cec38f5739d11dff696ca74f1486884061e2.tar.bz2 hercules-0fa0cec38f5739d11dff696ca74f1486884061e2.tar.xz hercules-0fa0cec38f5739d11dff696ca74f1486884061e2.zip |
- Some small bug fixes discovered while merging.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7961 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/map/status.c b/src/map/status.c index 91141855a..ada20d59e 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1439,7 +1439,7 @@ int status_calc_pc(struct map_session_data* sd,int first) struct status_data b_status, *status; struct weapon_atk b_lhw; struct skill b_skill[MAX_SKILL]; - + int b_weight,b_max_weight; int i,index; int skill,refinedef=0; @@ -1538,7 +1538,8 @@ int status_calc_pc(struct map_session_data* sd,int first) if (sd->class_&JOBL_BABY) { if (battle_config.character_size&2) status->size++; - } if(battle_config.character_size&1) + } else + if(battle_config.character_size&1) status->size++; } status->aspd_rate = 1000; @@ -1677,7 +1678,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_famerank( 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 (!wa->ele) //Do not overwrite element from previous bonuses. @@ -1694,7 +1695,7 @@ int status_calc_pc(struct map_session_data* sd,int first) } } - if(sd->equip_index[EQI_AMMO] >= 0){ // –î + if(sd->equip_index[EQI_AMMO] >= 0){ index = sd->equip_index[EQI_AMMO]; if(sd->inventory_data[index]){ // Arrows sd->state.lr_flag = 2; |