Added RC2_Malangdo race groups (#6633)

This commit is contained in:
idk-whoami 2022-02-24 07:20:01 +07:00 committed by GitHub
parent 08192a35bc
commit 67d1261659
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 70 additions and 4 deletions

View File

@ -3187,6 +3187,8 @@ Body:
ChaseRange: 12
Size: Small
Race: Plant
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 2
WalkSpeed: 1000
@ -31938,6 +31940,8 @@ Body:
ChaseRange: 12
Size: Small
Race: Formless
RaceGroups:
Malangdo: true
Element: Earth
ElementLevel: 2
WalkSpeed: 300
@ -46109,6 +46113,8 @@ Body:
ChaseRange: 12
Size: Small
Race: Fish
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 1
WalkSpeed: 300
@ -46156,6 +46162,8 @@ Body:
ChaseRange: 12
Size: Small
Race: Fish
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 2
WalkSpeed: 300
@ -46203,6 +46211,8 @@ Body:
ChaseRange: 12
Size: Small
Race: Fish
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 1
WalkSpeed: 200
@ -46248,6 +46258,8 @@ Body:
ChaseRange: 12
Size: Small
Race: Fish
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 1
WalkSpeed: 200
@ -46297,6 +46309,8 @@ Body:
ChaseRange: 12
Size: Small
Race: Fish
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 2
WalkSpeed: 200
@ -46347,6 +46361,8 @@ Body:
ChaseRange: 12
Size: Small
Race: Insect
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 1
WalkSpeed: 150
@ -46394,6 +46410,8 @@ Body:
ChaseRange: 12
Size: Large
Race: Fish
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 3
WalkSpeed: 150
@ -46441,6 +46459,8 @@ Body:
ChaseRange: 12
Size: Large
Race: Fish
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 2
WalkSpeed: 200
@ -46488,6 +46508,8 @@ Body:
ChaseRange: 12
Size: Medium
Race: Fish
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 2
WalkSpeed: 150
@ -46535,6 +46557,8 @@ Body:
ChaseRange: 12
Size: Medium
Race: Fish
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 2
WalkSpeed: 190
@ -46584,6 +46608,8 @@ Body:
ChaseRange: 12
Size: Medium
Race: Demon
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 3
WalkSpeed: 200
@ -46631,6 +46657,8 @@ Body:
ChaseRange: 12
Size: Medium
Race: Demon
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 2
WalkSpeed: 165
@ -46728,6 +46756,8 @@ Body:
ChaseRange: 12
Size: Large
Race: Fish
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 2
WalkSpeed: 165
@ -46777,6 +46807,8 @@ Body:
ChaseRange: 12
Size: Large
Race: Fish
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 2
WalkSpeed: 165
@ -46825,6 +46857,8 @@ Body:
ChaseRange: 12
Size: Large
Race: Fish
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 2
WalkSpeed: 165
@ -46874,6 +46908,8 @@ Body:
ChaseRange: 12
Size: Large
Race: Fish
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 2
WalkSpeed: 165
@ -46948,6 +46984,8 @@ Body:
ChaseRange: 12
Size: Small
Race: Fish
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 2
WalkSpeed: 300
@ -46987,6 +47025,8 @@ Body:
ChaseRange: 12
Size: Small
Race: Fish
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 2
WalkSpeed: 300
@ -47027,6 +47067,8 @@ Body:
ChaseRange: 12
Size: Large
Race: Fish
RaceGroups:
Malangdo: true
Element: Water
ElementLevel: 2
WalkSpeed: 300

View File

@ -26,9 +26,11 @@ This list contains all available constants referenced in the 'bonus' commands.
RC_Insect, RC_Plant, RC_Player_Human (RC_Player deprecated), RC_Player_Doram, RC_Undead, RC_All
* Monster Race (mr)
RC2_Goblin, RC2_Kobold, RC2_Orc, RC2_Golem, RC2_Guardian, RC2_Ninja,
RC2_BioLab, RC2_SCARABA, RC2_FACEWORM, RC2_THANATOS, RC2_CLOCKTOWER, RC2_ROCKRIDGE
See 'db/(pre-)re/mob_race2_db.txt'
RC2_Goblin, RC2_Kobold, RC2_Orc, RC2_Golem, RC2_Guardian, RC2_Ninja, RC2_GVG, RC2_Battlefield,
RC2_Treasure, RC2_BioLab, RC2_Manuk, RC2_Splendide, RC2_Scaraba, RC2_OGH_ATK_DEF, RC2_OGH_Hidden,
RC2_Bio5_Swordman_Thief, RC2_Bio5_Acolyte_Merchant, RC2_Bio5_Mage_Archer, RC2_Bio5_MVP,
RC2_Clocktower, RC2_Thanatos, RC2_Faceworm, RC2_Hearthunter, RC2_Rockridge, RC2_Werner_Lab,
RC2_Temple_Demon, RC2_Illusion_Vampire, RC2_Malangdo
* Class (c)
Class_Normal, Class_Boss, Class_Guardian, Class_All

View File

@ -56,6 +56,7 @@ CREATE TABLE `mob_db` (
`racegroup_werner_lab` tinyint(1) unsigned DEFAULT NULL,
`racegroup_temple_demon` tinyint(1) unsigned DEFAULT NULL,
`racegroup_illusion_vampire` tinyint(1) unsigned DEFAULT NULL,
`racegroup_malangdo` tinyint(1) unsigned DEFAULT NULL,
`element` varchar(24) DEFAULT NULL,
`element_level` tinyint(4) unsigned DEFAULT NULL,
`walk_speed` smallint(6) unsigned DEFAULT NULL,

View File

@ -56,6 +56,7 @@ CREATE TABLE `mob_db2` (
`racegroup_werner_lab` tinyint(1) unsigned DEFAULT NULL,
`racegroup_temple_demon` tinyint(1) unsigned DEFAULT NULL,
`racegroup_illusion_vampire` tinyint(1) unsigned DEFAULT NULL,
`racegroup_malangdo` tinyint(1) unsigned DEFAULT NULL,
`element` varchar(24) DEFAULT NULL,
`element_level` tinyint(4) unsigned DEFAULT NULL,
`walk_speed` smallint(6) unsigned DEFAULT NULL,

View File

@ -58,6 +58,7 @@ CREATE TABLE `mob_db2_re` (
`racegroup_werner_lab` tinyint(1) unsigned DEFAULT NULL,
`racegroup_temple_demon` tinyint(1) unsigned DEFAULT NULL,
`racegroup_illusion_vampire` tinyint(1) unsigned DEFAULT NULL,
`racegroup_malangdo` tinyint(1) unsigned DEFAULT NULL,
`element` varchar(24) DEFAULT NULL,
`element_level` tinyint(4) unsigned DEFAULT NULL,
`walk_speed` smallint(6) unsigned DEFAULT NULL,

View File

@ -58,6 +58,7 @@ CREATE TABLE `mob_db_re` (
`racegroup_werner_lab` tinyint(1) unsigned DEFAULT NULL,
`racegroup_temple_demon` tinyint(1) unsigned DEFAULT NULL,
`racegroup_illusion_vampire` tinyint(1) unsigned DEFAULT NULL,
`racegroup_malangdo` tinyint(1) unsigned DEFAULT NULL,
`element` varchar(24) DEFAULT NULL,
`element_level` tinyint(4) unsigned DEFAULT NULL,
`walk_speed` smallint(6) unsigned DEFAULT NULL,

View File

@ -56,6 +56,7 @@ CREATE TABLE `mob_db` (
`racegroup_werner_lab` tinyint(1) unsigned DEFAULT NULL,
`racegroup_temple_demon` tinyint(1) unsigned DEFAULT NULL,
`racegroup_illusion_vampire` tinyint(1) unsigned DEFAULT NULL,
`racegroup_malangdo` tinyint(1) unsigned DEFAULT NULL,
`element` varchar(24) DEFAULT NULL,
`element_level` tinyint(4) unsigned DEFAULT NULL,
`walk_speed` smallint(6) unsigned DEFAULT NULL,

View File

@ -56,6 +56,7 @@ CREATE TABLE `mob_db2` (
`racegroup_werner_lab` tinyint(1) unsigned DEFAULT NULL,
`racegroup_temple_demon` tinyint(1) unsigned DEFAULT NULL,
`racegroup_illusion_vampire` tinyint(1) unsigned DEFAULT NULL,
`racegroup_malangdo` tinyint(1) unsigned DEFAULT NULL,
`element` varchar(24) DEFAULT NULL,
`element_level` tinyint(4) unsigned DEFAULT NULL,
`walk_speed` smallint(6) unsigned DEFAULT NULL,

View File

@ -58,6 +58,7 @@ CREATE TABLE `mob_db2_re` (
`racegroup_werner_lab` tinyint(1) unsigned DEFAULT NULL,
`racegroup_temple_demon` tinyint(1) unsigned DEFAULT NULL,
`racegroup_illusion_vampire` tinyint(1) unsigned DEFAULT NULL,
`racegroup_malangdo` tinyint(1) unsigned DEFAULT NULL,
`element` varchar(24) DEFAULT NULL,
`element_level` tinyint(4) unsigned DEFAULT NULL,
`walk_speed` smallint(6) unsigned DEFAULT NULL,

View File

@ -58,6 +58,7 @@ CREATE TABLE `mob_db_re` (
`racegroup_werner_lab` tinyint(1) unsigned DEFAULT NULL,
`racegroup_temple_demon` tinyint(1) unsigned DEFAULT NULL,
`racegroup_illusion_vampire` tinyint(1) unsigned DEFAULT NULL,
`racegroup_malangdo` tinyint(1) unsigned DEFAULT NULL,
`element` varchar(24) DEFAULT NULL,
`element_level` tinyint(4) unsigned DEFAULT NULL,
`walk_speed` smallint(6) unsigned DEFAULT NULL,

View File

@ -0,0 +1,12 @@
ALTER TABLE `mob_db`
ADD COLUMN `racegroup_malangdo` tinyint unsigned DEFAULT NULL
;
ALTER TABLE `mob_db2`
ADD COLUMN `racegroup_malangdo` tinyint unsigned DEFAULT NULL
;
ALTER TABLE `mob_db_re`
ADD COLUMN `racegroup_malangdo` tinyint unsigned DEFAULT NULL
;
ALTER TABLE `mob_db2_re`
ADD COLUMN `racegroup_malangdo` tinyint unsigned DEFAULT NULL
;

View File

@ -345,6 +345,7 @@ enum e_race2 : uint8{
RC2_WERNER_LAB,
RC2_TEMPLE_DEMON,
RC2_ILLUSION_VAMPIRE,
RC2_MALANGDO,
RC2_MAX
};

View File

@ -5151,7 +5151,7 @@ static int mob_read_sqldb(void)
for( uint8 fi = 0; fi < ARRAYLENGTH(mob_db_name); ++fi ) {
// retrieve all rows from the mob database
if( SQL_ERROR == Sql_Query(mmysql_handle, "SELECT `id`,`name_aegis`,`name_english`,`name_japanese`,`level`,`hp`,`sp`,`base_exp`,`job_exp`,`mvp_exp`,`attack`,`attack2`,`defense`,`magic_defense`,`str`,`agi`,`vit`,`int`,`dex`,`luk`,`attack_range`,`skill_range`,`chase_range`,`size`,`race`,"
"`racegroup_goblin`,`racegroup_kobold`,`racegroup_orc`,`racegroup_golem`,`racegroup_guardian`,`racegroup_ninja`,`racegroup_gvg`,`racegroup_battlefield`,`racegroup_treasure`,`racegroup_biolab`,`racegroup_manuk`,`racegroup_splendide`,`racegroup_scaraba`,`racegroup_ogh_atk_def`,`racegroup_ogh_hidden`,`racegroup_bio5_swordman_thief`,`racegroup_bio5_acolyte_merchant`,`racegroup_bio5_mage_archer`,`racegroup_bio5_mvp`,`racegroup_clocktower`,`racegroup_thanatos`,`racegroup_faceworm`,`racegroup_hearthunter`,`racegroup_rockridge`,`racegroup_werner_lab`,`racegroup_temple_demon`,`racegroup_illusion_vampire`,"
"`racegroup_goblin`,`racegroup_kobold`,`racegroup_orc`,`racegroup_golem`,`racegroup_guardian`,`racegroup_ninja`,`racegroup_gvg`,`racegroup_battlefield`,`racegroup_treasure`,`racegroup_biolab`,`racegroup_manuk`,`racegroup_splendide`,`racegroup_scaraba`,`racegroup_ogh_atk_def`,`racegroup_ogh_hidden`,`racegroup_bio5_swordman_thief`,`racegroup_bio5_acolyte_merchant`,`racegroup_bio5_mage_archer`,`racegroup_bio5_mvp`,`racegroup_clocktower`,`racegroup_thanatos`,`racegroup_faceworm`,`racegroup_hearthunter`,`racegroup_rockridge`,`racegroup_werner_lab`,`racegroup_temple_demon`,`racegroup_illusion_vampire`,`racegroup_malangdo`,"
"`element`,`element_level`,`walk_speed`,`attack_delay`,`attack_motion`,`damage_motion`,`damage_taken`,`ai`,`class`,"
"`mode_canmove`,`mode_looter`,`mode_aggressive`,`mode_assist`,`mode_castsensoridle`,`mode_norandomwalk`,`mode_nocast`,`mode_canattack`,`mode_castsensorchase`,`mode_changechase`,`mode_angry`,`mode_changetargetmelee`,`mode_changetargetchase`,`mode_targetweak`,`mode_randomtarget`,`mode_ignoremelee`,`mode_ignoremagic`,`mode_ignoreranged`,`mode_mvp`,`mode_ignoremisc`,`mode_knockbackimmune`,`mode_teleportblock`,`mode_fixeditemdrop`,`mode_detector`,`mode_statusimmune`,`mode_skillimmune`,"
"`mvpdrop1_item`,`mvpdrop1_rate`,`mvpdrop1_option`,`mvpdrop1_index`,`mvpdrop2_item`,`mvpdrop2_rate`,`mvpdrop2_option`,`mvpdrop2_index`,`mvpdrop3_item`,`mvpdrop3_rate`,`mvpdrop3_option`,`mvpdrop3_index`,"

View File

@ -4048,6 +4048,7 @@
export_constant(RC2_WERNER_LAB);
export_constant(RC2_TEMPLE_DEMON);
export_constant(RC2_ILLUSION_VAMPIRE);
export_constant(RC2_MALANGDO);
export_constant(RC2_MAX);
/* monster ai */