summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-04 20:47:35 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-04 20:47:35 +0000
commit74382866b1dc40a990f6dcc164fac8eb4d3e5a46 (patch)
treeb34d333dcb98af911b0f53d75c7b6a1622ed94f4 /src/map/status.c
parent72f668162425f86e6253d571708f9a54a776c923 (diff)
downloadhercules-74382866b1dc40a990f6dcc164fac8eb4d3e5a46.tar.gz
hercules-74382866b1dc40a990f6dcc164fac8eb4d3e5a46.tar.bz2
hercules-74382866b1dc40a990f6dcc164fac8eb4d3e5a46.tar.xz
hercules-74382866b1dc40a990f6dcc164fac8eb4d3e5a46.zip
* 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
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c22
1 files changed, 5 insertions, 17 deletions
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;