diff options
author | xantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-08 07:26:33 +0000 |
---|---|---|
committer | xantara <xantara@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-06-08 07:26:33 +0000 |
commit | ac827daf1a15f1b7953776a1a8fb598fb1fd066e (patch) | |
tree | 27514d67609f6bfd28eaadb8ead2eeef1b27b0c7 /src/map/battle.c | |
parent | 40dcd5a42ff0b8afbb776be33440876bc891e1c9 (diff) | |
download | hercules-ac827daf1a15f1b7953776a1a8fb598fb1fd066e.tar.gz hercules-ac827daf1a15f1b7953776a1a8fb598fb1fd066e.tar.bz2 hercules-ac827daf1a15f1b7953776a1a8fb598fb1fd066e.tar.xz hercules-ac827daf1a15f1b7953776a1a8fb598fb1fd066e.zip |
` Added bugreport:5906 Trap Research's INT bonus
` Fixed bugreport:5950 RK's Crush Strike to include weapon weight in attack formula
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16240 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 16c744491..35860da0c 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2052,7 +2052,7 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo { short index = sd->equip_index[EQI_HAND_R]; if( index >= 0 && sd->inventory_data[index] && sd->inventory_data[index]->type == IT_WEAPON ) - skillratio = sstatus->rhw.atk + 100 * sd->inventory_data[index]->wlv * (sd->status.inventory[index].refine + 6); + skillratio = sd->inventory_data[index]->weight + sstatus->rhw.atk + 100 * sd->inventory_data[index]->wlv * (sd->status.inventory[index].refine + 6); } break; case RK_STORMBLAST: |