소스 검색

Fixed variable cast times

Thanks to @mazvi again.
Lemongrass3110 5 년 전
부모
커밋
0105116338
2개의 변경된 파일135개의 추가작업 그리고 2개의 파일을 삭제
  1. 133 0
      db/re/skill_db.yml
  2. 2 2
      src/tool/csv2yaml.cpp

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 133 - 0
db/re/skill_db.yml


+ 2 - 2
src/tool/csv2yaml.cpp

@@ -1939,14 +1939,14 @@ static bool skill_parse_row_skilldb(char* split[], int columns, int current) {
 
 #ifdef RENEWAL_CAST
 		if (!isMultiLevel(it_cast->second.fixed_cast)) {
-			if (it_cast->second.fixed_cast[0] > 0)
+			if (it_cast->second.fixed_cast[0] != 0)
 				body << YAML::Key << "FixedCastTime" << YAML::Value << it_cast->second.fixed_cast[0];
 		} else {
 			body << YAML::Key << "FixedCastTime";
 			body << YAML::BeginSeq;
 
 			for (size_t i = 0; i < ARRAYLENGTH(it_cast->second.fixed_cast); i++) {
-				if (it_cast->second.fixed_cast[i] > 0) {
+				if (it_cast->second.fixed_cast[i] != 0) {
 					body << YAML::BeginMap;
 					body << YAML::Key << "Level" << YAML::Value << i + 1;
 					body << YAML::Key << "Time" << YAML::Value << it_cast->second.fixed_cast[i];

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.