- Fixed status change resistance not being invoked at all for pretty much all cases.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8641 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-09-05 19:53:14 +00:00
parent 4e9c745bdf
commit 0853b1751b
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/09/05 2006/09/05
* Fixed status change resistance not being invoked at all for pretty much
all cases. [Skotlex]
* Corrected SC_INTRAVISION not starting. [Skotlex] * Corrected SC_INTRAVISION not starting. [Skotlex]
* Fixed crash when attempting to read a Label as a string on a script * Fixed crash when attempting to read a Label as a string on a script
(thanks to End of Exam) [Skotlex] (thanks to End of Exam) [Skotlex]

View File

@ -4444,7 +4444,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
//Check rate //Check rate
if (!(flag&(1|4))) { if (!(flag&(1|4))) {
int def = flag&(2|8)?status_get_sc_def(bl, type):0; int def = status_get_sc_def(bl, type);
if (def && !(flag&8)) if (def && !(flag&8))
rate -= rate*def/10000; rate -= rate*def/10000;