diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-18 04:32:20 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-18 04:32:20 +0000 |
commit | fd42f3d7e7a803d997a82c25a9f7b853797a6aa3 (patch) | |
tree | 7cc429cee5aea97fda5fb1d5dc4cd58e146df860 /src/map/pc.h | |
parent | c7ee688020983ae148eabb853b7cf5bae00fd32d (diff) | |
download | hercules-fd42f3d7e7a803d997a82c25a9f7b853797a6aa3.tar.gz hercules-fd42f3d7e7a803d997a82c25a9f7b853797a6aa3.tar.bz2 hercules-fd42f3d7e7a803d997a82c25a9f7b853797a6aa3.tar.xz hercules-fd42f3d7e7a803d997a82c25a9f7b853797a6aa3.zip |
- Added the official adoption method.
( Parents need to create a party, invite a novice/first class, both equip the wedding rings and someone just right click the future baby ).
- Fixed a bug sometimes client don't show job's bonus stats.
- Removed the problematic adoption script.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12389 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index da032deed..7942aab9d 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -190,6 +190,10 @@ int pc_cartitem_amount(struct map_session_data *sd,int idx,int amount); int pc_takeitem(struct map_session_data*,struct flooritem_data*); int pc_dropitem(struct map_session_data*,int,int); +bool pc_isequipped(struct map_session_data *sd, int nameid); +bool pc_can_Adopt(struct map_session_data *p1_sd, struct map_session_data *p2_sd, struct map_session_data *b_sd ); +bool pc_adoption(struct map_session_data *p1_sd, struct map_session_data *p2_sd, struct map_session_data *b_sd); + int pc_updateweightstatus(struct map_session_data *sd); int pc_autoscript_add(struct s_autoscript *scripts, int max, short rate, short flag, struct script_code *script); @@ -289,7 +293,6 @@ int pc_calc_pvprank_timer(int tid,unsigned int tick,int id,int data); int pc_ismarried(struct map_session_data *sd); int pc_marriage(struct map_session_data *sd,struct map_session_data *dstsd); int pc_divorce(struct map_session_data *sd); -int pc_adoption(struct map_session_data *sd,struct map_session_data *dstsd,struct map_session_data *jasd); struct map_session_data *pc_get_partner(struct map_session_data *sd); struct map_session_data *pc_get_father(struct map_session_data *sd); struct map_session_data *pc_get_mother(struct map_session_data *sd); |