diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-04 14:10:14 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-04 14:10:14 +0000 |
commit | 2d5e8b6e1a67df8c0719e744211a188f9c855445 (patch) | |
tree | 4e6118dfb3785efb9a4657db0b3d559b26ee638d /src/map/map.h | |
parent | a933e1dd3618225e7bb3565bad3c0aa2b42907ad (diff) | |
download | hercules-2d5e8b6e1a67df8c0719e744211a188f9c855445.tar.gz hercules-2d5e8b6e1a67df8c0719e744211a188f9c855445.tar.bz2 hercules-2d5e8b6e1a67df8c0719e744211a188f9c855445.tar.xz hercules-2d5e8b6e1a67df8c0719e744211a188f9c855445.zip |
- Some cleanup of how mobcount works.
- status_calc_misc will now be invoked in status_calc_bl even on the first call, since status could have gone up due to skill bonuses.
- Moved max HP/SP calculations to before invoking status_calc_misc
- Simplified distance and check_distance to use "aegis" methods (greater of dx/dy = distance), there's a new define in map.h called CIRCULAR_AREA, when set, the previous method is used, and map for each in range calls will also check for distances, making most ground skills and battle system use real circles instead of squares.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8609 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h index 2cb6896e4..5788efbdb 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -14,6 +14,13 @@ //Only chars affected are those defined in BL_CHAR (mobs and players currently)
//#define CELL_NOSTACK
+//Uncomment to enable circular area checks.
+//By default, all range checks in Aegis are of Square shapes, so a weapon range
+// of 10 allows you to attack from anywhere within a 21x21 area.
+//Enabling this changes such checks to circular checks, which is more realistic,
+// but is not the official behaviour.
+//#define CIRCULAR_AREA
+
#define MAX_PC_CLASS 4050
#define PC_CLASS_BASE 0
#define PC_CLASS_BASE2 (PC_CLASS_BASE + 4001)
|