diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-29 03:32:43 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-29 03:32:43 +0000 |
commit | 93c52deb53c4a163e69aeed5fb2af4dba66842c2 (patch) | |
tree | ffc4cda325169043b677a51682f3c6ffae7dcf43 /src/map/pc.h | |
parent | 913faa92611b2cb84b23c5c0296fae6a6e1d4c1f (diff) | |
download | hercules-93c52deb53c4a163e69aeed5fb2af4dba66842c2.tar.gz hercules-93c52deb53c4a163e69aeed5fb2af4dba66842c2.tar.bz2 hercules-93c52deb53c4a163e69aeed5fb2af4dba66842c2.tar.xz hercules-93c52deb53c4a163e69aeed5fb2af4dba66842c2.zip |
- Added A_* constants to identify ammo types.
- Added Ishizu's code to check ammo type on attack. No more using Grenade rounds with Guns.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7959 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 056aeb401..a8435508b 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -40,6 +40,15 @@ enum { MAX_WEAPON_TYPE
} weapon_type;
+enum {
+ A_ARROW = 1,
+ A_DAGGER, //2
+ A_BULLET, //3
+ A_SHELL, //4
+ A_GRENADE, //5
+ A_SHURIKEN, //6
+ A_KUNAI //7
+} ammo_type;
//Equip position constants
enum {
EQP_HEAD_LOW = 0x0001,
|