SC_CASH_RECEIVEITEM Bug?

rector

New member
Messages
25
Points
0
Hello all,

I found out that the Bubble Gum script actually decreases the Hit points on using it. I believe it should not as it is the drop rate increase script which is implemented in that item. For reference code from mob.c is below :

Code:
			// Increase drop rate if user has SC_CASH_RECEIVEITEM			if (sd && sd->sc.data[SC_CASH_RECEIVEITEM]) // now rig the drop rate to never be over 90% unless it is originally >90%.				drop_rate = max(drop_rate,cap_value((int)(0.5+drop_rate*(sd->sc.data[SC_CASH_RECEIVEITEM]->val1)/100.),0,9000)); 
 
Last edited by a moderator:
Umm, according to my tests it didn't decrease HP on consuming item 12210. What emulator are you running? Version? Is it clean version? Or you have some modifications?

 
@Garr@Garr its not HP its decreasing , its the hit points, which are affected by dex

 
Same result, upon consuming item 12210 on pre-renewal configured Hercules I didn't get any hit decrease. My compiled source is not really up to date, though.

 
Back
Top