From 74382866b1dc40a990f6dcc164fac8eb4d3e5a46 Mon Sep 17 00:00:00 2001 From: zephyrus Date: Thu, 4 Oct 2007 20:47:35 +0000 Subject: * Added SC_EXPBOOST (Field Manual), SC_ITEMBOOST (Bubble Gum) to const.txt. Allready working. - Added SC_LIFEINSURANCE and SC_BOSSMAPINFO to const.txt. (not implemented but i will work on it) - Updated Field Manual and Bubble Gum in the itemdb.txt file. - As L0ne Wolf reported to me and based on Doddler information, the Bubble Gum only do a second try of the item drop, and it don't increase the drop rates. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11356 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index 84ce9b581..0f44a5b7f 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -451,6 +451,10 @@ void initChangeTables(void) StatusIconChangeTable[SC_LUKFOOD] = SI_FOODLUK; StatusIconChangeTable[SC_FLEEFOOD]= SI_FOODFLEE; StatusIconChangeTable[SC_HITFOOD] = SI_FOODHIT; + //Cash Items + StatusIconChangeTable[SC_EXPBOOST] = SI_EXPBOOST; + StatusIconChangeTable[SC_ITEMBOOST] = SI_ITEMBOOST; + //Other SC which are not necessarily associated to skills. StatusChangeFlagTable[SC_ASPDPOTION0] = SCB_ASPD; StatusChangeFlagTable[SC_ASPDPOTION1] = SCB_ASPD; @@ -5804,15 +5808,7 @@ 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]")); + case SC_EXPBOOST: if (val1 < 0) val1 = 0; break; @@ -6407,14 +6403,6 @@ 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; -- cgit v1.2.3-70-g09d2