summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-10-08 18:46:57 -0300
committershennetsind <ind@henn.et>2013-10-08 18:46:57 -0300
commit540c7071234d44875bf397fb80d2f18c4f4db1bf (patch)
tree35b1eda4ae8166ee542e42ee72c8534c5cc41ff0 /src/map
parent77c4315d08461368cd1cca2630f18cd29d590707 (diff)
downloadhercules-540c7071234d44875bf397fb80d2f18c4f4db1bf.tar.gz
hercules-540c7071234d44875bf397fb80d2f18c4f4db1bf.tar.bz2
hercules-540c7071234d44875bf397fb80d2f18c4f4db1bf.tar.xz
hercules-540c7071234d44875bf397fb80d2f18c4f4db1bf.zip
Follow up 547b01da35d290b633efaefbbc3af2755d2811e7
Thanks to Haruna, ossi0110 Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index b4cdf3cb0..928d14c22 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -4448,7 +4448,7 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list
wd.damage = sd->inventory_data[index]->weight*8/100; //80% of weight
ATK_ADDRATE(50*skill_lv); //Skill modifier applies to weight only.
} else {
- wd.damage = battle->calc_base_damage2(sstatus, &sstatus->rhw, sc, tstatus->size, sd, i); //Monsters have no weight and use ATK instead
+ wd.damage = battle->calc_base_damage2(sstatus, &sstatus->rhw, sc, tstatus->size, sd, 0); //Monsters have no weight and use ATK instead
}
i = sstatus->str/10;
i*=i;