diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-07 03:04:24 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-07 03:04:24 +0000 |
commit | 73ad7989194c210cd90f6f3a696250df162b69eb (patch) | |
tree | cf3795a1afaff4226a5d5c75c76c4403105b1a4d /src/map/pc.h | |
parent | 6d5d8185e0213433def88dece01f66f180bb1a92 (diff) | |
download | hercules-73ad7989194c210cd90f6f3a696250df162b69eb.tar.gz hercules-73ad7989194c210cd90f6f3a696250df162b69eb.tar.bz2 hercules-73ad7989194c210cd90f6f3a696250df162b69eb.tar.xz hercules-73ad7989194c210cd90f6f3a696250df162b69eb.zip |
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
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 8 |
1 files changed, 7 insertions, 1 deletions
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_ */ |