diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-22 20:39:55 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-22 20:39:55 +0000 |
commit | b5636c1a16c969ae068485bb7165443f8a8a7e7e (patch) | |
tree | 98a270dd2df10d00ec707796a2d22f4c8a5307b1 /src/map/pc.h | |
parent | 5ce95fd421352ace976cd858c31e8053d7de6f78 (diff) | |
download | hercules-b5636c1a16c969ae068485bb7165443f8a8a7e7e.tar.gz hercules-b5636c1a16c969ae068485bb7165443f8a8a7e7e.tar.bz2 hercules-b5636c1a16c969ae068485bb7165443f8a8a7e7e.tar.xz hercules-b5636c1a16c969ae068485bb7165443f8a8a7e7e.zip |
- Removed pc_break_equip, added function skill_break_equip which handles rates, defenses and all that. On non-players it causes the strip effect for the corresponding skill lv1.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5374 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 4701f781e..9c0fe20ab 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -47,12 +47,6 @@ int pc_reg_received(struct map_session_data *sd); int pc_isequip(struct map_session_data *sd,int n);
int pc_equippoint(struct map_session_data *sd,int n);
-int pc_break_equip(struct map_session_data *, unsigned short);
-#define pc_breakweapon(sd) (pc_break_equip(sd, EQP_WEAPON))
-#define pc_breakarmor(sd) (pc_break_equip(sd, EQP_ARMOR))
-#define pc_breakshield(sd) (pc_break_equip(sd, EQP_SHIELD))
-#define pc_breakhelm(sd) (pc_break_equip(sd, EQP_HELM))
-
int pc_checkskill(struct map_session_data *sd,int skill_id);
int pc_checkallowskill(struct map_session_data *sd);
int pc_checkequip(struct map_session_data *sd,int pos);
@@ -194,7 +188,6 @@ struct map_session_data *pc_get_child(struct map_session_data *sd); int pc_set_gm_level(int account_id, int level);
void pc_setstand(struct map_session_data *sd);
-int pc_break_equip(struct map_session_data *sd, unsigned short where);
int pc_candrop(struct map_session_data *sd,int item_id);
struct pc_base_job{
|