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 | |
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
-rw-r--r-- | conf/Changelog.txt | 3 | ||||
-rw-r--r-- | conf/battle/homunc.conf | 2 | ||||
-rw-r--r-- | src/map/battle.c | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/conf/Changelog.txt b/conf/Changelog.txt index ae89cac7e..1c4654f9f 100644 --- a/conf/Changelog.txt +++ b/conf/Changelog.txt @@ -1,6 +1,7 @@ Date Added -2007/11/08 +2007/11/12 + * hom_setting&0x2 now disables skill range checks for homunculus. [Skotlex]2007/11/08 * Removed the unneccessary @refreshonline command 2007/10/29 * Removed petid command (not needed because commands understand names) diff --git a/conf/battle/homunc.conf b/conf/battle/homunc.conf index 5e9e627ef..75b7ea96f 100644 --- a/conf/battle/homunc.conf +++ b/conf/battle/homunc.conf @@ -24,7 +24,7 @@ // Homunculus setting (Note 3) // Activates various 'quirks' that makes them behave unlike normal characters. // 0x001: Can't be targetted by support skills (except for their master) - +// 0x002: Casted skills do not perform a range check // 0x004: Mobs will always go after them instead of players until attacked // 0x008: Copy their master's speed on spawn/map-change // 0x010: They display luk/3+1 instead of their actual critical in the 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; |