diff options
author | Haru <haru@dotalux.com> | 2019-12-15 17:06:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-15 17:06:10 +0100 |
commit | 10e0436f36b8934772b9df575deb31ffad834f1d (patch) | |
tree | c8f6c6c86e019e7be5f092016670df27b1a7d48a /db | |
parent | ed80595290029d9f4909e50e07c99d9e7a6d6625 (diff) | |
parent | 5da4f38b15d6bd6b6dd68ab55a3cedfd8ae6ff25 (diff) | |
download | hercules-10e0436f36b8934772b9df575deb31ffad834f1d.tar.gz hercules-10e0436f36b8934772b9df575deb31ffad834f1d.tar.bz2 hercules-10e0436f36b8934772b9df575deb31ffad834f1d.tar.xz hercules-10e0436f36b8934772b9df575deb31ffad834f1d.zip |
Merge pull request #2572 from Asheraf/mobviewdatadb
Add support for overriding default view data in mob database
Diffstat (limited to 'db')
-rw-r--r-- | db/mob_avail.txt | 43 | ||||
-rw-r--r-- | db/pre-re/mob_db.conf | 15 | ||||
-rw-r--r-- | db/re/mob_db.conf | 15 |
3 files changed, 30 insertions, 43 deletions
diff --git a/db/mob_avail.txt b/db/mob_avail.txt deleted file mode 100644 index 2df4ddedc..000000000 --- a/db/mob_avail.txt +++ /dev/null @@ -1,43 +0,0 @@ -// Mob Availability and Alias Database -// -// Structure of Database: -// MobID,SpriteID{,Equipment} -// -// 01. MobID Mob ID to change. -// 02. SpriteID Mob ID which will be sent to the client instead of MobID. -// If 0, the mob becomes unavailable for use. -// 03. Equipment Item ID of pet equipment (must be available for pet counterpart, or this will cause problems). -// -// To disguise a mob as a player: -// MobID,SpriteID,Sex,Hair_Style,Hair_Color,Weapon,Shield,Head_Top,Head_Middle,Head_Bottom,Option,Dye_Color -// -// SpriteID is a job class value. -// Weapon and Shield uses Item ID, while Head uses View ID. - -//1002,1039 // Poring - Baphomet -//1970,1002,10013 // Displays a Poring with a backpack - -// Easter Event Monsters -//1920,1047,0 -//1921,1093,0 - -// eA Dev Team -// Valaris -//1900,4013,1,1,1,1254,0,67,12,54,16,1 -// Valaris Worshiper -//1901,6,1,1,1,1219,2101,67,12,54,0,1 -// MC Cameri -//1902,14,1,6,6,1101,2105,0,0,0,32,3 -// Poki#3 -//1903,4012,1,21,0,1720,0,102,184,57,16,0 -// Sentry -//1904,1286,0 - -// iRO Halloween Event 2008 -//3000,1015,0 -//3001,1036,0 -//3002,1298,0 - -// iRO Halloween Event 2009 -//3014,1179,0 -//3015,1272,0 diff --git a/db/pre-re/mob_db.conf b/db/pre-re/mob_db.conf index 565167e95..70edd12e9 100644 --- a/db/pre-re/mob_db.conf +++ b/db/pre-re/mob_db.conf @@ -94,6 +94,21 @@ mob_db: ( // ... } DamageTakenRate: damage taken rate (int, defaults to 100) + ViewData: { + SpriteId: sprite id (int, defaults to Id) + WeaponId: weapon id (int, defaults to 0) + ShieldId: shield id (int, defaults to 0) + RobeId: garment id (int, defaults to 0) + HeadTopId: top headgear id (int, defaults to 0) + HeadMidId: middle headgear id (int, defaults to 0) + HeadLowId: lower headgear id (int, defaults to 0) + HairStyleId: hair style id (int, defaults to 0) + BodyStyleId: clothes id (int, defaults to 0) + HairColorId: hair color id (int, defaults to 0) + BodyColorId: clothes color id (int, defaults to 0) + Gender: gender (string, defaults to "SEX_FEMALE") + Options: options (int, defaults to 0) + } }, **************************************************************************/ diff --git a/db/re/mob_db.conf b/db/re/mob_db.conf index 95645abe6..89bcffb3e 100644 --- a/db/re/mob_db.conf +++ b/db/re/mob_db.conf @@ -94,6 +94,21 @@ mob_db: ( // ... } DamageTakenRate: damage taken rate (int, defaults to 100) + ViewData: { + SpriteId: sprite id (int, defaults to Id) + WeaponId: weapon id (int, defaults to 0) + ShieldId: shield id (int, defaults to 0) + RobeId: garment id (int, defaults to 0) + HeadTopId: top headgear id (int, defaults to 0) + HeadMidId: middle headgear id (int, defaults to 0) + HeadLowId: lower headgear id (int, defaults to 0) + HairStyleId: hair style id (int, defaults to 0) + BodyStyleId: clothes id (int, defaults to 0) + HairColorId: hair color id (int, defaults to 0) + BodyColorId: clothes color id (int, defaults to 0) + Gender: gender (string, defaults to "SEX_FEMALE") + Options: options (int, defaults to 0) + } }, **************************************************************************/ |