summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-22 18:53:11 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-22 18:53:11 +0000
commit507d5f485deddbd551d844aefb5c6646ad18b461 (patch)
treede1c61b30e8f77d801aa1b6e46f310e46d26253d /src/common/mmo.h
parentdb0184a272d0fbb1b09d4eba6527181b85890357 (diff)
downloadhercules-507d5f485deddbd551d844aefb5c6646ad18b461.tar.gz
hercules-507d5f485deddbd551d844aefb5c6646ad18b461.tar.bz2
hercules-507d5f485deddbd551d844aefb5c6646ad18b461.tar.xz
hercules-507d5f485deddbd551d844aefb5c6646ad18b461.zip
- Mercenary data structures.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13110 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index f497cfdc0..da036005c 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -107,6 +107,8 @@
//Mercenary System
#define MC_SKILLBASE 8201
#define MAX_MERCSKILL 37
+#define MAX_MERCENARY_CLASS 30
+#define MAX_MERCENARY_SKILL 4
enum item_types {
IT_HEALING = 0,
@@ -233,6 +235,15 @@ struct s_homunculus { //[orn]
int luk ;
};
+struct s_mercenary {
+ int mercenary_id;
+ int char_id;
+ short class_;
+ int hp, sp;
+ unsigned int kill_count;
+ unsigned int remain_life_time;
+};
+
struct s_friend {
int account_id;
int char_id;
@@ -265,9 +276,14 @@ struct mmo_charstatus {
short manner;
unsigned char karma;
short hair,hair_color,clothes_color;
- int party_id,guild_id,pet_id,hom_id;
+ int party_id,guild_id,pet_id,hom_id,mer_id;
int fame;
+ // Mercenary Guilds Rank
+ int arch_loyalty, arch_count;
+ int spear_loyalty, spear_count;
+ int sword_loyalty, sword_count;
+
short weapon; // enum weapon_type
short shield; // view-id
short head_top,head_mid,head_bottom;