summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-29 06:45:58 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-05-29 06:45:58 +0000
commit228fb34bfaa18f1de0ab909f8d2df4819a6018e9 (patch)
tree4d0c5e07ee1c675d8f7404026a9a98219de72d03 /src/map/pc.c
parentdfc20678b4af7bd709713134eded1e34a66eef7d (diff)
downloadhercules-228fb34bfaa18f1de0ab909f8d2df4819a6018e9.tar.gz
hercules-228fb34bfaa18f1de0ab909f8d2df4819a6018e9.tar.bz2
hercules-228fb34bfaa18f1de0ab909f8d2df4819a6018e9.tar.xz
hercules-228fb34bfaa18f1de0ab909f8d2df4819a6018e9.zip
Added new bonuses bUnbreakableGarment and bUnbreakableShoes.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13819 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index ec2c4b30e..720c252d8 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -2094,6 +2094,14 @@ int pc_bonus(struct map_session_data *sd,int type,int val)
if(sd->state.lr_flag != 2)
sd->unbreakable_equip |= EQP_SHIELD;
break;
+ case SP_UNBREAKABLE_GARMENT:
+ if(sd->state.lr_flag != 2)
+ sd->unbreakable_equip |= EQP_GARMENT;
+ break;
+ case SP_UNBREAKABLE_SHOES:
+ if(sd->state.lr_flag != 2)
+ sd->unbreakable_equip |= EQP_SHOES;
+ break;
case SP_CLASSCHANGE: // [Valaris]
if(sd->state.lr_flag !=2)
sd->classchange=val;