소스 검색

Homunculus MATK fix for bugreport:5109

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15050 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind 13 년 전
부모
커밋
412bf3f3f8
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      src/map/status.c

+ 6 - 1
src/map/status.c

@@ -2862,7 +2862,12 @@ int status_calc_homunculus_(struct homun_data *hd, bool first)
 
 	status_calc_misc(&hd->bl, status, hom->level);
 	status_cpy(&hd->battle_status, status);
-
+#if RRMODE
+	/**
+	 * In RR Mode matk_max is used as source of weaponMATK, but homuns don't have it -- so we swap the values here.
+	 **/
+	status->matk_max = status->matk_min;
+#endif
 	return 1;
 }