소스 검색

Corrected Invisibility CRI bonus (#3138)

* Fixes #3133.
* Should be a static +100 not +100%.
Thanks to @redlightliu!
Aleos 7 년 전
부모
커밋
42c3375693
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/map/status.cpp

+ 1 - 1
src/map/status.cpp

@@ -6148,7 +6148,7 @@ static signed short status_calc_critical(struct block_list *bl, struct status_ch
 		critical += 3*sc->data[SC_SPEARQUICKEN]->val1*10;
 #endif
 	if (sc->data[SC__INVISIBILITY])
-		critical += critical * sc->data[SC__INVISIBILITY]->val3 / 100;
+		critical += sc->data[SC__INVISIBILITY]->val3 * 10;
 	if (sc->data[SC__UNLUCKY])
 		critical -= sc->data[SC__UNLUCKY]->val2;
 	if(sc->data[SC_BEYONDOFWARCRY])