diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-11 11:16:48 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-11 11:16:48 +0000 |
commit | d53677e22770a08278a681d9e4805d2a6ba36e98 (patch) | |
tree | 7ccded4d3293fe63ac74e7299c5c05e3738b3db5 /src/map | |
parent | 4e0e965693d27f8c7a5e7c0c7ebda55ff217ec5b (diff) | |
download | hercules-d53677e22770a08278a681d9e4805d2a6ba36e98.tar.gz hercules-d53677e22770a08278a681d9e4805d2a6ba36e98.tar.bz2 hercules-d53677e22770a08278a681d9e4805d2a6ba36e98.tar.xz hercules-d53677e22770a08278a681d9e4805d2a6ba36e98.zip |
- hom_setting&0x2 now disables skill range checks for homunculus. For the love of everything that is sinful, please unset this on your server.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11717 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/battle.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 0973ff68d..1d1b5437d 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3299,6 +3299,9 @@ int battle_check_range(struct block_list *src,struct block_list *bl,int range) if(src->m != bl->m) // 違うマップ return 0; + if(src->type == BL_HOM && battle_config.hom_setting&0x2) + return 1; //WTF, way to go Aegis and your awesome bugs. + if (!check_distance_bl(src, bl, range)) return 0; |