diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-22 15:14:07 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-22 15:14:07 +0000 |
commit | db0184a272d0fbb1b09d4eba6527181b85890357 (patch) | |
tree | 663efd0c6f42df68ddce6b7639f9153ea60db78d /src/map/mercenary.h | |
parent | 4c930b82911ecd24dfef47c7021fe7f6cfa1a3b1 (diff) | |
download | hercules-db0184a272d0fbb1b09d4eba6527181b85890357.tar.gz hercules-db0184a272d0fbb1b09d4eba6527181b85890357.tar.bz2 hercules-db0184a272d0fbb1b09d4eba6527181b85890357.tar.xz hercules-db0184a272d0fbb1b09d4eba6527181b85890357.zip |
- Mercenary Database Reading.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13109 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mercenary.h')
-rw-r--r-- | src/map/mercenary.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/map/mercenary.h b/src/map/mercenary.h index 88692b4d1..726fae4e4 100644 --- a/src/map/mercenary.h +++ b/src/map/mercenary.h @@ -7,6 +7,25 @@ #include "status.h" // struct status_data, struct status_change #include "unit.h" // struct unit_data +// Mercenary DB Structures +// =================================== + +struct s_mercenary_db { + int class_; + char sprite[NAME_LENGTH], name[NAME_LENGTH]; + unsigned short lv; + short range2, range3; + struct status_data status; + struct { + unsigned short id, lv; + } skill[MAX_MERCENARY_SKILL]; +}; + +extern struct s_mercenary_db mercenary_db[MAX_MERCENARY_CLASS]; + +// Homunculus DB Structures +// =================================== + struct h_stats { unsigned int HP, SP; unsigned short str, agi, vit, int_, dex, luk; |