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:
parent
a3dc2d9cf4
commit
2c99894e5a
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user