summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-13 15:19:15 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-13 15:19:15 +0000
commit747ed75edefe7c74f3f0d848db5685158b94480b (patch)
tree69a7a98c66cb2e858655271f38d8e890e01bb835 /src
parentae767a27120e38599f9e8efc4ada221e9840b6cb (diff)
downloadhercules-747ed75edefe7c74f3f0d848db5685158b94480b.tar.gz
hercules-747ed75edefe7c74f3f0d848db5685158b94480b.tar.bz2
hercules-747ed75edefe7c74f3f0d848db5685158b94480b.tar.xz
hercules-747ed75edefe7c74f3f0d848db5685158b94480b.zip
- Reverted temporarily the Cart Termination equation until it can be fixed...
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7655 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/battle.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index dacfbe015..cee888fe0 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1426,7 +1426,9 @@ static struct Damage battle_calc_weapon_attack(
if (i < 1) i = 1;
//Preserve damage ratio when max cart weight is changed.
if(sd && sd->cart_weight && sd->cart_max_weight)
- skillratio += (sd->cart_weight * 80000) / (i * sd->cart_max_weight) - 100;
+// FIXME: Something is wrong with this check! But what...? [Skotlex]
+// skillratio += (sd->cart_weight * 80000) / (i * sd->cart_max_weight) - 100;
+ skillratio += sd->cart_weight/i - 100;
else if (!sd)
skillratio += 80000 / i - 100;
flag.cardfix = 0;