summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 9c892818f..84ce9b581 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -5804,6 +5804,18 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
//Place here SCs that have no SCB_* data, no skill associated, no ICON
//associated, and yet are not wrong/unknown. [Skotlex]
break;
+ case SC_BONUSDROP:
+ clif_specialeffect(&sd->bl, 348, AREA);
+ clif_disp_onlyself(sd, "[Drop Rate Increased]", (int)strlen("[Drop Rate Increased]"));
+ if (val1 < 0)
+ val1 = 0;
+ break;
+ case SC_BONUSEXP:
+ clif_specialeffect(&sd->bl, 348, AREA);
+ clif_disp_onlyself(sd, "[Exp Rate Increased]", (int)strlen("[Exp Rate Increased]"));
+ if (val1 < 0)
+ val1 = 0;
+ break;
default:
if (calc_flag == SCB_NONE &&
StatusSkillChangeTable[type]==0 &&
@@ -6395,6 +6407,14 @@ int status_change_end( struct block_list* bl , int type,int tid )
case SC_JOINTBEAT:
sc->data[type].val2 = 0; // Clear stackable ailments
break;
+ case SC_BONUSEXP:
+ clif_disp_onlyself(sd, "[Exp Rate Back to Normal]", (int)strlen("[Exp Rate Back to Normal]"));
+ clif_specialeffect(&sd->bl, 488, AREA);
+ break;
+ case SC_BONUSDROP:
+ clif_disp_onlyself(sd, "[Drop Rate Back to Normal]", (int)strlen("[Drop Rate Back to Normal]"));
+ clif_specialeffect(&sd->bl, 488, AREA);
+ break;
}
opt_flag = 1;