summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-30 23:24:27 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-30 23:24:27 +0000
commit7403b1ec8ecf4ca40c5d8812330ec0ea9114b4c3 (patch)
tree216bcd825a9e2ca593f3484300db2b12a5898ec5 /src/map/battle.c
parentda731af6a227b559fd128010f1f9b4da8e3f3c0c (diff)
downloadhercules-7403b1ec8ecf4ca40c5d8812330ec0ea9114b4c3.tar.gz
hercules-7403b1ec8ecf4ca40c5d8812330ec0ea9114b4c3.tar.bz2
hercules-7403b1ec8ecf4ca40c5d8812330ec0ea9114b4c3.tar.xz
hercules-7403b1ec8ecf4ca40c5d8812330ec0ea9114b4c3.zip
- Corrected damage of non-player casted Cart Revolution
- Removed enumeration item_group_list and replaced it by two defines, which is what the code really needs. Bumped the max number of item groups to 40. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10100 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-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 715358142..596cdc55d 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1378,7 +1378,7 @@ static struct Damage battle_calc_weapon_attack(
if(sd && sd->cart_weight)
skillratio += 100*sd->cart_weight/battle_config.max_cart_weight; // +1% every 1% weight
else if (!sd)
- skillratio += 150; //Max damage for non players.
+ skillratio += 100; //Max damage for non players.
break;
case NPC_RANDOMATTACK:
skillratio += rand()%150-50;