summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--conf/Changelog.txt3
-rw-r--r--conf/battle/homunc.conf2
-rw-r--r--src/map/battle.c2
4 files changed, 6 insertions, 3 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 8ddde3a2a..95ceffaa2 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2007/11/13
+ * Fixed homunculus skills having unlimited range instead of being
+ capped to view_distance+1 (for details see bugreport:376) [ultramage]
* Fixed @addwarp crashing the map server (bugreport:390). [FlavioJS]
* The Forget-me-not status now behaves like Decrease AGI [ultramage]
- doesn't cancel Impressive Riff, Wind Walker, True Sight (bugreport:187)
diff --git a/conf/Changelog.txt b/conf/Changelog.txt
index 1c4654f9f..1795387ac 100644
--- a/conf/Changelog.txt
+++ b/conf/Changelog.txt
@@ -1,7 +1,8 @@
Date Added
2007/11/12
- * hom_setting&0x2 now disables skill range checks for homunculus. [Skotlex]2007/11/08
+ * 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 75b7ea96f..b6210f773 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
+// 0x002: All of their skills get a range equal to view distance + 1
// 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 1d1b5437d..1da04dc0e 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3300,7 +3300,7 @@ int battle_check_range(struct block_list *src,struct block_list *bl,int range)
return 0;
if(src->type == BL_HOM && battle_config.hom_setting&0x2)
- return 1; //WTF, way to go Aegis and your awesome bugs.
+ range = battle_config.area_size + 1; //WTF, way to go Aegis and your awesome bugs.
if (!check_distance_bl(src, bl, range))
return 0;