summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-18 14:28:22 +0000
committerepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-18 14:28:22 +0000
commit054b1c4b7a64db933f141f035e21aa98e567755e (patch)
tree70fd786fa95571296c639ca7a1c61e6c2753ef4a
parent59dc4717ad51d0d756a9097495868577b7433054 (diff)
downloadhercules-054b1c4b7a64db933f141f035e21aa98e567755e.tar.gz
hercules-054b1c4b7a64db933f141f035e21aa98e567755e.tar.bz2
hercules-054b1c4b7a64db933f141f035e21aa98e567755e.tar.xz
hercules-054b1c4b7a64db933f141f035e21aa98e567755e.zip
- Updated mob_race2_db.txt to apply under RE and non-RE modes
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15720 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--db/pre-re/mob_race2_db.txt (renamed from db/mob_race2_db.txt)0
-rw-r--r--db/re/mob_race2_db.txt17
-rw-r--r--src/map/mob.c2
3 files changed, 18 insertions, 1 deletions
diff --git a/db/mob_race2_db.txt b/db/pre-re/mob_race2_db.txt
index 05f5e421a..05f5e421a 100644
--- a/db/mob_race2_db.txt
+++ b/db/pre-re/mob_race2_db.txt
diff --git a/db/re/mob_race2_db.txt b/db/re/mob_race2_db.txt
new file mode 100644
index 000000000..05f5e421a
--- /dev/null
+++ b/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
diff --git a/src/map/mob.c b/src/map/mob.c
index 82e75c9db..c2270afb3 100644
--- a/src/map/mob.c
+++ b/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)