summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2015-03-11 13:02:41 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2015-03-11 13:02:41 +0800
commit210c963d2851eb880ba3560998ee984d942cde19 (patch)
tree188e6a21ae92f37fb2bf66dd635c71e3e62b3644 /src/map/pc.c
parentfb5aaa96cbed8fe8c9ce8a47a63ffe017c7e53b4 (diff)
downloadhercules-210c963d2851eb880ba3560998ee984d942cde19.tar.gz
hercules-210c963d2851eb880ba3560998ee984d942cde19.tar.bz2
hercules-210c963d2851eb880ba3560998ee984d942cde19.tar.xz
hercules-210c963d2851eb880ba3560998ee984d942cde19.zip
RENEWAL Updates:
-Fixed card bonuses related to to ATK.(Added 'bRaceTolerance'). Thanks Michi for the support. -Fixed Renewal EDP. Special thanks to Awesome Yommy <3 -Enabled 'display_skill_fail' since '/skillfail' is already available in the client Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 3d5e240f8..f28a4cfdd 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -3354,6 +3354,12 @@ int pc_bonus2(struct map_session_data *sd,int type,int type2,int val)
if (sd->state.lr_flag != 2)
pc->bonus_item_drop(sd->add_drop, ARRAYLENGTH(sd->add_drop), 0, val, 1<<type2, 10000);
break;
+#ifdef RENEWAL
+ case SP_RACE_TOLERANCE:
+ if ( sd->state.lr_flag != 2 )
+ sd->race_tolerance[type2] += val;
+ break;
+#endif
default:
ShowWarning("pc_bonus2: unknown type %d %d %d!\n",type,type2,val);
break;