Follow up to r17201.

Fixed a small logic issue.
Related to: bugreport:7377

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17202 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
lemongrass3110 2013-03-18 20:50:00 +00:00
parent a3dc2d9cf4
commit 2c99894e5a

View File

@ -6359,7 +6359,7 @@ int status_get_sc_def(struct block_list *bl, enum sc_type type, int rate, int ti
//Effect that cannot be reduced? Likely a buff.
if (!(rnd()%10000 < rate))
return 0;
return max(1,tick);
return tick ? tick : 1;
}
if (sd) {