Browse Source

SU_HISS Perfect dodge fix (#4991)

* Fixes #4990.
* Adds missing x10 rate for perfect dodge calculations.
Thanks to @Balferian and @LordWhiplash!
LordWhiplash 5 years ago
parent
commit
43caf7cc0a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/map/status.cpp

+ 1 - 1
src/map/status.cpp

@@ -6997,7 +6997,7 @@ static signed short status_calc_flee2(struct block_list *bl, struct status_chang
 	if(sc->data[SC__UNLUCKY])
 	if(sc->data[SC__UNLUCKY])
 		flee2 -= flee2 * sc->data[SC__UNLUCKY]->val2 / 100;
 		flee2 -= flee2 * sc->data[SC__UNLUCKY]->val2 / 100;
 	if (sc->data[SC_HISS])
 	if (sc->data[SC_HISS])
-		flee2 += sc->data[SC_HISS]->val2;
+		flee2 += sc->data[SC_HISS]->val2*10;
 	if (sc->data[SC_DORAM_FLEE2])
 	if (sc->data[SC_DORAM_FLEE2])
 		flee2 += sc->data[SC_DORAM_FLEE2]->val1;
 		flee2 += sc->data[SC_DORAM_FLEE2]->val1;