diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-15 03:51:59 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-15 03:51:59 +0000 |
commit | 5a6c73fcc0948c1b570b5df99b191514d06337dd (patch) | |
tree | 8c545cf9b0134ead22a19e29ed65042d799b7b78 /src/map/battle.c | |
parent | 83e2e93b0fc640dfc733dd67f55bbb9cae3178cf (diff) | |
download | hercules-5a6c73fcc0948c1b570b5df99b191514d06337dd.tar.gz hercules-5a6c73fcc0948c1b570b5df99b191514d06337dd.tar.bz2 hercules-5a6c73fcc0948c1b570b5df99b191514d06337dd.tar.xz hercules-5a6c73fcc0948c1b570b5df99b191514d06337dd.zip |
- Some cleaning of the slave moving code.
- Fixed the icon for Provoke not showing.
- Fixed skill_timerskills (type was not being stored, water-ball at least got broken, doing only 1 hit always)
- pc_setinventorydata won't try to set data for positions with no item.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5283 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 a5b711bab..244cbe960 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3098,7 +3098,7 @@ int battle_weapon_attack( struct block_list *src,struct block_list *target, int boss = status_get_mode(target)&MD_BOSS;
int rate = 0;
if (sd->weapon_coma_ele[ele] > 0)
- rate+=sd->weapon_coma_ele[ele];
+ rate += sd->weapon_coma_ele[ele];
if (sd->weapon_coma_race[race] > 0)
rate += sd->weapon_coma_race[race];
if (sd->weapon_coma_race[boss?10:11] > 0)
|