diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-29 20:11:12 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-11-29 20:11:12 +0000 |
commit | c2e9dc776639a58be9c073e4deeabb231d326297 (patch) | |
tree | c064989352a43f9ec0dab5e5c2932d580a919d7c /src/map/battle.c | |
parent | 04190264ba7007c84a69b21ac65b3779841cc04b (diff) | |
download | hercules-c2e9dc776639a58be9c073e4deeabb231d326297.tar.gz hercules-c2e9dc776639a58be9c073e4deeabb231d326297.tar.bz2 hercules-c2e9dc776639a58be9c073e4deeabb231d326297.tar.xz hercules-c2e9dc776639a58be9c073e4deeabb231d326297.zip |
- Added overflow protection to @main whisper parsing.
- Fixed a bug in slaves_inherit_speed
- Miscellanous silly cleanups (format, unnecessary assignments, comments, etc)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9367 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index efe9e161e..dea2f9056 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -1600,6 +1600,7 @@ static struct Damage battle_calc_weapon_attack( break; case HFLI_SBR44: //[orn] skillratio += 100 *(skill_lv-1); + break; } ATK_RATE(skillratio); @@ -3226,7 +3227,7 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f return 0; } break; - //Valid targets with nothing else specified. + //Valid targets with no special checks here. case BL_HOM: break; //All else not specified is an invalid target. |