Kaynağa Gözat

Follow up to 77dd729d770bcc9fc508ff09160419224bf5120b

Daegaladh 5 yıl önce
ebeveyn
işleme
40c776340f
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5 0
      src/map/status.cpp

+ 5 - 0
src/map/status.cpp

@@ -5665,7 +5665,12 @@ void status_calc_bl_main(struct block_list *bl, /*enum scb_flag*/int flag)
 			// Absolute ASPD % modifiers
 			amotion = amotion * status->aspd_rate / 1000;
 			if (sd->ud.skilltimer != INVALID_TIMER && (skill_lv = pc_checkskill(sd, SA_FREECAST)) > 0)
+#ifdef RENEWAL_ASPD
+				amotion = amotion * 5 * (skill_lv + 10) / 100;
+#else
 				amotion += (2000 - amotion) * ( 55 - 5 * ( skill_lv + 1 ) ) / 100; //Increases amotion to reduce ASPD to the corresponding absolute percentage for each level (overriding other adjustments)
+#endif
+
 #ifdef RENEWAL_ASPD
 			// RE ASPD % modifier
 			amotion += (max(0xc3 - amotion, 2) * (status->aspd_rate2 + status_calc_aspd(bl, sc, false))) / 100;