summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-29 14:45:47 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-29 14:45:47 +0000
commitf64c9de103650d4bebb3f55711bb42b2c2df7770 (patch)
treeab787630e99f2de474d510e19d20be753b465191
parent3e6244a1f86865a3777312ff48c955d571559dcd (diff)
downloadhercules-f64c9de103650d4bebb3f55711bb42b2c2df7770.tar.gz
hercules-f64c9de103650d4bebb3f55711bb42b2c2df7770.tar.bz2
hercules-f64c9de103650d4bebb3f55711bb42b2c2df7770.tar.xz
hercules-f64c9de103650d4bebb3f55711bb42b2c2df7770.zip
Added support for mob_db_re.txt as per Kenpachi's request
- mob_db_re.txt override entries from mob_db.txt and is overridden by entries in mob_db2.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15306 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--db/mob_db_re.txt7
-rw-r--r--src/map/mob.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/db/mob_db_re.txt b/db/mob_db_re.txt
new file mode 100644
index 000000000..1f2542041
--- /dev/null
+++ b/db/mob_db_re.txt
@@ -0,0 +1,7 @@
+//=====================================================================================================
+//-- mob_db_re.txt: entries in this file override mob_db.txt and are overidden by mob_db2.txt -- file only used in Ragnarok Renewal Mode
+//=====================================================================================================
+// Monsters Additional Database
+//
+// Structure of Database :
+// ID,Sprite_Name,kROName,iROName,LV,HP,SP,EXP,JEXP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK,Range2,Range3,Scale,Race,Element,Mode,Speed,aDelay,aMotion,dMotion,MEXP,ExpPer,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per,Drop1id,Drop1per,Drop2id,Drop2per,Drop3id,Drop3per,Drop4id,Drop4per,Drop5id,Drop5per,Drop6id,Drop6per,Drop7id,Drop7per,Drop8id,Drop8per,Drop9id,Drop9per,DropCardid,DropCardper
diff --git a/src/map/mob.c b/src/map/mob.c
index fd5d592c1..abbb141cf 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -3676,7 +3676,7 @@ static bool mob_readdb_sub(char* fields[], int columns, int current)
static void mob_readdb(void)
{
- const char* filename[] = { "mob_db.txt", "mob_db2.txt" };
+ const char* filename[] = { "mob_db.txt", "mob_db_re.txt" , "mob_db2.txt" };
int fi;
for( fi = 0; fi < ARRAYLENGTH(filename); ++fi )