- Added new column to mob_db Sprite_Name to hold the mob's sprite name. Columns Name and JName now hold the mob's english and kro names respectively.
- Currently both Name and Jname have the KRO names, so someone will have to update them. - Updated mob_db.sql and mob_db2.sql to latest. - Added battle_config option override_mob_names to make the spawned mob names use the mob_db names instead of the specified names in the spawn files. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6246 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
cb00c164f7
commit
72faf33f97
@ -3,6 +3,16 @@ Date Added
|
||||
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
|
||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||
2006/04/23
|
||||
* Added new column to mob_db Sprite_Name to hold the mob's sprite name.
|
||||
Columns Name and JName now hold the mob's english and kro names
|
||||
respectively. [Skotlex]
|
||||
- Currently both Name and Jname have the KRO names, so someone will have to
|
||||
update the Name column with the english Mob Names.
|
||||
* Updated mob_db.sql and mob_db2.sql to latest. [Skotlex]
|
||||
* Added battle_config option override_mob_names to make the spawned mob use
|
||||
the mob_db names instead of the specified names in the spawn files.
|
||||
Defaults to 0, 1 is to use Name column while 2 is to use the JName column
|
||||
(see battle/monster.conf) [Skotlex]
|
||||
* Idle skills won't trigger while the mob is walking (that is for the state
|
||||
"walk") [Skotlex]
|
||||
* Idle skills will now trigger each IDLE_SKILL_INTERVAL iterations (10
|
||||
|
@ -67,6 +67,12 @@ monster_ai: 0
|
||||
// Allow monsters to be aggresive and attack first? (Note 1)
|
||||
monster_active_enable: yes
|
||||
|
||||
// Should the mob_db names override the mob names specified in the spawn files?
|
||||
// 0: No
|
||||
// 1: always use the mob_db Name column (english mob name)
|
||||
// 2: always use the mob_db JName column (original Kro mob name)
|
||||
override_mob_names: 0
|
||||
|
||||
// Monster damage delay rate (Note 1)
|
||||
// Setting to no/0 is like they always have endure.
|
||||
monster_damage_delay_rate: 100
|
||||
|
1638
db/mob_db.txt
1638
db/mob_db.txt
File diff suppressed because it is too large
Load Diff
102
db/mob_db2.txt
102
db/mob_db2.txt
@ -1,51 +1,51 @@
|
||||
// Monsters Additional Database
|
||||
//
|
||||
// Structure of Database :
|
||||
// ID,Name,JName,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,Drop1id,Drop1per,Drop2id,Drop2per,Drop3id,Drop3per,Drop4id,Drop4per,Drop5id,Drop5per,Drop6id,Drop6per,Drop7id,Drop7per,Drop8id,Drop8per,Drop9id,Drop9per,DropCardid,DropCardper,MEXP,ExpPer,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per
|
||||
|
||||
// Crusader quest monsters with poring stats (No drops)
|
||||
1910,C_GHOUL,Ghoul,1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
1911,C_KHALITZBURG,Khalitzburg,1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
1912,C_INJUSTICE,Injustice,1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
1913,C_REQUIEM,Requiem,1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
1914,C_RAYDRIC_ARCHER,Raydric Archer,1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
|
||||
// Easter Event Monsters
|
||||
1920,EASTER_EGG,Easter Egg,3,300,0,4,4,0,1,2,20,20,1,1,1,1,1,20,10,12,0,0,60,128,1000,1001,1,1,1010,250,935,500,558,300,501,200,501,200,713,800,558,300,558,300,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
1921,EASTER_BUNNY,Easter Bunny,6,1800,0,60,55,1,20,26,0,40,1,36,6,1,11,80,10,10,0,2,60,181,200,1456,456,336,2250,200,515,8000,727,1200,746,1500,706,30,622,50,534,5000,0,0,0,0,4006,70,0,0,0,0,0,0,0,0,
|
||||
|
||||
// eAthena Dev Team
|
||||
1900,VALARIS,Valaris,99,668000,0,107250,37895,2,3220,4040,35,45,1,152,96,85,120,95,10,10,2,6,67,1973,100,1068,768,576,1466,200,2256,200,2607,800,714,500,617,3000,984,4300,985,5600,0,0,0,0,4147,1,13000,5000,608,1000,750,400,923,3800,
|
||||
1901,VALARIS_WORSHIPPER,Valaris's Worshipper,50,8578,0,2706,1480,1,487,590,15,25,1,75,55,1,93,45,10,12,0,6,27,1685,100,868,480,120,923,500,984,63,1464,2,607,50,610,100,503,300,2405,50,0,0,0,0,4129,1,0,0,0,0,0,0,0,0,
|
||||
1902,MC_CAMERI,MC Cameri,99,668000,0,107250,37895,2,3220,4040,35,45,1,152,96,85,120,95,10,10,2,6,67,1973,100,1068,768,576,1466,200,2256,200,2607,800,714,500,617,3000,984,4300,985,5600,0,0,0,0,4147,1,13000,5000,608,1000,750,400,923,3800,
|
||||
1903,POKI,Poki#3,99,1349000,0,4093000,1526000,9,4892,9113,22,35,1,180,39,67,193,130,10,12,1,7,64,1973,120,500,672,480,1228,100,1236,500,617,2500,1234,75,1237,125,1722,250,1724,100,1720,50,0,0,0,0,92100,7000,603,5500,617,3000,1723,1000,
|
||||
|
||||
// Mobs used for eAthena's Custom Equipped Mobs
|
||||
1970,PORING_,Pet Poring,1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,909,7000,1202,100,938,400,512,1000,713,1500,741,5,619,20,0,0,0,0,4001,20,0,0,0,0,0,0,0,0,
|
||||
1971,CHONCHON__,Pet Chonchon,4,67,0,5,4,1,10,13,10,0,1,10,4,5,12,2,10,12,0,4,24,129,200,1076,576,480,998,50,935,6500,909,1500,1205,55,601,100,742,5,1002,150,0,0,0,0,4009,5,0,0,0,0,0,0,0,0,
|
||||
1972,SPORE_,Pet Spore,9,327,0,22,17,1,24,29,0,5,1,9,9,1,14,5,10,12,1,3,21,129,200,1872,672,288,921,5000,507,800,510,50,743,5,2220,40,921,5,578,100,0,0,0,0,4022,5,0,0,0,0,0,0,0,0,
|
||||
1973,PECOPECO_,Pet Peco Peco,13,531,0,85,36,1,35,46,0,0,1,13,13,25,27,9,10,12,2,2,23,649,200,1564,864,576,925,5500,2402,20,508,50,507,900,1604,100,582,60,0,0,0,0,0,0,4031,3,0,0,0,0,0,0,0,0,
|
||||
1974,ORK_WARRIOR_,Pet Orc Warrior,24,1400,0,261,160,1,104,126,10,5,1,24,48,25,34,10,10,12,1,7,22,2693,200,1864,864,288,998,210,931,5500,756,40,2267,3,1352,10,1304,5,1301,100,0,0,0,0,4066,1,0,0,0,0,0,0,0,0,
|
||||
1975,MUNAK_,Pet Munak,30,2872,0,361,218,1,180,230,0,0,1,15,20,5,46,15,10,12,1,1,29,2693,200,2468,768,288,901,5500,2264,1,2404,15,609,20,2337,1,2305,100,1558,5,0,0,0,0,4090,3,0,0,0,0,0,0,0,0,
|
||||
1976,ISIS_,Pet Isis,43,4828,0,2396,993,1,423,507,10,35,1,65,43,30,72,15,10,12,2,6,27,661,200,1384,768,336,936,5500,2233,5,2603,1,733,150,732,20,954,1000,731,5,0,0,0,0,4116,1,0,0,0,0,0,0,0,0,
|
||||
1977,POPORING_,Pet Poporing,14,344,0,81,44,1,59,72,0,10,1,14,14,1,19,15,10,12,1,3,25,131,300,1672,672,480,938,5500,910,1500,511,500,514,200,729,5,0,0,0,0,0,0,0,0,4033,5,0,0,0,0,0,0,0,0,
|
||||
1978,HUNTER_FLY_,Pet Hunter Fly,42,5242,0,1517,952,1,246,333,25,15,1,105,32,15,72,30,10,12,0,4,44,2693,150,676,576,480,996,30,999,100,943,5500,912,1300,756,129,2259,1,1226,2,0,0,0,0,4115,1,0,0,0,0,0,0,0,0,
|
||||
1979,STEEL_CHONCHON_,Pet Steel Chonchon,17,530,0,109,71,1,54,65,15,0,1,43,17,5,33,10,10,12,0,4,24,651,150,1076,576,480,992,70,999,30,910,2400,935,3500,943,30,998,200,1002,500,0,0,0,0,4042,1,0,0,0,0,0,0,0,0,
|
||||
1980,PICKY__,Pet Picky,3,80,0,4,3,1,9,12,0,0,1,3,3,5,10,30,10,12,0,2,23,129,200,988,288,168,916,6500,949,700,2302,150,507,550,519,300,715,50,0,0,0,0,0,0,4008,10,0,0,0,0,0,0,0,0,
|
||||
1981,ROCKER_,Pet Rocker,9,198,0,20,16,1,24,29,5,10,1,9,18,10,14,15,10,12,1,4,22,129,200,1864,864,540,940,5000,909,5500,2298,4,1402,80,520,10,752,5,703,3,0,0,0,0,4021,10,0,0,0,0,0,0,0,0,
|
||||
1982,SMOKIE_,Pet Smokie,18,641,0,134,86,1,61,72,0,10,1,18,36,25,26,35,10,12,0,2,22,145,200,1576,576,420,945,5500,919,5500,516,800,2213,2,754,2,912,6,729,3,0,0,0,0,4044,1,0,0,0,0,0,0,0,0,
|
||||
1983,YOYO_,Pet Yoyo,19,879,0,148,93,1,71,82,0,0,1,24,30,35,32,55,10,12,0,2,22,651,200,1054,54,384,942,5500,513,1500,508,100,919,5000,753,5,756,24,578,200,0,0,0,0,4051,1,0,0,0,0,0,0,0,0,
|
||||
1984,LUNATIC_,Pet Lunatic,3,60,0,6,2,1,9,12,0,20,1,3,3,10,8,60,10,12,0,2,60,129,200,1456,456,336,705,6500,949,1000,2262,4,1102,100,512,600,515,1100,622,20,0,0,0,0,4006,15,0,0,0,0,0,0,0,0,
|
||||
1985,POISON_SPORE_,Pet Poison Spore,19,665,0,186,93,1,89,101,0,0,1,19,25,1,24,1,10,12,1,3,25,2693,200,1672,672,288,7033,5500,2221,20,511,550,510,50,972,30,921,1200,912,6,0,0,0,0,4048,2,0,0,0,0,0,0,0,0,
|
||||
1986,BAPHOMET__,Pet Baphomet Jr.,50,8578,0,2706,1480,1,487,590,15,25,1,75,55,1,93,45,10,12,0,6,27,1685,100,868,480,120,923,500,984,63,1464,2,607,50,610,100,503,300,2405,50,0,0,0,0,4129,1,0,0,0,0,0,0,0,0,
|
||||
1987,DESERT_WOLF_B_,Pet Baby Desert Wolf,9,164,0,20,16,1,30,36,0,0,1,9,9,5,21,40,10,12,0,2,23,649,300,1600,900,240,1010,85,919,5500,2306,60,517,600,2301,200,0,0,0,0,0,0,0,0,4023,10,0,0,0,0,0,0,0,0,
|
||||
1988,DEVIRUCHI_,Pet Deviruchi,46,7360,0,2662,1278,1,475,560,10,25,1,69,40,55,87,30,10,12,0,6,27,1685,150,980,600,384,1038,5500,1039,400,0,0,1458,2,1009,5,912,1500,756,154,0,0,0,0,4122,1,0,0,0,0,0,0,0,0,
|
||||
1989,DOKEBI__,Pet Dokebi,33,2697,0,889,455,1,197,249,0,10,1,50,40,35,69,40,10,12,0,6,27,145,250,1156,456,384,1021,5500,757,112,1517,2,1613,1,969,1,1501,300,1005,5,0,0,0,0,4098,1,0,0,0,0,0,0,0,0,
|
||||
1990,DROPS_,Pet Drops,3,55,0,4,3,1,10,13,0,0,1,3,3,1,12,15,10,12,1,3,23,131,400,1452,672,480,909,7500,1602,80,938,500,512,1100,713,1700,741,5,620,20,0,0,0,0,4004,10,0,0,0,0,0,0,0,0,
|
||||
1991,PETIT__,Pet Earth Petite,44,6881,0,1677,1034,1,360,427,30,30,1,44,62,69,79,60,10,12,1,9,22,661,200,1624,620,384,1035,5500,1037,300,756,140,509,1000,1510,150,912,1500,606,15,0,0,0,0,4118,1,0,0,0,0,0,0,0,0,
|
||||
1992,SAVAGE_BABE_,Pet Savage Babe,7,182,0,14,12,1,20,25,0,0,1,7,14,5,12,35,10,12,0,2,22,129,400,1624,624,576,919,5500,1302,100,517,500,1750,1000,949,850,1010,80,627,20,0,0,0,0,4017,1,0,0,0,0,0,0,0,0,
|
||||
1993,SOHEE_,Pet Sohee,33,5628,0,739,455,1,210,251,0,10,1,33,33,10,58,15,10,12,1,6,21,145,300,2112,912,576,1020,5500,1049,50,2277,1,2504,5,1217,5,501,1000,662,100,0,0,0,0,4100,1,0,0,0,0,0,0,0,0,
|
||||
1994,BON_GUN_,Pet Bon Gun,32,3520,0,424,242,1,220,260,0,0,1,15,36,10,48,15,10,12,1,1,29,661,200,1720,500,420,1094,5500,7014,40,618,60,2337,2,609,15,508,1000,502,250,5046,1,0,0,4212,1,0,0,0,0,0,0,0,0,
|
||||
|
||||
//Custom Fire Poring. Warning, Colides with META_DENIRO
|
||||
//1239,FIRE_PORING,Fire Poring,1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,909,7000,1202,100,938,400,512,1000,713,1500,741,5,619,20,0,0,0,0,4001,20,0,0,0,0,0,0,0,0,
|
||||
// Monsters Additional Database
|
||||
//
|
||||
// Structure of Database :
|
||||
// ID,Sprite_Name,Name,JName,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,Drop1id,Drop1per,Drop2id,Drop2per,Drop3id,Drop3per,Drop4id,Drop4per,Drop5id,Drop5per,Drop6id,Drop6per,Drop7id,Drop7per,Drop8id,Drop8per,Drop9id,Drop9per,DropCardid,DropCardper,MEXP,ExpPer,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per
|
||||
|
||||
// Crusader quest monsters with poring stats (No drops)
|
||||
1910,C_GHOUL,Ghoul,Ghoul,1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
1911,C_KHALITZBURG,Khalitzburg,Khalitzburg,1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
1912,C_INJUSTICE,Injustice,Injustice,1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
1913,C_REQUIEM,Requiem,Requiem,1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
1914,C_RAYDRIC_ARCHER,Raydric Archer,Raydric Archer,1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
|
||||
// Easter Event Monsters
|
||||
1920,EASTER_EGG,Easter Egg,Easter Egg,3,300,0,4,4,0,1,2,20,20,1,1,1,1,1,20,10,12,0,0,60,128,1000,1001,1,1,1010,250,935,500,558,300,501,200,501,200,713,800,558,300,558,300,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
1921,EASTER_BUNNY,Easter Bunny,Easter Bunny,6,1800,0,60,55,1,20,26,0,40,1,36,6,1,11,80,10,10,0,2,60,181,200,1456,456,336,2250,200,515,8000,727,1200,746,1500,706,30,622,50,534,5000,0,0,0,0,4006,70,0,0,0,0,0,0,0,0
|
||||
|
||||
// eAthena Dev Team
|
||||
1900,VALARIS,Valaris,Valaris,99,668000,0,107250,37895,2,3220,4040,35,45,1,152,96,85,120,95,10,10,2,6,67,1973,100,1068,768,576,1466,200,2256,200,2607,800,714,500,617,3000,984,4300,985,5600,0,0,0,0,4147,1,13000,5000,608,1000,750,400,923,3800
|
||||
1901,VALARIS_WORSHIPPER,Valaris's Worshipper,Valaris's Worshipper,50,8578,0,2706,1480,1,487,590,15,25,1,75,55,1,93,45,10,12,0,6,27,1685,100,868,480,120,923,500,984,63,1464,2,607,50,610,100,503,300,2405,50,0,0,0,0,4129,1,0,0,0,0,0,0,0,0
|
||||
1902,MC_CAMERI,MC Cameri,MC Cameri,99,668000,0,107250,37895,2,3220,4040,35,45,1,152,96,85,120,95,10,10,2,6,67,1973,100,1068,768,576,1466,200,2256,200,2607,800,714,500,617,3000,984,4300,985,5600,0,0,0,0,4147,1,13000,5000,608,1000,750,400,923,3800
|
||||
1903,POKI,Poki#3,Poki#3,99,1349000,0,4093000,1526000,9,4892,9113,22,35,1,180,39,67,193,130,10,12,1,7,64,1973,120,500,672,480,1228,100,1236,500,617,2500,1234,75,1237,125,1722,250,1724,100,1720,50,0,0,0,0,92100,7000,603,5500,617,3000,1723,1000
|
||||
|
||||
// Mobs used for eAthena's Custom Equipped Mobs
|
||||
1970,PORING_,Pet Poring,Pet Poring,1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,909,7000,1202,100,938,400,512,1000,713,1500,741,5,619,20,0,0,0,0,4001,20,0,0,0,0,0,0,0,0
|
||||
1971,CHONCHON__,Pet Chonchon,Pet Chonchon,4,67,0,5,4,1,10,13,10,0,1,10,4,5,12,2,10,12,0,4,24,129,200,1076,576,480,998,50,935,6500,909,1500,1205,55,601,100,742,5,1002,150,0,0,0,0,4009,5,0,0,0,0,0,0,0,0
|
||||
1972,SPORE_,Pet Spore,Pet Spore,9,327,0,22,17,1,24,29,0,5,1,9,9,1,14,5,10,12,1,3,21,129,200,1872,672,288,921,5000,507,800,510,50,743,5,2220,40,921,5,578,100,0,0,0,0,4022,5,0,0,0,0,0,0,0,0
|
||||
1973,PECOPECO_,Pet Peco Peco,Pet Peco Peco,13,531,0,85,36,1,35,46,0,0,1,13,13,25,27,9,10,12,2,2,23,649,200,1564,864,576,925,5500,2402,20,508,50,507,900,1604,100,582,60,0,0,0,0,0,0,4031,3,0,0,0,0,0,0,0,0
|
||||
1974,ORK_WARRIOR_,Pet Orc Warrior,Pet Orc Warrior,24,1400,0,261,160,1,104,126,10,5,1,24,48,25,34,10,10,12,1,7,22,2693,200,1864,864,288,998,210,931,5500,756,40,2267,3,1352,10,1304,5,1301,100,0,0,0,0,4066,1,0,0,0,0,0,0,0,0
|
||||
1975,MUNAK_,Pet Munak,Pet Munak,30,2872,0,361,218,1,180,230,0,0,1,15,20,5,46,15,10,12,1,1,29,2693,200,2468,768,288,901,5500,2264,1,2404,15,609,20,2337,1,2305,100,1558,5,0,0,0,0,4090,3,0,0,0,0,0,0,0,0
|
||||
1976,ISIS_,Pet Isis,Pet Isis,43,4828,0,2396,993,1,423,507,10,35,1,65,43,30,72,15,10,12,2,6,27,661,200,1384,768,336,936,5500,2233,5,2603,1,733,150,732,20,954,1000,731,5,0,0,0,0,4116,1,0,0,0,0,0,0,0,0
|
||||
1977,POPORING_,Pet Poporing,Pet Poporing,14,344,0,81,44,1,59,72,0,10,1,14,14,1,19,15,10,12,1,3,25,131,300,1672,672,480,938,5500,910,1500,511,500,514,200,729,5,0,0,0,0,0,0,0,0,4033,5,0,0,0,0,0,0,0,0
|
||||
1978,HUNTER_FLY_,Pet Hunter Fly,Pet Hunter Fly,42,5242,0,1517,952,1,246,333,25,15,1,105,32,15,72,30,10,12,0,4,44,2693,150,676,576,480,996,30,999,100,943,5500,912,1300,756,129,2259,1,1226,2,0,0,0,0,4115,1,0,0,0,0,0,0,0,0
|
||||
1979,STEEL_CHONCHON_,Pet Steel Chonchon,Pet Steel Chonchon,17,530,0,109,71,1,54,65,15,0,1,43,17,5,33,10,10,12,0,4,24,651,150,1076,576,480,992,70,999,30,910,2400,935,3500,943,30,998,200,1002,500,0,0,0,0,4042,1,0,0,0,0,0,0,0,0
|
||||
1980,PICKY__,Pet Picky,Pet Picky,3,80,0,4,3,1,9,12,0,0,1,3,3,5,10,30,10,12,0,2,23,129,200,988,288,168,916,6500,949,700,2302,150,507,550,519,300,715,50,0,0,0,0,0,0,4008,10,0,0,0,0,0,0,0,0
|
||||
1981,ROCKER_,Pet Rocker,Pet Rocker,9,198,0,20,16,1,24,29,5,10,1,9,18,10,14,15,10,12,1,4,22,129,200,1864,864,540,940,5000,909,5500,2298,4,1402,80,520,10,752,5,703,3,0,0,0,0,4021,10,0,0,0,0,0,0,0,0
|
||||
1982,SMOKIE_,Pet Smokie,Pet Smokie,18,641,0,134,86,1,61,72,0,10,1,18,36,25,26,35,10,12,0,2,22,145,200,1576,576,420,945,5500,919,5500,516,800,2213,2,754,2,912,6,729,3,0,0,0,0,4044,1,0,0,0,0,0,0,0,0
|
||||
1983,YOYO_,Pet Yoyo,Pet Yoyo,19,879,0,148,93,1,71,82,0,0,1,24,30,35,32,55,10,12,0,2,22,651,200,1054,54,384,942,5500,513,1500,508,100,919,5000,753,5,756,24,578,200,0,0,0,0,4051,1,0,0,0,0,0,0,0,0
|
||||
1984,LUNATIC_,Pet Lunatic,Pet Lunatic,3,60,0,6,2,1,9,12,0,20,1,3,3,10,8,60,10,12,0,2,60,129,200,1456,456,336,705,6500,949,1000,2262,4,1102,100,512,600,515,1100,622,20,0,0,0,0,4006,15,0,0,0,0,0,0,0,0
|
||||
1985,POISON_SPORE_,Pet Poison Spore,Pet Poison Spore,19,665,0,186,93,1,89,101,0,0,1,19,25,1,24,1,10,12,1,3,25,2693,200,1672,672,288,7033,5500,2221,20,511,550,510,50,972,30,921,1200,912,6,0,0,0,0,4048,2,0,0,0,0,0,0,0,0
|
||||
1986,BAPHOMET__,Pet Baphomet Jr.,Pet Baphomet Jr.,50,8578,0,2706,1480,1,487,590,15,25,1,75,55,1,93,45,10,12,0,6,27,1685,100,868,480,120,923,500,984,63,1464,2,607,50,610,100,503,300,2405,50,0,0,0,0,4129,1,0,0,0,0,0,0,0,0
|
||||
1987,DESERT_WOLF_B_,Pet Baby Desert Wolf,Pet Baby Desert Wolf,9,164,0,20,16,1,30,36,0,0,1,9,9,5,21,40,10,12,0,2,23,649,300,1600,900,240,1010,85,919,5500,2306,60,517,600,2301,200,0,0,0,0,0,0,0,0,4023,10,0,0,0,0,0,0,0,0
|
||||
1988,DEVIRUCHI_,Pet Deviruchi,Pet Deviruchi,46,7360,0,2662,1278,1,475,560,10,25,1,69,40,55,87,30,10,12,0,6,27,1685,150,980,600,384,1038,5500,1039,400,0,0,1458,2,1009,5,912,1500,756,154,0,0,0,0,4122,1,0,0,0,0,0,0,0,0
|
||||
1989,DOKEBI__,Pet Dokebi,Pet Dokebi,33,2697,0,889,455,1,197,249,0,10,1,50,40,35,69,40,10,12,0,6,27,145,250,1156,456,384,1021,5500,757,112,1517,2,1613,1,969,1,1501,300,1005,5,0,0,0,0,4098,1,0,0,0,0,0,0,0,0
|
||||
1990,DROPS_,Pet Drops,Pet Drops,3,55,0,4,3,1,10,13,0,0,1,3,3,1,12,15,10,12,1,3,23,131,400,1452,672,480,909,7500,1602,80,938,500,512,1100,713,1700,741,5,620,20,0,0,0,0,4004,10,0,0,0,0,0,0,0,0
|
||||
1991,PETIT__,Pet Earth Petite,Pet Earth Petite,44,6881,0,1677,1034,1,360,427,30,30,1,44,62,69,79,60,10,12,1,9,22,661,200,1624,620,384,1035,5500,1037,300,756,140,509,1000,1510,150,912,1500,606,15,0,0,0,0,4118,1,0,0,0,0,0,0,0,0
|
||||
1992,SAVAGE_BABE_,Pet Savage Babe,Pet Savage Babe,7,182,0,14,12,1,20,25,0,0,1,7,14,5,12,35,10,12,0,2,22,129,400,1624,624,576,919,5500,1302,100,517,500,1750,1000,949,850,1010,80,627,20,0,0,0,0,4017,1,0,0,0,0,0,0,0,0
|
||||
1993,SOHEE_,Pet Sohee,Pet Sohee,33,5628,0,739,455,1,210,251,0,10,1,33,33,10,58,15,10,12,1,6,21,145,300,2112,912,576,1020,5500,1049,50,2277,1,2504,5,1217,5,501,1000,662,100,0,0,0,0,4100,1,0,0,0,0,0,0,0,0
|
||||
1994,BON_GUN_,Pet Bon Gun,Pet Bon Gun,32,3520,0,424,242,1,220,260,0,0,1,15,36,10,48,15,10,12,1,1,29,661,200,1720,500,420,1094,5500,7014,40,618,60,2337,2,609,15,508,1000,502,250,5046,1,0,0,4212,1,0,0,0,0,0,0,0,0
|
||||
|
||||
//Custom Fire Poring. Warning, Colides with META_DENIRO
|
||||
//1239,FIRE_PORING,Fire Poring,Fire Poring,1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,909,7000,1202,100,938,400,512,1000,713,1500,741,5,619,20,0,0,0,0,4001,20,0,0,0,0,0,0,0,0
|
||||
|
1596
sql-files/mob_db.sql
1596
sql-files/mob_db.sql
File diff suppressed because it is too large
Load Diff
@ -1,113 +1,112 @@
|
||||
--
|
||||
-- Table structure for table `mob_db2`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `mob_db2`;
|
||||
CREATE TABLE `mob_db2` (
|
||||
`ID` mediumint(9) unsigned NOT NULL default '0',
|
||||
`Name` text NOT NULL,
|
||||
`Name2` text NOT NULL,
|
||||
`LV` tinyint(6) unsigned NOT NULL default '0',
|
||||
`HP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`SP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`EXP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`JEXP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`Range1` tinyint(4) unsigned NOT NULL default '0',
|
||||
`ATK1` smallint(6) unsigned NOT NULL default '0',
|
||||
`ATK2` smallint(6) unsigned NOT NULL default '0',
|
||||
`DEF` smallint(6) unsigned NOT NULL default '0',
|
||||
`MDEF` smallint(6) unsigned NOT NULL default '0',
|
||||
`STR` tinyint(4) unsigned NOT NULL default '0',
|
||||
`AGI` tinyint(4) unsigned NOT NULL default '0',
|
||||
`VIT` tinyint(4) unsigned NOT NULL default '0',
|
||||
`INT` tinyint(4) unsigned NOT NULL default '0',
|
||||
`DEX` tinyint(4) unsigned NOT NULL default '0',
|
||||
`LUK` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Range2` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Range3` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Scale` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Race` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Element` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Mode` smallint(6) unsigned NOT NULL default '0',
|
||||
`Speed` smallint(6) unsigned NOT NULL default '0',
|
||||
`ADelay` smallint(6) unsigned NOT NULL default '0',
|
||||
`aMotion` smallint(6) unsigned NOT NULL default '0',
|
||||
`dMotion` smallint(6) unsigned NOT NULL default '0',
|
||||
`Drop1id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop1per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop2id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop2per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop3id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop3per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop4id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop4per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop5id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop5per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop6id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop6per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop7id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop7per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop8id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop8per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop9id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop9per` smallint(9) unsigned NOT NULL default '0',
|
||||
`DropCardid` smallint(9) unsigned NOT NULL default '0',
|
||||
`DropCardper` smallint(9) unsigned NOT NULL default '0',
|
||||
`MEXP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`ExpPer` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP1id` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP1per` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP2id` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP2per` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP3id` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP3per` smallint(9) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`ID`)
|
||||
) TYPE=MyISAM;
|
||||
|
||||
|
||||
-- Crusader quest monsters with poring stats (No drops)
|
||||
REPLACE INTO `mob_db2` VALUES (1910,'C_GHOUL','Ghoul',1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1911,'C_KHALITZBURG','Khalitzburg',1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1912,'C_INJUSTICE','Injustice',1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1913,'C_REQUIEM','Requiem',1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1914,'C_RAYDRIC_ARCHER','Raydric Archer',1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
|
||||
-- Easter Event Monsters
|
||||
REPLACE INTO `mob_db2` VALUES (1920,'EASTER_EGG','Easter Egg',3,300,0,4,4,0,1,2,20,20,1,1,1,1,1,20,10,12,0,0,60,128,1000,1001,1,1,1010,250,935,500,558,300,501,200,501,200,713,800,558,300,558,300,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1921,'EASTER_BUNNY','Easter Bunny',6,1800,0,60,55,1,20,26,0,40,1,36,6,1,11,80,10,10,0,2,60,181,200,1456,456,336,2250,200,515,8000,727,1200,746,1500,706,30,622,50,534,5000,0,0,0,0,4006,70,0,0,0,0,0,0,0,0);
|
||||
|
||||
-- eAthena Dev Team
|
||||
REPLACE INTO `mob_db2` VALUES (1900,'VALARIS','Valaris',99,668000,0,107250,37895,2,3220,4040,35,45,1,152,96,85,120,95,10,10,2,6,67,1973,100,1068,768,576,1466,200,2256,200,2607,800,714,500,617,3000,984,4300,985,5600,0,0,0,0,4147,1,13000,5000,608,1000,750,400,923,3800);
|
||||
REPLACE INTO `mob_db2` VALUES (1901,'VALARIS_WORSHIPPER','Valaris\'s Worshipper',50,8578,0,2706,1480,1,487,590,15,25,1,75,55,1,93,45,10,12,0,6,27,1685,100,868,480,120,923,500,984,63,1464,2,607,50,610,100,503,300,2405,50,0,0,0,0,4129,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1902,'MC_CAMERI','MC Cameri',99,668000,0,107250,37895,2,3220,4040,35,45,1,152,96,85,120,95,10,10,2,6,67,1973,100,1068,768,576,1466,200,2256,200,2607,800,714,500,617,3000,984,4300,985,5600,0,0,0,0,4147,1,13000,5000,608,1000,750,400,923,3800);
|
||||
REPLACE INTO `mob_db2` VALUES (1903,'POKI','Poki#3',99,1349000,0,4093000,1526000,9,4892,9113,22,35,1,180,39,67,193,130,10,12,1,7,64,1973,120,500,672,480,1228,100,1236,500,617,2500,1234,75,1237,125,1722,250,1724,100,1720,50,0,0,0,0,92100,7000,603,5500,617,3000,1723,1000);
|
||||
|
||||
-- Mobs used for eAthena's Custom Equipped Mobs
|
||||
REPLACE INTO `mob_db2` VALUES (1970,'PORING_','Pet Poring',1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,909,7000,1202,100,938,400,512,1000,713,1500,741,5,619,20,0,0,0,0,4001,20,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1971,'CHONCHON__','Pet ChonChon',4,67,0,5,4,1,10,13,10,0,1,10,4,5,12,2,10,12,0,4,24,129,200,1076,576,480,998,50,935,6500,909,1500,1205,55,601,100,742,5,1002,150,0,0,0,0,4009,5,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1972,'SPORE_','Pet Spore',9,327,0,22,17,1,24,29,0,5,1,9,9,1,14,5,10,12,1,3,21,129,200,1872,672,288,921,5000,507,800,510,50,743,5,2220,40,921,5,578,100,0,0,0,0,4022,5,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1973,'PECOPECO_','Pet Peco Peco',13,531,0,85,36,1,35,46,0,0,1,13,13,25,27,9,10,12,2,2,23,649,200,1564,864,576,925,5500,2402,20,508,50,507,900,1604,100,582,60,0,0,0,0,0,0,4031,3,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1974,'ORK_WARRIOR_','Pet Orc Warrior',24,1400,0,261,160,1,104,126,10,5,1,24,48,25,34,10,10,12,1,7,22,2693,200,1864,864,288,998,210,931,5500,756,40,2267,3,1352,10,1304,5,1301,100,0,0,0,0,4066,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1975,'MUNAK_','Pet Munak',30,2872,0,361,218,1,180,230,0,0,1,15,20,5,46,15,10,12,1,1,29,2693,200,2468,768,288,901,5500,2264,1,2404,15,609,20,2337,1,2305,100,1558,5,0,0,0,0,4090,3,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1976,'ISIS_','Pet Isis',43,4828,0,2396,993,1,423,507,10,35,1,65,43,30,72,15,10,12,2,6,27,661,200,1384,768,336,936,5500,2233,5,2603,1,733,150,732,20,954,1000,731,5,0,0,0,0,4116,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1977,'POPORING_','Pet Poporing',14,344,0,81,44,1,59,72,0,10,1,14,14,1,19,15,10,12,1,3,25,131,300,1672,672,480,938,5500,910,1500,511,500,514,200,729,5,0,0,0,0,0,0,0,0,4033,5,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1978,'HUNTER_FLY_','Pet Hunter Fly',42,5242,0,1517,952,1,246,333,25,15,1,105,32,15,72,30,10,12,0,4,44,2693,150,676,576,480,996,30,999,100,943,5500,912,1300,756,129,2259,1,1226,2,0,0,0,0,4115,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1979,'STEEL_CHONCHON_','Pet Steel ChonChon',17,530,0,109,71,1,54,65,15,0,1,43,17,5,33,10,10,12,0,4,24,651,150,1076,576,480,992,70,999,30,910,2400,935,3500,943,30,998,200,1002,500,0,0,0,0,4042,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1980,'PICKY__','Pet Picky',3,80,0,4,3,1,9,12,0,0,1,3,3,5,10,30,10,12,0,2,23,129,200,988,288,168,916,6500,949,700,2302,150,507,550,519,300,715,50,0,0,0,0,0,0,4008,10,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1981,'ROCKER_','Pet Rocker',9,198,0,20,16,1,24,29,5,10,1,9,18,10,14,15,10,12,1,4,22,129,200,1864,864,540,940,5000,909,5500,2298,4,1402,80,520,10,752,5,703,3,0,0,0,0,4021,10,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1982,'SMOKIE_','Pet Smokie',18,641,0,134,86,1,61,72,0,10,1,18,36,25,26,35,10,12,0,2,22,145,200,1576,576,420,945,5500,919,5500,516,800,2213,2,754,2,912,6,729,3,0,0,0,0,4044,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1983,'YOYO_','Pet Yoyo',19,879,0,148,93,1,71,82,0,0,1,24,30,35,32,55,10,12,0,2,22,651,200,1054,54,384,942,5500,513,1500,508,100,919,5000,753,5,756,24,578,200,0,0,0,0,4051,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1984,'LUNATIC_','Pet Lunatic',3,60,0,6,2,1,9,12,0,20,1,3,3,10,8,60,10,12,0,2,60,129,200,1456,456,336,705,6500,949,1000,2262,4,1102,100,512,600,515,1100,622,20,0,0,0,0,4006,15,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1985,'POISON_SPORE_','Pet Poison Spore',19,665,0,186,93,1,89,101,0,0,1,19,25,1,24,1,10,12,1,3,25,2693,200,1672,672,288,7033,5500,2221,20,511,550,510,50,972,30,921,1200,912,6,0,0,0,0,4048,2,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1986,'BAPHOMET__','Pet Baphomet Jr.',50,8578,0,2706,1480,1,487,590,15,25,1,75,55,1,93,45,10,12,0,6,27,1685,100,868,480,120,923,500,984,63,1464,2,607,50,610,100,503,300,2405,50,0,0,0,0,4129,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1987,'DESERT_WOLF_B_','Pet Baby Desert Wolf',9,164,0,20,16,1,30,36,0,0,1,9,9,5,21,40,10,12,0,2,23,649,300,1600,900,240,1010,85,919,5500,2306,60,517,600,2301,200,0,0,0,0,0,0,0,0,4023,10,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1988,'DEVIRUCHI_','Pet Deviruchi',46,7360,0,2662,1278,1,475,560,10,25,1,69,40,55,87,30,10,12,0,6,27,1685,150,980,600,384,1038,5500,1039,400,0,0,1458,2,1009,5,912,1500,756,154,0,0,0,0,4122,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1989,'DOKEBI__','Pet Dokebi',33,2697,0,889,455,1,197,249,0,10,1,50,40,35,69,40,10,12,0,6,27,145,250,1156,456,384,1021,5500,757,112,1517,2,1613,1,969,1,1501,300,1005,5,0,0,0,0,4098,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1990,'DROPS_','Pet Drops',3,55,0,4,3,1,10,13,0,0,1,3,3,1,12,15,10,12,1,3,23,131,400,1452,672,480,909,7500,1602,80,938,500,512,1100,713,1700,741,5,620,20,0,0,0,0,4004,10,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1991,'PETIT__','Pet Earth Petite',44,6881,0,1677,1034,1,360,427,30,30,1,44,62,69,79,60,10,12,1,9,22,661,200,1624,620,384,1035,5500,1037,300,756,140,509,1000,1510,150,912,1500,606,15,0,0,0,0,4118,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1992,'SAVAGE_BABE_','Pet Savage Babe',7,182,0,14,12,1,20,25,0,0,1,7,14,5,12,35,10,12,0,2,22,129,400,1624,624,576,919,5500,1302,100,517,500,1750,1000,949,850,1010,80,627,20,0,0,0,0,4017,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1993,'SOHEE_','Pet Sohee',33,5628,0,739,455,1,210,251,0,10,1,33,33,10,58,15,10,12,1,6,21,145,300,2112,912,576,1020,5500,1049,50,2277,1,2504,5,1217,5,501,1000,662,100,0,0,0,0,4100,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db2` VALUES (1994,'BON_GUN_','Pet Bon Gun',32,3520,0,424,242,1,220,260,0,0,1,15,36,10,48,15,10,12,1,1,29,661,200,1720,500,420,1094,5500,7014,40,618,60,2337,2,609,15,508,1000,502,250,5046,1,0,0,4212,1,0,0,0,0,0,0,0,0);
|
||||
|
||||
-- Custom Fire Poring. Warning, Colides with META_DENIRO
|
||||
-- REPLACE INTO `mob_db2` VALUES (1239,'FIRE_PORING','Fire Poring',1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,909,7000,1202,100,938,400,512,1000,713,1500,741,5,619,20,0,0,0,0,4001,20,0,0,0,0,0,0,0,0);
|
||||
--
|
||||
-- Table structure for table `mob_db`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `mob_db2`;
|
||||
CREATE TABLE `mob_db2` (
|
||||
`ID` mediumint(9) unsigned NOT NULL default '0',
|
||||
`Sprite` text NOT NULL,
|
||||
`Name` text NOT NULL,
|
||||
`Name2` text NOT NULL,
|
||||
`LV` tinyint(6) unsigned NOT NULL default '0',
|
||||
`HP` int(9) unsigned NOT NULL default '0',
|
||||
`SP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`EXP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`JEXP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`Range1` tinyint(4) unsigned NOT NULL default '0',
|
||||
`ATK1` smallint(6) unsigned NOT NULL default '0',
|
||||
`ATK2` smallint(6) unsigned NOT NULL default '0',
|
||||
`DEF` smallint(6) unsigned NOT NULL default '0',
|
||||
`MDEF` smallint(6) unsigned NOT NULL default '0',
|
||||
`STR` tinyint(4) unsigned NOT NULL default '0',
|
||||
`AGI` tinyint(4) unsigned NOT NULL default '0',
|
||||
`VIT` tinyint(4) unsigned NOT NULL default '0',
|
||||
`INT` tinyint(4) unsigned NOT NULL default '0',
|
||||
`DEX` tinyint(4) unsigned NOT NULL default '0',
|
||||
`LUK` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Range2` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Range3` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Scale` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Race` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Element` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Mode` smallint(6) unsigned NOT NULL default '0',
|
||||
`Speed` smallint(6) unsigned NOT NULL default '0',
|
||||
`ADelay` smallint(6) unsigned NOT NULL default '0',
|
||||
`aMotion` smallint(6) unsigned NOT NULL default '0',
|
||||
`dMotion` smallint(6) unsigned NOT NULL default '0',
|
||||
`Drop1id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop1per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop2id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop2per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop3id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop3per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop4id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop4per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop5id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop5per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop6id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop6per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop7id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop7per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop8id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop8per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop9id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop9per` smallint(9) unsigned NOT NULL default '0',
|
||||
`DropCardid` smallint(9) unsigned NOT NULL default '0',
|
||||
`DropCardper` smallint(9) unsigned NOT NULL default '0',
|
||||
`MEXP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`ExpPer` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP1id` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP1per` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP2id` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP2per` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP3id` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP3per` smallint(9) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`ID`)
|
||||
) TYPE=MyISAM;
|
||||
|
||||
REPLACE INTO `mob_db` VALUES (1910,'C_GHOUL','Ghoul','Ghoul',1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1911,'C_KHALITZBURG','Khalitzburg','Khalitzburg',1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1912,'C_INJUSTICE','Injustice','Injustice',1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1913,'C_REQUIEM','Requiem','Requiem',1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1914,'C_RAYDRIC_ARCHER','Raydric Archer','Raydric Archer',1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
--
|
||||
-- // Easter Event Monsters
|
||||
REPLACE INTO `mob_db` VALUES (1920,'EASTER_EGG','Easter Egg','Easter Egg',3,300,0,4,4,0,1,2,20,20,1,1,1,1,1,20,10,12,0,0,60,128,1000,1001,1,1,1010,250,935,500,558,300,501,200,501,200,713,800,558,300,558,300,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1921,'EASTER_BUNNY','Easter Bunny','Easter Bunny',6,1800,0,60,55,1,20,26,0,40,1,36,6,1,11,80,10,10,0,2,60,181,200,1456,456,336,2250,200,515,8000,727,1200,746,1500,706,30,622,50,534,5000,0,0,0,0,4006,70,0,0,0,0,0,0,0,0);
|
||||
--
|
||||
-- // eAthena Dev Team
|
||||
REPLACE INTO `mob_db` VALUES (1900,'VALARIS','Valaris','Valaris',99,668000,0,107250,37895,2,3220,4040,35,45,1,152,96,85,120,95,10,10,2,6,67,1973,100,1068,768,576,1466,200,2256,200,2607,800,714,500,617,3000,984,4300,985,5600,0,0,0,0,4147,1,13000,5000,608,1000,750,400,923,3800);
|
||||
REPLACE INTO `mob_db` VALUES (1901,'VALARIS_WORSHIPPER','Valaris\'s Worshipper','Valaris\'s Worshipper',50,8578,0,2706,1480,1,487,590,15,25,1,75,55,1,93,45,10,12,0,6,27,1685,100,868,480,120,923,500,984,63,1464,2,607,50,610,100,503,300,2405,50,0,0,0,0,4129,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1902,'MC_CAMERI','MC Cameri','MC Cameri',99,668000,0,107250,37895,2,3220,4040,35,45,1,152,96,85,120,95,10,10,2,6,67,1973,100,1068,768,576,1466,200,2256,200,2607,800,714,500,617,3000,984,4300,985,5600,0,0,0,0,4147,1,13000,5000,608,1000,750,400,923,3800);
|
||||
REPLACE INTO `mob_db` VALUES (1903,'POKI','Poki#3','Poki#3',99,1349000,0,4093000,1526000,9,4892,9113,22,35,1,180,39,67,193,130,10,12,1,7,64,1973,120,500,672,480,1228,100,1236,500,617,2500,1234,75,1237,125,1722,250,1724,100,1720,50,0,0,0,0,92100,7000,603,5500,617,3000,1723,1000);
|
||||
--
|
||||
-- // Mobs used for eAthena's Custom Equipped Mobs
|
||||
REPLACE INTO `mob_db` VALUES (1970,'PORING_','Pet Poring','Pet Poring',1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,909,7000,1202,100,938,400,512,1000,713,1500,741,5,619,20,0,0,0,0,4001,20,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1971,'CHONCHON__','Pet Chonchon','Pet Chonchon',4,67,0,5,4,1,10,13,10,0,1,10,4,5,12,2,10,12,0,4,24,129,200,1076,576,480,998,50,935,6500,909,1500,1205,55,601,100,742,5,1002,150,0,0,0,0,4009,5,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1972,'SPORE_','Pet Spore','Pet Spore',9,327,0,22,17,1,24,29,0,5,1,9,9,1,14,5,10,12,1,3,21,129,200,1872,672,288,921,5000,507,800,510,50,743,5,2220,40,921,5,578,100,0,0,0,0,4022,5,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1973,'PECOPECO_','Pet Peco Peco','Pet Peco Peco',13,531,0,85,36,1,35,46,0,0,1,13,13,25,27,9,10,12,2,2,23,649,200,1564,864,576,925,5500,2402,20,508,50,507,900,1604,100,582,60,0,0,0,0,0,0,4031,3,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1974,'ORK_WARRIOR_','Pet Orc Warrior','Pet Orc Warrior',24,1400,0,261,160,1,104,126,10,5,1,24,48,25,34,10,10,12,1,7,22,2693,200,1864,864,288,998,210,931,5500,756,40,2267,3,1352,10,1304,5,1301,100,0,0,0,0,4066,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1975,'MUNAK_','Pet Munak','Pet Munak',30,2872,0,361,218,1,180,230,0,0,1,15,20,5,46,15,10,12,1,1,29,2693,200,2468,768,288,901,5500,2264,1,2404,15,609,20,2337,1,2305,100,1558,5,0,0,0,0,4090,3,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1976,'ISIS_','Pet Isis','Pet Isis',43,4828,0,2396,993,1,423,507,10,35,1,65,43,30,72,15,10,12,2,6,27,661,200,1384,768,336,936,5500,2233,5,2603,1,733,150,732,20,954,1000,731,5,0,0,0,0,4116,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1977,'POPORING_','Pet Poporing','Pet Poporing',14,344,0,81,44,1,59,72,0,10,1,14,14,1,19,15,10,12,1,3,25,131,300,1672,672,480,938,5500,910,1500,511,500,514,200,729,5,0,0,0,0,0,0,0,0,4033,5,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1978,'HUNTER_FLY_','Pet Hunter Fly','Pet Hunter Fly',42,5242,0,1517,952,1,246,333,25,15,1,105,32,15,72,30,10,12,0,4,44,2693,150,676,576,480,996,30,999,100,943,5500,912,1300,756,129,2259,1,1226,2,0,0,0,0,4115,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1979,'STEEL_CHONCHON_','Pet Steel Chonchon','Pet Steel Chonchon',17,530,0,109,71,1,54,65,15,0,1,43,17,5,33,10,10,12,0,4,24,651,150,1076,576,480,992,70,999,30,910,2400,935,3500,943,30,998,200,1002,500,0,0,0,0,4042,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1980,'PICKY__','Pet Picky','Pet Picky',3,80,0,4,3,1,9,12,0,0,1,3,3,5,10,30,10,12,0,2,23,129,200,988,288,168,916,6500,949,700,2302,150,507,550,519,300,715,50,0,0,0,0,0,0,4008,10,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1981,'ROCKER_','Pet Rocker','Pet Rocker',9,198,0,20,16,1,24,29,5,10,1,9,18,10,14,15,10,12,1,4,22,129,200,1864,864,540,940,5000,909,5500,2298,4,1402,80,520,10,752,5,703,3,0,0,0,0,4021,10,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1982,'SMOKIE_','Pet Smokie','Pet Smokie',18,641,0,134,86,1,61,72,0,10,1,18,36,25,26,35,10,12,0,2,22,145,200,1576,576,420,945,5500,919,5500,516,800,2213,2,754,2,912,6,729,3,0,0,0,0,4044,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1983,'YOYO_','Pet Yoyo','Pet Yoyo',19,879,0,148,93,1,71,82,0,0,1,24,30,35,32,55,10,12,0,2,22,651,200,1054,54,384,942,5500,513,1500,508,100,919,5000,753,5,756,24,578,200,0,0,0,0,4051,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1984,'LUNATIC_','Pet Lunatic','Pet Lunatic',3,60,0,6,2,1,9,12,0,20,1,3,3,10,8,60,10,12,0,2,60,129,200,1456,456,336,705,6500,949,1000,2262,4,1102,100,512,600,515,1100,622,20,0,0,0,0,4006,15,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1985,'POISON_SPORE_','Pet Poison Spore','Pet Poison Spore',19,665,0,186,93,1,89,101,0,0,1,19,25,1,24,1,10,12,1,3,25,2693,200,1672,672,288,7033,5500,2221,20,511,550,510,50,972,30,921,1200,912,6,0,0,0,0,4048,2,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1986,'BAPHOMET__','Pet Baphomet Jr.','Pet Baphomet Jr.',50,8578,0,2706,1480,1,487,590,15,25,1,75,55,1,93,45,10,12,0,6,27,1685,100,868,480,120,923,500,984,63,1464,2,607,50,610,100,503,300,2405,50,0,0,0,0,4129,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1987,'DESERT_WOLF_B_','Pet Baby Desert Wolf','Pet Baby Desert Wolf',9,164,0,20,16,1,30,36,0,0,1,9,9,5,21,40,10,12,0,2,23,649,300,1600,900,240,1010,85,919,5500,2306,60,517,600,2301,200,0,0,0,0,0,0,0,0,4023,10,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1988,'DEVIRUCHI_','Pet Deviruchi','Pet Deviruchi',46,7360,0,2662,1278,1,475,560,10,25,1,69,40,55,87,30,10,12,0,6,27,1685,150,980,600,384,1038,5500,1039,400,0,0,1458,2,1009,5,912,1500,756,154,0,0,0,0,4122,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1989,'DOKEBI__','Pet Dokebi','Pet Dokebi',33,2697,0,889,455,1,197,249,0,10,1,50,40,35,69,40,10,12,0,6,27,145,250,1156,456,384,1021,5500,757,112,1517,2,1613,1,969,1,1501,300,1005,5,0,0,0,0,4098,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1990,'DROPS_','Pet Drops','Pet Drops',3,55,0,4,3,1,10,13,0,0,1,3,3,1,12,15,10,12,1,3,23,131,400,1452,672,480,909,7500,1602,80,938,500,512,1100,713,1700,741,5,620,20,0,0,0,0,4004,10,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1991,'PETIT__','Pet Earth Petite','Pet Earth Petite',44,6881,0,1677,1034,1,360,427,30,30,1,44,62,69,79,60,10,12,1,9,22,661,200,1624,620,384,1035,5500,1037,300,756,140,509,1000,1510,150,912,1500,606,15,0,0,0,0,4118,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1992,'SAVAGE_BABE_','Pet Savage Babe','Pet Savage Babe',7,182,0,14,12,1,20,25,0,0,1,7,14,5,12,35,10,12,0,2,22,129,400,1624,624,576,919,5500,1302,100,517,500,1750,1000,949,850,1010,80,627,20,0,0,0,0,4017,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1993,'SOHEE_','Pet Sohee','Pet Sohee',33,5628,0,739,455,1,210,251,0,10,1,33,33,10,58,15,10,12,1,6,21,145,300,2112,912,576,1020,5500,1049,50,2277,1,2504,5,1217,5,501,1000,662,100,0,0,0,0,4100,1,0,0,0,0,0,0,0,0);
|
||||
REPLACE INTO `mob_db` VALUES (1994,'BON_GUN_','Pet Bon Gun','Pet Bon Gun',32,3520,0,424,242,1,220,260,0,0,1,15,36,10,48,15,10,12,1,1,29,661,200,1720,500,420,1094,5500,7014,40,618,60,2337,2,609,15,508,1000,502,250,5046,1,0,0,4212,1,0,0,0,0,0,0,0,0);
|
||||
--
|
||||
-- //Custom Fire Poring. Warning,' Colides with META_DENIRO'
|
||||
-- //1239,'FIRE_PORING','Fire Poring','Fire Poring',1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,131,400,1872,672,480,909,7000,1202,100,938,400,512,1000,713,1500,741,5,619,20,0,0,0,0,4001,20,0,0,0,0,0,0,0,0);
|
||||
|
@ -3884,6 +3884,8 @@ static const struct battle_data_short {
|
||||
{ "mob_max_status_def", &battle_config.mob_max_sc_def },
|
||||
{ "sg_miracle_skill_ratio", &battle_config.sg_miracle_skill_ratio },
|
||||
{ "autospell_stacking", &battle_config.autospell_stacking },
|
||||
{ "override_mob_names", &battle_config.override_mob_names },
|
||||
|
||||
};
|
||||
|
||||
static const struct battle_data_int {
|
||||
@ -4285,6 +4287,7 @@ void battle_set_defaults() {
|
||||
battle_config.sg_miracle_skill_ratio=1;
|
||||
battle_config.sg_miracle_skill_duration=600000;
|
||||
battle_config.autospell_stacking = 0;
|
||||
battle_config.override_mob_names = 0;
|
||||
}
|
||||
|
||||
void battle_validate_conf() {
|
||||
|
@ -422,6 +422,7 @@ extern struct Battle_Config {
|
||||
unsigned short sg_miracle_skill_ratio;
|
||||
int sg_miracle_skill_duration;
|
||||
unsigned short autospell_stacking; //Enables autospell cards to stack. [Skotlex]
|
||||
unsigned short override_mob_names; //Enables overriding spawn mob names with the mob_db names. [Skotlex]
|
||||
|
||||
} battle_config;
|
||||
|
||||
|
173
src/map/mob.c
173
src/map/mob.c
@ -74,7 +74,7 @@ int mobdb_searchname(const char *str)
|
||||
mob = mob_db(i);
|
||||
if(mob == mob_dummy) //Skip dummy mobs.
|
||||
continue;
|
||||
if(strcmpi(mob->name,str)==0 || strcmp(mob->jname,str)==0 ||
|
||||
if(strcmpi(mob->name,str)==0 || strcmpi(mob->jname,str)==0 ||
|
||||
memcmp(mob->name,str,NAME_LENGTH)==0 || memcmp(mob->jname,str,NAME_LENGTH)==0)
|
||||
return i;
|
||||
}
|
||||
@ -174,9 +174,9 @@ int mob_parse_dataset(struct spawn_data *data) {
|
||||
if (!data->level)
|
||||
data->level = mob_db(data->class_)->lv;
|
||||
|
||||
if(strcmp(data->name,"--en--")==0)
|
||||
if(battle_config.override_mob_names==1 || strcmp(data->name,"--en--")==0)
|
||||
strncpy(data->name,mob_db(data->class_)->name,NAME_LENGTH-1);
|
||||
else if(strcmp(data->name,"--ja--")==0)
|
||||
else if(battle_config.override_mob_names==2 || strcmp(data->name,"--ja--")==0)
|
||||
strncpy(data->name,mob_db(data->class_)->jname,NAME_LENGTH-1);
|
||||
|
||||
return 1;
|
||||
@ -625,6 +625,8 @@ int mob_spawn (struct mob_data *md)
|
||||
md->speed=md->db->speed;
|
||||
if (md->spawn)
|
||||
memcpy(md->name,md->spawn->name,NAME_LENGTH);
|
||||
else if (battle_config.override_mob_names == 1)
|
||||
memcpy(md->name,md->db->name,NAME_LENGTH);
|
||||
else
|
||||
memcpy(md->name,md->db->jname,NAME_LENGTH);
|
||||
}
|
||||
@ -1990,7 +1992,7 @@ int mob_damage(struct block_list *src,struct mob_data *md,int damage,int type)
|
||||
struct item_data *i_data;
|
||||
char message[128];
|
||||
i_data = itemdb_search(ditem->item_data.nameid);
|
||||
sprintf (message, msg_txt(541), (mvp_sd?mvp_sd->status.name:"???"), md->db->jname, i_data->jname, (float)drop_rate/100);
|
||||
sprintf (message, msg_txt(541), (mvp_sd?mvp_sd->status.name:"???"), md->name, i_data->jname, (float)drop_rate/100);
|
||||
//MSG: "'%s' won %s's %s (chance: %%%0.02f)"
|
||||
intif_GMmessage(message,strlen(message)+1,0);
|
||||
}
|
||||
@ -2107,7 +2109,7 @@ int mob_damage(struct block_list *src,struct mob_data *md,int damage,int type)
|
||||
struct item_data *i_data;
|
||||
char message[128];
|
||||
i_data = itemdb_exists(item.nameid);
|
||||
sprintf (message, msg_txt(541), mvp_sd?mvp_sd->status.name :"???", md->db->jname, i_data->jname, (float)drop_rate/100);
|
||||
sprintf (message, msg_txt(541), mvp_sd?mvp_sd->status.name :"???", md->name, i_data->jname, (float)drop_rate/100);
|
||||
//MSG: "'%s' won %s's %s (chance: %%%0.02f)"
|
||||
intif_GMmessage(message,strlen(message)+1,0);
|
||||
}
|
||||
@ -2264,7 +2266,10 @@ int mob_class_change (struct mob_data *md, int class_)
|
||||
if(md->hp > md->max_hp) md->hp = md->max_hp;
|
||||
else if(md->hp < 1) md->hp = 1;
|
||||
|
||||
memcpy(md->name,md->db->jname,NAME_LENGTH-1);
|
||||
if (battle_config.override_mob_names==1)
|
||||
memcpy(md->name,md->db->name,NAME_LENGTH-1);
|
||||
else
|
||||
memcpy(md->name,md->db->jname,NAME_LENGTH-1);
|
||||
md->speed = md->db->speed;
|
||||
md->def_ele = md->db->element;
|
||||
|
||||
@ -2769,7 +2774,7 @@ int mobskill_use(struct mob_data *md, unsigned int tick, int event)
|
||||
} else {
|
||||
if (battle_config.error_log)
|
||||
ShowWarning("Wrong mob skill target 'around' for non-ground skill %d (%s). Mob %d - %s\n",
|
||||
ms[i].skill_id, skill_get_name(ms[i].skill_id), md->class_, md->db->jname);
|
||||
ms[i].skill_id, skill_get_name(ms[i].skill_id), md->class_, md->db->sprite);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
@ -2841,6 +2846,7 @@ int mob_clone_spawn(struct map_session_data *sd, char *map, int x, int y, const
|
||||
return 0;
|
||||
|
||||
mob_db_data[class_]=(struct mob_db*)aCalloc(1, sizeof(struct mob_db));
|
||||
sprintf(mob_db_data[class_]->sprite,sd->status.name);
|
||||
sprintf(mob_db_data[class_]->name,sd->status.name);
|
||||
sprintf(mob_db_data[class_]->jname,sd->status.name);
|
||||
mob_db_data[class_]->lv=status_get_lv(&sd->bl);
|
||||
@ -3044,7 +3050,8 @@ static int mob_makedummymobdb(int class_)
|
||||
}
|
||||
//Initialize dummy data.
|
||||
mob_dummy = (struct mob_db*)aCalloc(1, sizeof(struct mob_db)); //Initializing the dummy mob.
|
||||
sprintf(mob_dummy->name,"DUMMY");
|
||||
sprintf(mob_dummy->sprite,"DUMMY");
|
||||
sprintf(mob_dummy->name,"Dummy");
|
||||
sprintf(mob_dummy->jname,"Dummy");
|
||||
mob_dummy->lv=1;
|
||||
mob_dummy->max_hp=1000;
|
||||
@ -3137,13 +3144,14 @@ static int mob_readdb(void)
|
||||
mob_db_data[class_] = aCalloc(1, sizeof (struct mob_data));
|
||||
|
||||
mob_db_data[class_]->vd.class_ = class_;
|
||||
memcpy(mob_db_data[class_]->name, str[1], NAME_LENGTH-1);
|
||||
memcpy(mob_db_data[class_]->jname, str[2], NAME_LENGTH-1);
|
||||
mob_db_data[class_]->lv = atoi(str[3]);
|
||||
mob_db_data[class_]->max_hp = atoi(str[4]);
|
||||
mob_db_data[class_]->max_sp = atoi(str[5]);
|
||||
memcpy(mob_db_data[class_]->sprite, str[1], NAME_LENGTH-1);
|
||||
memcpy(mob_db_data[class_]->name, str[2], NAME_LENGTH-1);
|
||||
memcpy(mob_db_data[class_]->jname, str[3], NAME_LENGTH-1);
|
||||
mob_db_data[class_]->lv = atoi(str[4]);
|
||||
mob_db_data[class_]->max_hp = atoi(str[5]);
|
||||
mob_db_data[class_]->max_sp = atoi(str[6]);
|
||||
|
||||
exp = (double)atoi(str[6]) * (double)battle_config.base_exp_rate / 100.;
|
||||
exp = (double)atoi(str[7]) * (double)battle_config.base_exp_rate / 100.;
|
||||
if (exp < 0)
|
||||
mob_db_data[class_]->base_exp = 0;
|
||||
if (exp > UINT_MAX)
|
||||
@ -3151,7 +3159,7 @@ static int mob_readdb(void)
|
||||
else
|
||||
mob_db_data[class_]->base_exp = (unsigned int)exp;
|
||||
|
||||
exp = (double)atoi(str[7]) * (double)battle_config.job_exp_rate / 100.;
|
||||
exp = (double)atoi(str[8]) * (double)battle_config.job_exp_rate / 100.;
|
||||
if (exp < 0)
|
||||
mob_db_data[class_]->job_exp = 0;
|
||||
else if (exp > UINT_MAX)
|
||||
@ -3159,39 +3167,39 @@ static int mob_readdb(void)
|
||||
else
|
||||
mob_db_data[class_]->job_exp = (unsigned int)exp;
|
||||
|
||||
mob_db_data[class_]->range=atoi(str[8]);
|
||||
mob_db_data[class_]->atk1=atoi(str[9]);
|
||||
mob_db_data[class_]->atk2=atoi(str[10]);
|
||||
mob_db_data[class_]->def=atoi(str[11]);
|
||||
mob_db_data[class_]->mdef=atoi(str[12]);
|
||||
mob_db_data[class_]->str=atoi(str[13]);
|
||||
mob_db_data[class_]->agi=atoi(str[14]);
|
||||
mob_db_data[class_]->vit=atoi(str[15]);
|
||||
mob_db_data[class_]->int_=atoi(str[16]);
|
||||
mob_db_data[class_]->dex=atoi(str[17]);
|
||||
mob_db_data[class_]->luk=atoi(str[18]);
|
||||
mob_db_data[class_]->range2=atoi(str[19]);
|
||||
mob_db_data[class_]->range3=atoi(str[20]);
|
||||
mob_db_data[class_]->size=atoi(str[21]);
|
||||
mob_db_data[class_]->race=atoi(str[22]);
|
||||
mob_db_data[class_]->element=atoi(str[23]);
|
||||
mob_db_data[class_]->mode=atoi(str[24]);
|
||||
mob_db_data[class_]->speed=atoi(str[25]);
|
||||
mob_db_data[class_]->adelay=atoi(str[26]);
|
||||
mob_db_data[class_]->amotion=atoi(str[27]);
|
||||
mob_db_data[class_]->dmotion=atoi(str[28]);
|
||||
mob_db_data[class_]->range=atoi(str[9]);
|
||||
mob_db_data[class_]->atk1=atoi(str[10]);
|
||||
mob_db_data[class_]->atk2=atoi(str[11]);
|
||||
mob_db_data[class_]->def=atoi(str[12]);
|
||||
mob_db_data[class_]->mdef=atoi(str[13]);
|
||||
mob_db_data[class_]->str=atoi(str[14]);
|
||||
mob_db_data[class_]->agi=atoi(str[15]);
|
||||
mob_db_data[class_]->vit=atoi(str[16]);
|
||||
mob_db_data[class_]->int_=atoi(str[17]);
|
||||
mob_db_data[class_]->dex=atoi(str[18]);
|
||||
mob_db_data[class_]->luk=atoi(str[19]);
|
||||
mob_db_data[class_]->range2=atoi(str[20]);
|
||||
mob_db_data[class_]->range3=atoi(str[21]);
|
||||
mob_db_data[class_]->size=atoi(str[22]);
|
||||
mob_db_data[class_]->race=atoi(str[23]);
|
||||
mob_db_data[class_]->element=atoi(str[24]);
|
||||
mob_db_data[class_]->mode=atoi(str[25]);
|
||||
mob_db_data[class_]->speed=atoi(str[26]);
|
||||
mob_db_data[class_]->adelay=atoi(str[27]);
|
||||
mob_db_data[class_]->amotion=atoi(str[28]);
|
||||
mob_db_data[class_]->dmotion=atoi(str[29]);
|
||||
|
||||
for(i=0;i<10;i++){ // 8 -> 10 Lupus
|
||||
int rate = 0,rate_adjust,type,ratemin,ratemax;
|
||||
struct item_data *id;
|
||||
mob_db_data[class_]->dropitem[i].nameid=atoi(str[29+i*2]);
|
||||
mob_db_data[class_]->dropitem[i].nameid=atoi(str[30+i*2]);
|
||||
if (!mob_db_data[class_]->dropitem[i].nameid) {
|
||||
//No drop.
|
||||
mob_db_data[class_]->dropitem[i].p = 0;
|
||||
continue;
|
||||
}
|
||||
type = itemdb_type(mob_db_data[class_]->dropitem[i].nameid);
|
||||
rate = atoi(str[30+i*2]);
|
||||
rate = atoi(str[31+i*2]);
|
||||
if (class_ >= 1324 && class_ <= 1363)
|
||||
{ //Treasure box drop rates [Skotlex]
|
||||
rate_adjust = battle_config.item_rate_treasure;
|
||||
@ -3250,8 +3258,8 @@ static int mob_readdb(void)
|
||||
}
|
||||
}
|
||||
// MVP EXP Bonus, Chance: MEXP,ExpPer
|
||||
mob_db_data[class_]->mexp=atoi(str[49])*battle_config.mvp_exp_rate/100;
|
||||
mob_db_data[class_]->mexpper=atoi(str[50]);
|
||||
mob_db_data[class_]->mexp=atoi(str[50])*battle_config.mvp_exp_rate/100;
|
||||
mob_db_data[class_]->mexpper=atoi(str[51]);
|
||||
//Now that we know if it is an mvp or not,
|
||||
//apply battle_config modifiers [Skotlex]
|
||||
maxhp = (double)mob_db_data[class_]->max_hp;
|
||||
@ -3262,19 +3270,19 @@ static int mob_readdb(void)
|
||||
} else if (battle_config.monster_hp_rate != 100) //Normal mob
|
||||
maxhp = maxhp * (double)battle_config.monster_hp_rate /100.;
|
||||
if (maxhp < 1) maxhp = 1;
|
||||
else if (maxhp > 0x7fffffff) maxhp = 0x7fffffff;
|
||||
else if (maxhp > INT_MAX) maxhp = INT_MAX;
|
||||
mob_db_data[class_]->max_hp = (int)maxhp;
|
||||
|
||||
// MVP Drops: MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per
|
||||
for(i=0;i<3;i++){
|
||||
struct item_data *id;
|
||||
mob_db_data[class_]->mvpitem[i].nameid=atoi(str[51+i*2]);
|
||||
mob_db_data[class_]->mvpitem[i].nameid=atoi(str[52+i*2]);
|
||||
if (!mob_db_data[class_]->mvpitem[i].nameid) {
|
||||
//No item....
|
||||
mob_db_data[class_]->mvpitem[i].p = 0;
|
||||
continue;
|
||||
}
|
||||
mob_db_data[class_]->mvpitem[i].p= mob_drop_adjust(atoi(str[52+i*2]), battle_config.item_rate_mvp,
|
||||
mob_db_data[class_]->mvpitem[i].p= mob_drop_adjust(atoi(str[53+i*2]), battle_config.item_rate_mvp,
|
||||
battle_config.item_drop_mvp_min, battle_config.item_drop_mvp_max);
|
||||
|
||||
//calculate and store Max available drop chance of the MVP item
|
||||
@ -3288,7 +3296,7 @@ static int mob_readdb(void)
|
||||
}
|
||||
|
||||
if (mob_db_data[class_]->max_hp <= 0) {
|
||||
ShowWarning ("Mob %d (%s) has no HP, using poring data for it\n", class_, mob_db_data[class_]->jname);
|
||||
ShowWarning ("Mob %d (%s) has no HP, using poring data for it\n", class_, mob_db_data[class_]->name);
|
||||
mob_makedummymobdb(class_);
|
||||
}
|
||||
}
|
||||
@ -3561,7 +3569,7 @@ static int mob_readskilldb(void)
|
||||
if(i==MAX_MOBSKILL){
|
||||
if (mob_id != last_mob_id) {
|
||||
ShowWarning("mob_skill: readdb: too many skill! Line %d in %d[%s]\n",
|
||||
count,mob_id,mob_db_data[mob_id]->jname);
|
||||
count,mob_id,mob_db_data[mob_id]->sprite);
|
||||
last_mob_id = mob_id;
|
||||
}
|
||||
continue;
|
||||
@ -3583,7 +3591,7 @@ static int mob_readskilldb(void)
|
||||
if (mob_id < 0)
|
||||
ShowWarning("Invalid Skill ID (%d) for all mobs\n", j);
|
||||
else
|
||||
ShowWarning("Invalid Skill ID (%d) for mob %d (%s)\n", j, mob_id, mob_db_data[mob_id]->jname);
|
||||
ShowWarning("Invalid Skill ID (%d) for mob %d (%s)\n", j, mob_id, mob_db_data[mob_id]->sprite);
|
||||
continue;
|
||||
}
|
||||
ms->skill_id=j;
|
||||
@ -3761,13 +3769,14 @@ static int mob_read_sqldb(void)
|
||||
ln++;
|
||||
|
||||
mob_db_data[class_]->vd.class_ = class_;
|
||||
memcpy(mob_db_data[class_]->name, TO_STR(1), NAME_LENGTH-1);
|
||||
memcpy(mob_db_data[class_]->jname, TO_STR(2), NAME_LENGTH-1);
|
||||
mob_db_data[class_]->lv = TO_INT(3);
|
||||
mob_db_data[class_]->max_hp = TO_INT(4);
|
||||
mob_db_data[class_]->max_sp = TO_INT(5);
|
||||
memcpy(mob_db_data[class_]->sprite, TO_STR(1), NAME_LENGTH-1);
|
||||
memcpy(mob_db_data[class_]->name, TO_STR(2), NAME_LENGTH-1);
|
||||
memcpy(mob_db_data[class_]->jname, TO_STR(3), NAME_LENGTH-1);
|
||||
mob_db_data[class_]->lv = TO_INT(4);
|
||||
mob_db_data[class_]->max_hp = TO_INT(5);
|
||||
mob_db_data[class_]->max_sp = TO_INT(6);
|
||||
|
||||
exp = (double)TO_INT(6) * (double)battle_config.base_exp_rate / 100.;
|
||||
exp = (double)TO_INT(7) * (double)battle_config.base_exp_rate / 100.;
|
||||
if (exp < 0)
|
||||
mob_db_data[class_]->base_exp = 0;
|
||||
else if (exp > UINT_MAX)
|
||||
@ -3775,7 +3784,7 @@ static int mob_read_sqldb(void)
|
||||
else
|
||||
mob_db_data[class_]->base_exp = (unsigned int)exp;
|
||||
|
||||
exp = (double)TO_INT(7) * (double)battle_config.job_exp_rate / 100.;
|
||||
exp = (double)TO_INT(8) * (double)battle_config.job_exp_rate / 100.;
|
||||
if (exp < 0)
|
||||
mob_db_data[class_]->job_exp = 0;
|
||||
else if (exp > UINT_MAX)
|
||||
@ -3783,39 +3792,39 @@ static int mob_read_sqldb(void)
|
||||
else
|
||||
mob_db_data[class_]->job_exp = (unsigned int)exp;
|
||||
|
||||
mob_db_data[class_]->range = TO_INT(8);
|
||||
mob_db_data[class_]->atk1 = TO_INT(9);
|
||||
mob_db_data[class_]->atk2 = TO_INT(10);
|
||||
mob_db_data[class_]->def = TO_INT(11);
|
||||
mob_db_data[class_]->mdef = TO_INT(12);
|
||||
mob_db_data[class_]->str = TO_INT(13);
|
||||
mob_db_data[class_]->agi = TO_INT(14);
|
||||
mob_db_data[class_]->vit = TO_INT(15);
|
||||
mob_db_data[class_]->int_ = TO_INT(16);
|
||||
mob_db_data[class_]->dex = TO_INT(17);
|
||||
mob_db_data[class_]->luk = TO_INT(18);
|
||||
mob_db_data[class_]->range2 = TO_INT(19);
|
||||
mob_db_data[class_]->range3 = TO_INT(20);
|
||||
mob_db_data[class_]->size = TO_INT(21);
|
||||
mob_db_data[class_]->race = TO_INT(22);
|
||||
mob_db_data[class_]->element = TO_INT(23);
|
||||
mob_db_data[class_]->mode = TO_INT(24);
|
||||
mob_db_data[class_]->speed = TO_INT(25);
|
||||
mob_db_data[class_]->adelay = TO_INT(26);
|
||||
mob_db_data[class_]->amotion = TO_INT(27);
|
||||
mob_db_data[class_]->dmotion = TO_INT(28);
|
||||
mob_db_data[class_]->range = TO_INT(9);
|
||||
mob_db_data[class_]->atk1 = TO_INT(10);
|
||||
mob_db_data[class_]->atk2 = TO_INT(11);
|
||||
mob_db_data[class_]->def = TO_INT(12);
|
||||
mob_db_data[class_]->mdef = TO_INT(13);
|
||||
mob_db_data[class_]->str = TO_INT(14);
|
||||
mob_db_data[class_]->agi = TO_INT(15);
|
||||
mob_db_data[class_]->vit = TO_INT(16);
|
||||
mob_db_data[class_]->int_ = TO_INT(17);
|
||||
mob_db_data[class_]->dex = TO_INT(18);
|
||||
mob_db_data[class_]->luk = TO_INT(19);
|
||||
mob_db_data[class_]->range2 = TO_INT(20);
|
||||
mob_db_data[class_]->range3 = TO_INT(21);
|
||||
mob_db_data[class_]->size = TO_INT(22);
|
||||
mob_db_data[class_]->race = TO_INT(23);
|
||||
mob_db_data[class_]->element = TO_INT(24);
|
||||
mob_db_data[class_]->mode = TO_INT(25);
|
||||
mob_db_data[class_]->speed = TO_INT(26);
|
||||
mob_db_data[class_]->adelay = TO_INT(27);
|
||||
mob_db_data[class_]->amotion = TO_INT(28);
|
||||
mob_db_data[class_]->dmotion = TO_INT(29);
|
||||
|
||||
for (i = 0; i < 10; i++){ // 8 -> 10 Lupus
|
||||
int rate = 0, rate_adjust, type, ratemin, ratemax;
|
||||
struct item_data *id;
|
||||
mob_db_data[class_]->dropitem[i].nameid=TO_INT(29+i*2);
|
||||
mob_db_data[class_]->dropitem[i].nameid=TO_INT(30+i*2);
|
||||
if (!mob_db_data[class_]->dropitem[i].nameid) {
|
||||
//No drop.
|
||||
mob_db_data[class_]->dropitem[i].p = 0;
|
||||
continue;
|
||||
}
|
||||
type = itemdb_type(mob_db_data[class_]->dropitem[i].nameid);
|
||||
rate = TO_INT(30+i*2);
|
||||
rate = TO_INT(31+i*2);
|
||||
if (class_ >= 1324 && class_ <= 1363)
|
||||
{ //Treasure box drop rates [Skotlex]
|
||||
rate_adjust = battle_config.item_rate_treasure;
|
||||
@ -3874,8 +3883,8 @@ static int mob_read_sqldb(void)
|
||||
}
|
||||
}
|
||||
// MVP EXP Bonus, Chance: MEXP,ExpPer
|
||||
mob_db_data[class_]->mexp = TO_INT(49) * battle_config.mvp_exp_rate / 100;
|
||||
mob_db_data[class_]->mexpper = TO_INT(50);
|
||||
mob_db_data[class_]->mexp = TO_INT(50) * battle_config.mvp_exp_rate / 100;
|
||||
mob_db_data[class_]->mexpper = TO_INT(51);
|
||||
//Now that we know if it is an mvp or not,
|
||||
//apply battle_config modifiers [Skotlex]
|
||||
maxhp = (double)mob_db_data[class_]->max_hp;
|
||||
@ -3886,19 +3895,19 @@ static int mob_read_sqldb(void)
|
||||
} else if (battle_config.monster_hp_rate != 100) //Normal mob
|
||||
maxhp = maxhp * (double)battle_config.monster_hp_rate /100.;
|
||||
if (maxhp < 0) maxhp = 1;
|
||||
else if (maxhp > 0x7fffffff) maxhp = 0x7fffffff;
|
||||
else if (maxhp > INT_MAX) maxhp = INT_MAX;
|
||||
mob_db_data[class_]->max_hp = (int)maxhp;
|
||||
|
||||
// MVP Drops: MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per
|
||||
for (i=0; i<3; i++) {
|
||||
struct item_data *id;
|
||||
mob_db_data[class_]->mvpitem[i].nameid = TO_INT(51+i*2);
|
||||
mob_db_data[class_]->mvpitem[i].nameid = TO_INT(52+i*2);
|
||||
if (!mob_db_data[class_]->mvpitem[i].nameid) {
|
||||
//No item....
|
||||
mob_db_data[class_]->mvpitem[i].p = 0;
|
||||
continue;
|
||||
}
|
||||
mob_db_data[class_]->mvpitem[i].p = mob_drop_adjust(TO_INT(52+i*2),
|
||||
mob_db_data[class_]->mvpitem[i].p = mob_drop_adjust(TO_INT(53+i*2),
|
||||
battle_config.item_rate_mvp, battle_config.item_drop_mvp_min, battle_config.item_drop_mvp_max);
|
||||
|
||||
//calculate and store Max available drop chance of the MVP item
|
||||
@ -3911,7 +3920,7 @@ static int mob_read_sqldb(void)
|
||||
}
|
||||
}
|
||||
if (mob_db_data[class_]->max_hp <= 0) {
|
||||
ShowWarning ("Mob %d (%s) has no HP, using poring data for it\n", class_, mob_db_data[class_]->jname);
|
||||
ShowWarning ("Mob %d (%s) has no HP, using poring data for it\n", class_, mob_db_data[class_]->sprite);
|
||||
mob_makedummymobdb(class_);
|
||||
}
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ struct mob_skill {
|
||||
};
|
||||
|
||||
struct mob_db {
|
||||
char name[NAME_LENGTH],jname[NAME_LENGTH];
|
||||
char sprite[NAME_LENGTH],name[NAME_LENGTH],jname[NAME_LENGTH];
|
||||
unsigned short lv;
|
||||
int max_hp,max_sp;
|
||||
unsigned int base_exp,job_exp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user