소스 검색

Adjusts Assassin Cross of Sunset ASPD bonus (#5813)

* Fixes #5738.
* The ASPD increase of Assassin Cross of Sunset should apply to all weapon types in renewal.
Thanks to @Balferian!
Aleos 4 년 전
부모
커밋
f623df55a8
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/map/status.cpp

+ 4 - 0
src/map/status.cpp

@@ -7508,6 +7508,9 @@ static short status_calc_aspd(struct block_list *bl, struct status_change *sc, b
 		}
 
 		if (sc->data[SC_ASSNCROS] && bonus < sc->data[SC_ASSNCROS]->val2) {
+#ifdef RENEWAL
+			bonus += sc->data[SC_ASSNCROS]->val2;
+#else
 			if (bl->type != BL_PC)
 				bonus += sc->data[SC_ASSNCROS]->val2;
 			else {
@@ -7524,6 +7527,7 @@ static short status_calc_aspd(struct block_list *bl, struct status_change *sc, b
 						break;
 				}
 			}
+#endif
 		}
 
 		if (bonus < 20 && sc->data[SC_MADNESSCANCEL])