Преглед изворни кода

- Updated mob_race2_db.txt to apply under RE and non-RE modes

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15720 54d463be-8e91-2dee-dedb-b68131a5f0ec
epoque11 пре 13 година
родитељ
комит
e9aea140c9
3 измењених фајлова са 18 додато и 1 уклоњено
  1. 0 0
      db/pre-re/mob_race2_db.txt
  2. 17 0
      db/re/mob_race2_db.txt
  3. 1 1
      src/map/mob.c

+ 0 - 0
db/mob_race2_db.txt → db/pre-re/mob_race2_db.txt


+ 17 - 0
db/re/mob_race2_db.txt

@@ -0,0 +1,17 @@
+// Monster Racial Groups Database
+//
+// Structure of Database:
+// Race2ID,MobID1,MobID2,MobID3,...,MobID9
+
+// Goblins
+1,1122,1123,1124,1125,1126,1258,1299
+// Kobolds
+2,1133,1134,1135,1282,1296
+// Orcs
+3,1023,1152,1153,1189,1213,1273
+// Golems
+4,1040,1278,1366,1497,2024
+// Guardians
+5,1285,1286,1287
+// Ninja Classes (Pirate's_Pride)
+6,1315,1364,1401,1560

+ 1 - 1
src/map/mob.c

@@ -4453,7 +4453,7 @@ static void mob_load(void)
 	sv_readdb(db_path, "mob_avail.txt", ',', 2, 12, -1, &mob_readdb_mobavail);
 	mob_read_randommonster();
 	mob_readchatdb();
-	sv_readdb(db_path, "mob_race2_db.txt", ',', 2, 20, -1, &mob_readdb_race2);
+	sv_readdb(db_path, DBPATH"mob_race2_db.txt", ',', 2, 20, -1, &mob_readdb_race2);
 }
 
 void mob_reload(void)