From 507d5f485deddbd551d844aefb5c6646ad18b461 Mon Sep 17 00:00:00 2001 From: zephyrus Date: Fri, 22 Aug 2008 18:53:11 +0000 Subject: - Mercenary data structures. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13110 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/mmo.h | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'src/common/mmo.h') 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; -- cgit v1.2.3-70-g09d2