From 73ad7989194c210cd90f6f3a696250df162b69eb Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sat, 7 Jan 2012 03:04:24 +0000 Subject: Initial support for Royal Guard and some adjustments here and there. - credits to 3ceam for the base. - should you step by any bugs let us know, http://rathena.org/board/tracker/ git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15404 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/map/pc.h') diff --git a/src/map/pc.h b/src/map/pc.h index 8a82a278a..58ea2401c 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -101,7 +101,7 @@ struct map_session_data { unsigned int active : 1; //Marks active player (not active is logging in/out, or changing map servers) unsigned int menu_or_input : 1;// if a script is waiting for feedback from the player unsigned int dead_sit : 2; - unsigned int lr_flag : 2; + unsigned int lr_flag : 3;//1: left h. weapon; 2: arrow; 3: shield unsigned int connect_new : 1; unsigned int arrow_atk : 1; unsigned int gangsterparadise : 1; @@ -298,6 +298,7 @@ struct map_session_data { int classchange; // [Valaris] int speed_rate, speed_add_rate, aspd_add; int itemhealrate2; // [Epoque] Increase heal rate of all healing items. + int shieldmdef;//royal guard's unsigned int setitem_hash, setitem_hash2; //Split in 2 because shift operations only work on int ranges. [Skotlex] short splash_range, splash_add_range; @@ -460,6 +461,7 @@ struct map_session_data { // temporary debugging of bug #3504 const char* delunit_prevfile; int delunit_prevline; + }; //Update this max as necessary. 55 is the value needed for Super Baby currently @@ -839,4 +841,8 @@ int pc_disguise(struct map_session_data *sd, int class_); * Mechanic (Mado Gear) **/ void pc_overheat(struct map_session_data *sd, int val); +/** + * Royal Guard + **/ +int pc_banding(struct map_session_data *sd, short skill_lv); #endif /* _PC_H_ */ -- cgit v1.2.3-60-g2f50