summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorDracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-17 00:15:33 +0000
committerDracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-17 00:15:33 +0000
commit7b2f7c0503cb5be8bc45f57353d838a4dbf84d7b (patch)
tree34fb42eb5bf938c6c02b56e26931c6b1937e4c89 /src/common/mmo.h
parent5a064d5a6723601d08610082ab6c203bc94cdab0 (diff)
downloadhercules-7b2f7c0503cb5be8bc45f57353d838a4dbf84d7b.tar.gz
hercules-7b2f7c0503cb5be8bc45f57353d838a4dbf84d7b.tar.bz2
hercules-7b2f7c0503cb5be8bc45f57353d838a4dbf84d7b.tar.xz
hercules-7b2f7c0503cb5be8bc45f57353d838a4dbf84d7b.zip
Orn's and Albator's Homunculus system, finally, YAY!!
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7706 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h32
1 files changed, 29 insertions, 3 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 4f6a92b11..a61a2e321 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -117,6 +117,11 @@
#define CHAR_CONF_NAME "conf/char_athena.conf"
+//Base Homun skill.
+#define HM_SKILLBASE 8000
+#define MAX_HOMUNSKILL 16
+#define MAX_HOMUNCULUS_CLASS 16 //[orn]
+
struct item {
int id;
short nameid;
@@ -163,6 +168,29 @@ struct s_pet {
char incuvate;
};
+struct s_homunculus { //[orn]
+ char name[NAME_LENGTH];
+ int hom_id;
+ int char_id;
+ short class_;
+ int hp,max_hp,sp,max_sp;
+ short alive; //albator
+ unsigned long intimacy; //[orn]
+ short hunger;
+ struct skill hskill[MAX_HOMUNSKILL]; //albator
+ short skillpts;
+ short level;
+ unsigned long exp;
+ short rename_flag;
+ short vaporize; //albator
+ int str ;
+ int agi ;
+ int vit ;
+ int int_ ;
+ int dex ;
+ int luk ;
+};
+
struct friend {
int account_id;
int char_id;
@@ -188,6 +216,7 @@ struct mmo_charstatus {
unsigned char karma;
short hair,hair_color,clothes_color;
int party_id,guild_id,pet_id;
+ int hom_id; //[orn]
int fame;
short weapon,shield;
@@ -385,9 +414,6 @@ enum {
GD_DEVELOPMENT=10014,
};
-//Base Homun skill.
-#define HM_SKILLBASE 8001
-#define MAX_HOMUNSKILL 16
//These mark the ID of the jobs, as expected by the client. [Skotlex]
enum {