From 5a55c6f349b2f094494d83f3012004a76ed934a0 Mon Sep 17 00:00:00 2001 From: malufett Date: Thu, 30 Oct 2014 12:55:01 +0800 Subject: Fixed Bug#7736 -http://hercules.ws/board/tracker/issue-7736-fist-spell-w-double-attack-and-similar-effects/?gopid=20575#entry20575 Fixed RE ATK random variance. Thanks to Angelmelody. Signed-off-by: malufett --- src/map/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index 824ad1f58..524d5b6a7 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -11384,7 +11384,7 @@ int status_get_weapon_atk(struct block_list *bl, struct weapon_atk *watk, int fl if( !(flag&1) ){ if( max > min ) - max = min + rnd()%(max - min); + max = min + rnd()%(max - min + 1); else max = min; } -- cgit v1.2.3-70-g09d2