generated from Jaysyn/ModuleTemplate
4910 lines
119 KiB
Plaintext
4910 lines
119 KiB
Plaintext
// If SetGroupDetails has given us a GroupResRef that has the word
|
|
// group in front, then this fires instead. It creates a custom group
|
|
// Eg one mage, one cleric, one fighter etc
|
|
// Sets local strings on the area telling it which mobs to create
|
|
// This is used when you have 5 or 6 mobs which are different but go together
|
|
void SetCustomGroup(int nGroup, object oBox);
|
|
|
|
// It will set local ints on the spawnbox
|
|
// GroupResRef, MinMobs, MaxMobs
|
|
// This is used to spawn mobs with the res ref GroupResRef
|
|
// A random number of them, between MinMobs and MaxMobs
|
|
// However if GroupResRef starts off as group, it will
|
|
// Spawn a custom group instead. Correct usage is
|
|
// group_001, group_002 etc. MUST have three numerals
|
|
// at the end for this to work
|
|
void SetGroupDetails(int nGroup, object oBox);
|
|
|
|
// Randomly gets one of the six different groups
|
|
// possible under this spawnset
|
|
int GetSpawnGroupFromSet(int nSet);
|
|
|
|
// Sets the current spawnset this area has
|
|
// The spawnset is chosen randomly from six possible sets every area has
|
|
// Each spawnset in turn contains six groups. The area will spawn
|
|
// mobs randomly from the six possible groups in whatever spawn set it currently has
|
|
// nAreaNumber is the will save of the spawn box in the area
|
|
void SetNewSpawnSet(object oArea, int nAreaNumber);
|
|
|
|
// Saves this area's spawn set to the database. Use this only when a new set has been created
|
|
void SaveSpawnSetToDatabase(object oArea, int nSet);
|
|
|
|
|
|
void SetCustomGroup(int nGroup, object oBox)
|
|
{
|
|
// MUST set group number every time
|
|
|
|
switch (nGroup)
|
|
{
|
|
case 1:
|
|
SetLocalInt(oBox, "group_number", 4);
|
|
SetLocalString(oBox, "group_1", "jw_mob_stirge");
|
|
SetLocalString(oBox, "group_2", "jw_mob_stirge");
|
|
SetLocalString(oBox, "group_3", "jw_mob_stirgem");
|
|
SetLocalString(oBox, "group_4", "jw_mob_stirgea");
|
|
break;
|
|
case 2:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_beetlef");
|
|
SetLocalString(oBox, "group_2", "jw_mob_beetles");
|
|
SetLocalString(oBox, "group_3", "jw_mob_beetlem");
|
|
break;
|
|
case 3:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_beetleh");
|
|
SetLocalString(oBox, "group_2", "jw_mob_beetles");
|
|
SetLocalString(oBox, "group_3", "jw_mob_beetlem");
|
|
break;
|
|
case 4:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_dargb");
|
|
SetLocalString(oBox, "group_2", "jw_mob_dargg");
|
|
SetLocalString(oBox, "group_3", "jw_mob_darge");
|
|
break;
|
|
case 5:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_dargb");
|
|
SetLocalString(oBox, "group_2", "jw_mob_dargb");
|
|
SetLocalString(oBox, "group_3", "jw_mob_dargg");
|
|
break;
|
|
case 6:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_ogrn");
|
|
SetLocalString(oBox, "group_2", "jw_mob_ogrr");
|
|
SetLocalString(oBox, "group_3", "jw_mob_ogrs");
|
|
break;
|
|
case 7:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_ogrr");
|
|
SetLocalString(oBox, "group_2", "jw_mob_ogrf");
|
|
SetLocalString(oBox, "group_3", "jw_mob_ogrn");
|
|
break;
|
|
case 8:
|
|
SetLocalInt(oBox, "group_number", 2);
|
|
SetLocalString(oBox, "group_1", "jw_mob_crab");
|
|
SetLocalString(oBox, "group_2", "jw_mob_crabb");
|
|
break;
|
|
case 9:
|
|
SetLocalInt(oBox, "group_number", 4);
|
|
SetLocalString(oBox, "group_1", "jw_mob_shadm");
|
|
SetLocalString(oBox, "group_2", "jw_mob_skelr");
|
|
SetLocalString(oBox, "group_3", "jw_mob_skelm");
|
|
SetLocalString(oBox, "group_4", "jw_mob_skeld");
|
|
break;
|
|
case 10:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_skelg");
|
|
SetLocalString(oBox, "group_2", "jw_mob_skela");
|
|
SetLocalString(oBox, "group_3", "jw_mob_skels");
|
|
break;
|
|
case 11:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_skelc");
|
|
SetLocalString(oBox, "group_2", "jw_mob_skeld");
|
|
SetLocalString(oBox, "group_3", "jw_doppleganger");
|
|
break;
|
|
case 12:
|
|
SetLocalInt(oBox, "group_number", 2);
|
|
SetLocalString(oBox, "group_1", "jw_mob_ferret");
|
|
SetLocalString(oBox, "group_2", "jw_mink");
|
|
break;
|
|
case 13:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_antl");
|
|
SetLocalString(oBox, "group_2", "jw_mob_antq");
|
|
SetLocalString(oBox, "group_3", "jw_mob_antl");
|
|
break;
|
|
case 14:
|
|
SetLocalInt(oBox, "group_number", 4);
|
|
SetLocalString(oBox, "group_1", "jw_mob_antw");
|
|
SetLocalString(oBox, "group_2", "jw_mob_antf");
|
|
SetLocalString(oBox, "group_3", "jw_mob_ants");
|
|
SetLocalString(oBox, "group_4", "jw_mob_antf");
|
|
break;
|
|
case 15:
|
|
SetLocalInt(oBox, "group_number", 4);
|
|
SetLocalString(oBox, "group_1", "jw_mob_erthelm");
|
|
SetLocalString(oBox, "group_2", "jw_mob_airelem");
|
|
SetLocalString(oBox, "group_3", "jw_mob_fireelem");
|
|
SetLocalString(oBox, "group_4", "jw_mob_waterelem");
|
|
break;
|
|
case 16:
|
|
SetLocalInt(oBox, "group_number", 4);
|
|
SetLocalString(oBox, "group_1", "jw_mob_yevp");
|
|
SetLocalString(oBox, "group_2", "jw_mob_yevt");
|
|
SetLocalString(oBox, "group_3", "jw_mob_yevh");
|
|
SetLocalString(oBox, "group_4", "jw_mob_yeva");
|
|
break;
|
|
case 17:
|
|
SetLocalInt(oBox, "group_number", 4);
|
|
SetLocalString(oBox, "group_1", "jw_mob_yevs");
|
|
SetLocalString(oBox, "group_2", "jw_mob_yevc");
|
|
SetLocalString(oBox, "group_3", "jw_mob_yevw");
|
|
SetLocalString(oBox, "group_4", "jw_mob_yeva");
|
|
break;
|
|
case 18:
|
|
SetLocalInt(oBox, "group_number", 4);
|
|
SetLocalString(oBox, "group_1", "jw_mob_yevn");
|
|
SetLocalString(oBox, "group_2", "jw_mob_yevm");
|
|
SetLocalString(oBox, "group_3", "jw_mob_yevf");
|
|
SetLocalString(oBox, "group_4", "jw_mob_yeva");
|
|
break;
|
|
case 19:
|
|
SetLocalInt(oBox, "group_number", 5);
|
|
SetLocalString(oBox, "group_1", "jw_mob_yevi");
|
|
SetLocalString(oBox, "group_2", "jw_mob_yevo");
|
|
SetLocalString(oBox, "group_3", "jw_mob_yevf");
|
|
SetLocalString(oBox, "group_4", "jw_mob_yevn");
|
|
SetLocalString(oBox, "group_5", "jw_mob_yevt");
|
|
break;
|
|
case 20:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_koblf");
|
|
SetLocalString(oBox, "group_2", "jw_mob_koblmr");
|
|
SetLocalString(oBox, "group_3", "jw_mob_koblw");
|
|
break;
|
|
case 21:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_koblf");
|
|
SetLocalString(oBox, "group_2", "jw_mob_koblf");
|
|
SetLocalString(oBox, "group_3", "jw_mob_koblmr");
|
|
break;
|
|
case 22:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_kobr");
|
|
SetLocalString(oBox, "group_2", "jw_mob_kobw");
|
|
SetLocalString(oBox, "group_3", "jw_mob_kobf");
|
|
break;
|
|
case 23:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_kobd");
|
|
SetLocalString(oBox, "group_2", "jw_mob_kobo");
|
|
SetLocalString(oBox, "group_3", "jw_mob_kobi");
|
|
break;
|
|
case 24:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_inv");
|
|
SetLocalString(oBox, "group_2", "jw_mob_hhound");
|
|
SetLocalString(oBox, "group_3", "jw_mob_ghast");
|
|
break;
|
|
case 25:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_hhound");
|
|
SetLocalString(oBox, "group_2", "jw_mob_ghoull");
|
|
SetLocalString(oBox, "group_3", "jw_mob_ghoulr");
|
|
break;
|
|
case 26:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_ghoulr");
|
|
SetLocalString(oBox, "group_2", "jw_mob_ghoulr");
|
|
SetLocalString(oBox, "group_3", "jw_mob_inv");
|
|
break;
|
|
case 27:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_vrock");
|
|
SetLocalString(oBox, "group_2", "jw_mob_vrock");
|
|
SetLocalString(oBox, "group_3", "jw_mob_erin");
|
|
break;
|
|
case 28:
|
|
SetLocalInt(oBox, "group_number", 2);
|
|
SetLocalString(oBox, "group_1", "jw_mob_cooshm");
|
|
SetLocalString(oBox, "group_2", "jw_mob_cooshf");
|
|
break;
|
|
case 29:
|
|
SetLocalInt(oBox, "group_number", 4);
|
|
SetLocalString(oBox, "group_1", "jw_mob_tome1");
|
|
SetLocalString(oBox, "group_2", "jw_mob_tome2");
|
|
SetLocalString(oBox, "group_3", "jw_mob_tome3");
|
|
SetLocalString(oBox, "group_4", "jw_mob_tome4");
|
|
break;
|
|
case 30:
|
|
SetLocalInt(oBox, "group_number", 4);
|
|
SetLocalString(oBox, "group_1", "jw_mob_cut");
|
|
SetLocalString(oBox, "group_2", "jw_mob_anic");
|
|
SetLocalString(oBox, "group_3", "jw_mob_anif");
|
|
SetLocalString(oBox, "group_4", "jw_mob_anit");
|
|
break;
|
|
case 31:
|
|
SetLocalInt(oBox, "group_number", 2);
|
|
SetLocalString(oBox, "group_1", "jw_mob_mechs");
|
|
SetLocalString(oBox, "group_2", "jw_mob_spike");
|
|
break;
|
|
case 32:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_gobfr");
|
|
SetLocalString(oBox, "group_2", "jw_mob_gobfa");
|
|
SetLocalString(oBox, "group_3", "jw_mob_gobfb");
|
|
break;
|
|
case 33:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_gobfr");
|
|
SetLocalString(oBox, "group_2", "jw_mob_gobfa");
|
|
SetLocalString(oBox, "group_3", "jw_mob_gobfa");
|
|
break;
|
|
case 34:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_ghostp");
|
|
SetLocalString(oBox, "group_2", "jw_mob_skelpa");
|
|
SetLocalString(oBox, "group_3", "jw_mob_skelpb");
|
|
break;
|
|
case 35:
|
|
SetLocalInt(oBox, "group_number", 2);
|
|
SetLocalString(oBox, "group_1", "jw_mob_skelpc");
|
|
SetLocalString(oBox, "group_2", "jw_mob_skelpf");
|
|
break;
|
|
case 36:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_skelpa");
|
|
SetLocalString(oBox, "group_2", "jw_mob_skelpd");
|
|
SetLocalString(oBox, "group_3", "jw_mob_skelpe");
|
|
break;
|
|
case 37:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_hob");
|
|
SetLocalString(oBox, "group_2", "jw_mob_hob");
|
|
SetLocalString(oBox, "group_3", "jw_mob_hobw");
|
|
break;
|
|
case 38:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_asabs");
|
|
SetLocalString(oBox, "group_2", "jw_mob_asabc");
|
|
SetLocalString(oBox, "group_3", "jw_mob_asabh");
|
|
break;
|
|
case 39:
|
|
SetLocalInt(oBox, "group_number", 2);
|
|
SetLocalString(oBox, "group_1", "jw_mob_asabs");
|
|
SetLocalString(oBox, "group_2", "jw_mob_asabc");
|
|
break;
|
|
case 40:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_liza");
|
|
SetLocalString(oBox, "group_2", "jw_mob_lizt");
|
|
SetLocalString(oBox, "group_3", "jw_mob_lizc");
|
|
break;
|
|
case 41:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_lizc");
|
|
SetLocalString(oBox, "group_2", "jw_mob_lizs");
|
|
SetLocalString(oBox, "group_3", "jw_mob_lizb");
|
|
break;
|
|
case 42:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_lizw");
|
|
SetLocalString(oBox, "group_2", "jw_mob_lizb");
|
|
SetLocalString(oBox, "group_3", "jw_mob_lizs");
|
|
break;
|
|
case 43:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_lizw");
|
|
SetLocalString(oBox, "group_2", "jw_mob_liza");
|
|
SetLocalString(oBox, "group_3", "jw_mob_lizt");
|
|
break;
|
|
case 44:
|
|
SetLocalInt(oBox, "group_number", 2);
|
|
SetLocalString(oBox, "group_1", "jw_mob_zomba");
|
|
SetLocalString(oBox, "group_2", "jw_mob_zombc");
|
|
break;
|
|
case 45:
|
|
SetLocalInt(oBox, "group_number", 2);
|
|
SetLocalString(oBox, "group_1", "jw_mob_zombe");
|
|
SetLocalString(oBox, "group_2", "jw_mob_zombd");
|
|
break;
|
|
case 46:
|
|
SetLocalInt(oBox, "group_number", 2);
|
|
SetLocalString(oBox, "group_1", "jw_mob_zombc");
|
|
SetLocalString(oBox, "group_2", "jw_mob_zombd");
|
|
break;
|
|
case 47:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_cornb");
|
|
SetLocalString(oBox, "group_2", "jw_mob_corna");
|
|
SetLocalString(oBox, "group_3", "jw_mob_corna");
|
|
break;
|
|
case 48:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_blaca");
|
|
SetLocalString(oBox, "group_2", "jw_mob_blac");
|
|
SetLocalString(oBox, "group_3", "jw_mob_blaa");
|
|
break;
|
|
case 49:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_blacr");
|
|
SetLocalString(oBox, "group_2", "jw_mob_blacb");
|
|
SetLocalString(oBox, "group_3", "jw_mob_blam");
|
|
break;
|
|
case 50:
|
|
SetLocalInt(oBox, "group_number", 4);
|
|
SetLocalString(oBox, "group_1", "jw_mob_blacr");
|
|
SetLocalString(oBox, "group_2", "jw_mob_blaf");
|
|
SetLocalString(oBox, "group_3", "jw_mob_blam");
|
|
SetLocalString(oBox, "group_4", "jw_mob_blacb");
|
|
break;
|
|
case 51:
|
|
SetLocalInt(oBox, "group_number", 4);
|
|
SetLocalString(oBox, "group_1", "jw_mob_blacr");
|
|
SetLocalString(oBox, "group_2", "jw_mob_blacr");
|
|
SetLocalString(oBox, "group_3", "jw_mob_blac");
|
|
SetLocalString(oBox, "group_4", "jw_mob_blaf");
|
|
break;
|
|
case 52:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_yevgm");
|
|
SetLocalString(oBox, "group_2", "jw_mob_yevgf");
|
|
SetLocalString(oBox, "group_3", "jw_mob_yevgb");
|
|
break;
|
|
case 53:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_yevgm");
|
|
SetLocalString(oBox, "group_2", "jw_mob_yevgd");
|
|
SetLocalString(oBox, "group_3", "jw_mob_yevgr");
|
|
break;
|
|
case 54:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_yevgm");
|
|
SetLocalString(oBox, "group_2", "jw_mob_yevgb");
|
|
SetLocalString(oBox, "group_3", "jw_mob_yevgf");
|
|
break;
|
|
case 55:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_yevgf");
|
|
SetLocalString(oBox, "group_2", "jw_mob_yevgb");
|
|
SetLocalString(oBox, "group_3", "jw_mob_yevgr");
|
|
break;
|
|
case 56:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_troll");
|
|
SetLocalString(oBox, "group_2", "jw_mob_trollw");
|
|
SetLocalString(oBox, "group_3", "jw_mob_trollr");
|
|
break;
|
|
case 57:
|
|
SetLocalInt(oBox, "group_number", 2);
|
|
SetLocalString(oBox, "group_1", "jw_mob_troll");
|
|
SetLocalString(oBox, "group_2", "jw_mob_trollr");
|
|
break;
|
|
case 58:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_mina");
|
|
SetLocalString(oBox, "group_2", "jw_mob_minr");
|
|
SetLocalString(oBox, "group_3", "jw_mob_mins");
|
|
break;
|
|
case 59:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_mina");
|
|
SetLocalString(oBox, "group_2", "jw_mob_minr");
|
|
SetLocalString(oBox, "group_3", "jw_mob_mins");
|
|
break;
|
|
case 60:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_gnollf");
|
|
SetLocalString(oBox, "group_2", "jw_mob_gnollf");
|
|
SetLocalString(oBox, "group_3", "jw_mob_gnollm");
|
|
break;
|
|
case 61:
|
|
SetLocalInt(oBox, "group_number", 4);
|
|
SetLocalString(oBox, "group_1", "jw_mob_stinga");
|
|
SetLocalString(oBox, "group_2", "jw_mob_stingb");
|
|
SetLocalString(oBox, "group_3", "jw_mob_stingc");
|
|
SetLocalString(oBox, "group_4", "jw_mob_stingd");
|
|
break;
|
|
case 62:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_stinga");
|
|
SetLocalString(oBox, "group_2", "jw_mob_stingb");
|
|
SetLocalString(oBox, "group_3", "jw_mob_stingc");
|
|
break;
|
|
case 63:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_stingd");
|
|
SetLocalString(oBox, "group_2", "jw_mob_stingb");
|
|
SetLocalString(oBox, "group_3", "jw_mob_stingc");
|
|
break;
|
|
case 64:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_curstm");
|
|
SetLocalString(oBox, "group_2", "jw_mob_curstr");
|
|
SetLocalString(oBox, "group_3", "jw_mob_cursto");
|
|
break;
|
|
case 65:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_bodak");
|
|
SetLocalString(oBox, "group_2", "jw_mob_doom");
|
|
SetLocalString(oBox, "group_3", "jw_mob_mohrg");
|
|
break;
|
|
case 66:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_mohrg");
|
|
SetLocalString(oBox, "group_2", "jw_mob_mohrg");
|
|
SetLocalString(oBox, "group_3", "jw_mob_skelint");
|
|
break;
|
|
case 67:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_bodak");
|
|
SetLocalString(oBox, "group_2", "jw_mob_skelint");
|
|
SetLocalString(oBox, "group_3", "jw_mob_wight");
|
|
break;
|
|
case 68:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_shad");
|
|
SetLocalString(oBox, "group_2", "jw_mob_shad");
|
|
SetLocalString(oBox, "group_3", "jw_mob_wraith");
|
|
break;
|
|
case 69:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_wraith");
|
|
SetLocalString(oBox, "group_2", "jw_mob_wraith");
|
|
SetLocalString(oBox, "group_3", "jw_mob_shad");
|
|
break;
|
|
case 70:
|
|
SetLocalInt(oBox, "group_number", 4);
|
|
SetLocalString(oBox, "group_1", "jw_mob_curstm");
|
|
SetLocalString(oBox, "group_2", "jw_mob_curstr");
|
|
SetLocalString(oBox, "group_3", "jw_mob_cursto");
|
|
SetLocalString(oBox, "group_4", "jw_mob_skelint");
|
|
break;
|
|
case 71:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_ogreb");
|
|
SetLocalString(oBox, "group_2", "jw_mob_ogrep");
|
|
SetLocalString(oBox, "group_3", "jw_mob_ogres");
|
|
break;
|
|
case 72:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_ogreb");
|
|
SetLocalString(oBox, "group_2", "jw_mob_ogrep");
|
|
SetLocalString(oBox, "group_3", "jw_mob_ogrew");
|
|
break;
|
|
case 73:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_ogres");
|
|
SetLocalString(oBox, "group_2", "jw_mob_ogreu");
|
|
SetLocalString(oBox, "group_3", "jw_mob_ogrew");
|
|
break;
|
|
case 74:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_orcsf");
|
|
SetLocalString(oBox, "group_2", "jw_mob_orcsr");
|
|
SetLocalString(oBox, "group_3", "jw_mob_orcss");
|
|
break;
|
|
case 75:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_orcsf");
|
|
SetLocalString(oBox, "group_2", "jw_mob_orcsr");
|
|
SetLocalString(oBox, "group_3", "jw_mob_orcsr");
|
|
break;
|
|
case 76:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_orcsf");
|
|
SetLocalString(oBox, "group_2", "jw_mob_orcsf");
|
|
SetLocalString(oBox, "group_3", "jw_mob_orcss");
|
|
break;
|
|
case 77:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_gobs");
|
|
SetLocalString(oBox, "group_2", "jw_mob_gobi");
|
|
SetLocalString(oBox, "group_3", "jw_mob_gobu");
|
|
break;
|
|
case 78:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_gobc");
|
|
SetLocalString(oBox, "group_2", "jw_mob_gobw");
|
|
SetLocalString(oBox, "group_3", "jw_mob_ridw");
|
|
break;
|
|
case 79:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_rids");
|
|
SetLocalString(oBox, "group_2", "jw_mob_gobs");
|
|
SetLocalString(oBox, "group_3", "jw_mob_gobe");
|
|
break;
|
|
case 80:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_ridw");
|
|
SetLocalString(oBox, "group_2", "jw_mob_ridw");
|
|
SetLocalString(oBox, "group_3", "jw_mob_gobc");
|
|
break;
|
|
case 81:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_rids");
|
|
SetLocalString(oBox, "group_2", "jw_mob_gobi");
|
|
SetLocalString(oBox, "group_3", "jw_mob_gobe");
|
|
break;
|
|
case 82:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_werec");
|
|
SetLocalString(oBox, "group_2", "jw_mob_werer");
|
|
SetLocalString(oBox, "group_3", "jw_mob_werew");
|
|
break;
|
|
case 83:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_shadeb");
|
|
SetLocalString(oBox, "group_2", "jw_visage_mob");
|
|
SetLocalString(oBox, "group_3", "jw_mob_shabwr");
|
|
break;
|
|
case 84:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_battleb");
|
|
SetLocalString(oBox, "group_2", "jw_mob_bonem");
|
|
SetLocalString(oBox, "group_3", "jw_mob_bonef");
|
|
break;
|
|
case 85:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_bonel");
|
|
SetLocalString(oBox, "group_2", "jw_mob_bonef");
|
|
SetLocalString(oBox, "group_3", "jw_mob_bonem");
|
|
break;
|
|
case 86:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_bonel");
|
|
SetLocalString(oBox, "group_2", "jw_mob_shabwr");
|
|
SetLocalString(oBox, "group_3", "jw_visage_mob");
|
|
break;
|
|
case 87:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_firegm");
|
|
SetLocalString(oBox, "group_2", "jw_mob_firegm");
|
|
SetLocalString(oBox, "group_3", "jw_mob_firegf");
|
|
break;
|
|
case 88:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_yuans");
|
|
SetLocalString(oBox, "group_2", "jw_mob_yuane");
|
|
SetLocalString(oBox, "group_3", "jw_mob_yuanp");
|
|
break;
|
|
case 89:
|
|
SetLocalInt(oBox, "group_number", 2);
|
|
SetLocalString(oBox, "group_1", "jw_mob_yuane");
|
|
SetLocalString(oBox, "group_2", "jw_mob_yuanp");
|
|
break;
|
|
case 90:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_sladbl");
|
|
SetLocalString(oBox, "group_2", "jw_mob_sladde");
|
|
SetLocalString(oBox, "group_3", "jw_mob_sladge");
|
|
break;
|
|
case 91:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_sladr");
|
|
SetLocalString(oBox, "group_2", "jw_mob_sladde");
|
|
SetLocalString(oBox, "group_3", "jw_mob_sladgr");
|
|
break;
|
|
case 92:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_lighte");
|
|
SetLocalString(oBox, "group_2", "jw_mob_mine");
|
|
SetLocalString(oBox, "group_3", "jw_mob_rade");
|
|
break;
|
|
case 93:
|
|
SetLocalInt(oBox, "group_number", 2);
|
|
SetLocalString(oBox, "group_1", "jw_mob_icegf");
|
|
SetLocalString(oBox, "group_2", "jw_mob_icegm");
|
|
break;
|
|
case 94:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_muma");
|
|
SetLocalString(oBox, "group_2", "jw_mob_mumb");
|
|
SetLocalString(oBox, "group_3", "jw_mob_mumc");
|
|
break;
|
|
case 95:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_shadf");
|
|
SetLocalString(oBox, "group_2", "jw_mob_spect");
|
|
SetLocalString(oBox, "group_3", "jw_mob_mumd");
|
|
break;
|
|
case 96:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_salan");
|
|
SetLocalString(oBox, "group_2", "jw_mob_salaf");
|
|
SetLocalString(oBox, "group_3", "jw_mob_salam");
|
|
break;
|
|
case 97:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_zombpa");
|
|
SetLocalString(oBox, "group_2", "jw_mob_zombpb");
|
|
SetLocalString(oBox, "group_3", "jw_mob_zombpd");
|
|
break;
|
|
case 98:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_zombpa");
|
|
SetLocalString(oBox, "group_2", "jw_mob_zombpb");
|
|
SetLocalString(oBox, "group_3", "jw_mob_zombpc");
|
|
break;
|
|
case 99:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_zombpd");
|
|
SetLocalString(oBox, "group_2", "jw_mob_zombpb");
|
|
SetLocalString(oBox, "group_3", "jw_mob_zombpc");
|
|
break;
|
|
case 100:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_zombpa");
|
|
SetLocalString(oBox, "group_2", "jw_mob_zombpc");
|
|
SetLocalString(oBox, "group_3", "jw_mob_zombpd");
|
|
break;
|
|
case 101:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_oroka");
|
|
SetLocalString(oBox, "group_2", "jw_mob_orokb");
|
|
SetLocalString(oBox, "group_3", "jw_mob_orokc");
|
|
break;
|
|
case 102:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_oroka");
|
|
SetLocalString(oBox, "group_2", "jw_mob_orokb");
|
|
SetLocalString(oBox, "group_3", "jw_mob_orokb");
|
|
break;
|
|
case 103:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_bugif");
|
|
SetLocalString(oBox, "group_2", "jw_mob_bugia");
|
|
SetLocalString(oBox, "group_3", "jw_mob_bugia");
|
|
break;
|
|
case 104:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_bugif");
|
|
SetLocalString(oBox, "group_2", "jw_mob_bugia");
|
|
SetLocalString(oBox, "group_3", "jw_mob_bugim");
|
|
break;
|
|
case 105:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_shadl");
|
|
SetLocalString(oBox, "group_2", "jw_mob_bonep");
|
|
SetLocalString(oBox, "group_3", "jw_greatvi_mob");
|
|
break;
|
|
case 106:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_bonep");
|
|
SetLocalString(oBox, "group_2", "jw_mob_boner");
|
|
SetLocalString(oBox, "group_3", "jw_mob_skelgi");
|
|
break;
|
|
case 107:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_shadl");
|
|
SetLocalString(oBox, "group_2", "jw_mob_boner");
|
|
SetLocalString(oBox, "group_3", "jw_greatvi_mob");
|
|
break;
|
|
case 108:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_bonep");
|
|
SetLocalString(oBox, "group_2", "jw_mob_boner");
|
|
SetLocalString(oBox, "group_3", "jw_greatvi_mob");
|
|
break;
|
|
case 109:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_bugs");
|
|
SetLocalString(oBox, "group_2", "jw_mob_buga");
|
|
SetLocalString(oBox, "group_3", "jw_mob_buge");
|
|
break;
|
|
case 110:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_bugl");
|
|
SetLocalString(oBox, "group_2", "jw_mob_bugv");
|
|
SetLocalString(oBox, "group_3", "jw_mob_bugt");
|
|
break;
|
|
case 111:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_bugl");
|
|
SetLocalString(oBox, "group_2", "jw_mob_bugs");
|
|
SetLocalString(oBox, "group_3", "jw_mob_bugt");
|
|
break;
|
|
case 112:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_bugv");
|
|
SetLocalString(oBox, "group_2", "jw_mob_buga");
|
|
SetLocalString(oBox, "group_3", "jw_mob_buga");
|
|
break;
|
|
case 113:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_mob_salte");
|
|
SetLocalString(oBox, "group_2", "jw_mob_smokee");
|
|
SetLocalString(oBox, "group_3", "jw_mob_steame");
|
|
break;
|
|
case 114:
|
|
SetLocalInt(oBox, "group_number", 5);
|
|
SetLocalString(oBox, "group_1", "jw_mob_blaf");
|
|
SetLocalString(oBox, "group_2", "jw_mob_blaa");
|
|
SetLocalString(oBox, "group_3", "jw_mob_blam");
|
|
SetLocalString(oBox, "group_4", "jw_mob_blac");
|
|
SetLocalString(oBox, "group_5", "jw_mob_blacr");
|
|
break;
|
|
case 115:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_blight_ele");
|
|
SetLocalString(oBox, "group_2", "jw_blight_kakk");
|
|
SetLocalString(oBox, "group_3", "jw_blight_kakk");
|
|
break;
|
|
case 116:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_blight_dw");
|
|
SetLocalString(oBox, "group_2", "jw_blight_fc");
|
|
SetLocalString(oBox, "group_3", "jw_blight_gr");
|
|
break;
|
|
case 117:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_blight_gelug");
|
|
SetLocalString(oBox, "group_2", "jw_blight_hamat");
|
|
SetLocalString(oBox, "group_3", "jw_blight_vorlan");
|
|
break;
|
|
case 118:
|
|
SetLocalInt(oBox, "group_number", 3);
|
|
SetLocalString(oBox, "group_1", "jw_trog_mar");
|
|
SetLocalString(oBox, "group_2", "jw_trog_scr");
|
|
SetLocalString(oBox, "group_3", "jw_trog_ass");
|
|
break;
|
|
case 119:
|
|
SetLocalInt(oBox, "group_number", 2);
|
|
SetLocalString(oBox, "group_1", "jw_mob_vine1");
|
|
SetLocalString(oBox, "group_2", "jw_mob_vine2");
|
|
break;
|
|
case 120://DJ_Abandoned Outpost Creatures
|
|
SetLocalInt(oBox, "group_number", 4);
|
|
SetLocalString(oBox, "group_1", "dj_skeletalbanit");
|
|
SetLocalString(oBox, "group_2", "dj_zhentzombie");
|
|
SetLocalString(oBox, "group_3", "dj_zhentzombie");
|
|
SetLocalString(oBox, "group_4", "dj_zhentzombie");
|
|
break;
|
|
case 121://DJ_Abandoned Outpost Creatures
|
|
SetLocalInt(oBox, "group_number", 4);
|
|
SetLocalString(oBox, "group_1", "dj_skeletalbanit");
|
|
SetLocalString(oBox, "group_2", "dj_zhentzombie");
|
|
SetLocalString(oBox, "group_3", "dj_zhentzombie");
|
|
SetLocalString(oBox, "group_4", "dj_zhentzombie");
|
|
}
|
|
}
|
|
|
|
|
|
// It will set local ints on the spawn box
|
|
// GroupResRef, MinMobs, MaxMobs
|
|
// Make GroupResRef group_001 or 002 etc
|
|
// For it to be a custom group
|
|
// MUST have three numerals at the end
|
|
void SetGroupDetails(int nGroup, object oBox)
|
|
{
|
|
switch (nGroup)
|
|
{
|
|
case 1:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_deer");
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 2:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_antel");
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 3:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_gaz");
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 4:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_falc");
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 5:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_rave");
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 6:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_tukf");
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 7:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_tukd");
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 8:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_tuki");
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 9:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_stirge");
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 10:
|
|
SetLocalString(oBox, "GroupResRef", "group_001"); // stirge group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 11:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_direr");
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 12:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_beetlef");
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 13:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_beetlef");
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 14:
|
|
SetLocalString(oBox, "GroupResRef", "group_002"); // beetle group 1
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 15:
|
|
SetLocalString(oBox, "GroupResRef", "group_003"); // beetle group 2
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 16:
|
|
SetLocalString(oBox, "GroupResRef", "group_004"); // darghul group 1
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 17:
|
|
SetLocalString(oBox, "GroupResRef", "group_005"); // darghul group 2
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 18:
|
|
SetLocalString(oBox, "GroupResRef", "group_006"); // ogrillon group 1
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 19:
|
|
SetLocalString(oBox, "GroupResRef", "group_007"); // ogrillon group 2
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 20:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_spiders"); // spitting spiders
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 21:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_scorpg"); // giant black scorpion
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 22:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_vipf"); // forest viper
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 23:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_crab"); // crab 1
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 24:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_crabb"); // crab 1
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 25:
|
|
SetLocalString(oBox, "GroupResRef", "group_008"); // crab group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 26:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_duna"); // dun pudding
|
|
SetLocalInt(oBox, "MaxMobs", 1);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 27:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_wolf"); // wolf
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 28:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_panth"); // panther
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 29:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_badg"); // badger
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 30:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_boar"); // boar
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 31:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_direbad"); // dire badger
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 32:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_rend"); // grey render
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 33:
|
|
SetLocalString(oBox, "GroupResRef", "group_009"); // low level undead
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 34:
|
|
SetLocalString(oBox, "GroupResRef", "group_010"); // low level undead
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 35:
|
|
SetLocalString(oBox, "GroupResRef", "group_011"); // low level undead
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 36:
|
|
SetLocalString(oBox, "GroupResRef", "group_012"); // cuddly animals
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 37:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_hyena"); // hyena
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 38:
|
|
SetLocalString(oBox, "GroupResRef", "jw_hog"); // hog
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 39:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_otter"); // otter
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 40:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_cougar"); // desert cougar
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 41:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_direw"); // dire wolf
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 42:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_coctw"); // cockatrice
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 43:
|
|
SetLocalString(oBox, "GroupResRef", "jw_gel_cube"); // gelatinous cube
|
|
SetLocalInt(oBox, "MaxMobs", 1);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 44:
|
|
SetLocalString(oBox, "GroupResRef", "group_013"); // giant ant group
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 45:
|
|
SetLocalString(oBox, "GroupResRef", "group_014"); // other ant group
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 46:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_antw"); // giant ant worker
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 47:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_antf"); // giant fire ant
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 48:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mod_spiderd"); // dire spdiers
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 49:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_bearb"); // black bear
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 50:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_bearbr"); // brown bear
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 51:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_direboar"); // dire board
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 52:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_erthelm"); // earth elemental
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 53:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_airelem"); // air elemental
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 54:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_fireelem"); // fire elemental
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 55:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_waterelem"); // water elemental elemental
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 56:
|
|
SetLocalString(oBox, "GroupResRef", "group_015"); // welemental group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 57:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_ettin"); // ettins
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 58:
|
|
SetLocalString(oBox, "GroupResRef", "group_016"); // yevenwood orcs
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 59:
|
|
SetLocalString(oBox, "GroupResRef", "group_017"); // yevenwood orcs
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 60:
|
|
SetLocalString(oBox, "GroupResRef", "group_018"); // yevenwood orcs
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 61:
|
|
SetLocalString(oBox, "GroupResRef", "group_019"); // yevenwood orcs
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 62:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_allip"); // allip
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 63:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_spec"); // spectacled bear
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 64:
|
|
SetLocalString(oBox, "GroupResRef", "group_020"); // losa kobolds
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 65:
|
|
SetLocalString(oBox, "GroupResRef", "group_021"); // losa kobolds
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 66:
|
|
SetLocalString(oBox, "GroupResRef", "jw_lion_mob"); // lions
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 67:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_manti"); // manticore
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 68:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_erin"); // erinyes
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 69:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_razor"); // rozor
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 70:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_tukm"); // mountain tuk
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 71:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_tuks"); // swamp tuk
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 72:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_spiderr"); // redback spider
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 73:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_scorpr"); // giant red scorpion
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 74:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_vops"); // swamp viper
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 75:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_slitha"); // slithering tracker
|
|
SetLocalInt(oBox, "MaxMobs", 1);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 76:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_bearg"); // grizzly bear
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 77:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_catc"); // crag cat
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 78:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_inv"); // invisible stalker
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 79:
|
|
SetLocalString(oBox, "GroupResRef", "group_022"); // kobolds
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 80:
|
|
SetLocalString(oBox, "GroupResRef", "group_023"); // kobolds
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 81:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_kobr"); // kobolds
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 82:
|
|
SetLocalString(oBox, "GroupResRef", "group_024"); // undead
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 83:
|
|
SetLocalString(oBox, "GroupResRef", "group_025"); // undead
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 84:
|
|
SetLocalString(oBox, "GroupResRef", "group_026"); // undead
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 85:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_vrock"); // leechwalker
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 86:
|
|
SetLocalString(oBox, "GroupResRef", "group_027"); // leechwalker and Eryennes
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 87:
|
|
SetLocalString(oBox, "GroupResRef", "group_028"); // cooshees
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 88:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_snowl"); // snow leapord
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 89:
|
|
SetLocalString(oBox, "GroupResRef", "group_029"); // strange constructs
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 90:
|
|
SetLocalString(oBox, "GroupResRef", "group_030"); // strange constructs
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 91:
|
|
SetLocalString(oBox, "GroupResRef", "group_031"); // strange constructs
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 92:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_mechs"); // mechanised spiders
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 93:
|
|
SetLocalString(oBox, "GroupResRef", "group_032"); // frost goblins
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 94:
|
|
SetLocalString(oBox, "GroupResRef", "group_033"); // frost goblins
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 95:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_gobfb"); // frost goblins
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 96:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_icegho"); // ice ghoul
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 97:
|
|
SetLocalString(oBox, "GroupResRef", "group_034"); // beach undead
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 98:
|
|
SetLocalString(oBox, "GroupResRef", "group_035"); // beach undead
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 99:
|
|
SetLocalString(oBox, "GroupResRef", "group_036"); // beach undead
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 100:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_ghostp"); // ghost pirates
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 101:
|
|
SetLocalString(oBox, "GroupResRef", "jw_polar_mob"); // ploar bear
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 102:
|
|
SetLocalString(oBox, "GroupResRef", "jw_bulle_mob"); // bullette oxes
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 103:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_tuku"); // mud tuk
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 104:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_tukn"); // sand tuk
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 105:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_tukw"); // water tuk
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 106:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_spiderw"); // sword spider
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 107:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_hillg"); // hill giant
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 108:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_hob"); // hobgoblins
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 109:
|
|
SetLocalString(oBox, "GroupResRef", "group_037"); // hobgoblin group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 110:
|
|
SetLocalString(oBox, "GroupResRef", "group_038"); // asabi group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 111:
|
|
SetLocalString(oBox, "GroupResRef", "group_039"); // asabi group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 112:
|
|
SetLocalString(oBox, "GroupResRef", "group_040"); // lizardfolk group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 113:
|
|
SetLocalString(oBox, "GroupResRef", "group_041"); // lizardfolk group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 114:
|
|
SetLocalString(oBox, "GroupResRef", "group_042"); // lizardfolk group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 115:
|
|
SetLocalString(oBox, "GroupResRef", "group_043"); // lizardfolk group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 116:
|
|
SetLocalString(oBox, "GroupResRef", "group_044"); // zombie group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 117:
|
|
SetLocalString(oBox, "GroupResRef", "group_045"); // zombie group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 118:
|
|
SetLocalString(oBox, "GroupResRef", "group_046"); // zombie group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 119:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_sloth"); // sloth bear
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 120:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_corna"); // cornugons
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 121:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_cornb"); // cornugons
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 122:
|
|
SetLocalString(oBox, "GroupResRef", "group_047"); // cornugons
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 123:
|
|
SetLocalString(oBox, "GroupResRef", "jw_boro_mob"); // boro
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 124:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_wintw"); // winter wolf
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 125:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_tukl"); // lava tuk
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 126:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_spiderp"); // phase spider
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 127:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_lep"); // leopard
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 128:
|
|
SetLocalString(oBox, "GroupResRef", "group_048"); // black orchids
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 129:
|
|
SetLocalString(oBox, "GroupResRef", "group_049"); // black orchids
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 130:
|
|
SetLocalString(oBox, "GroupResRef", "group_050"); // black orchids
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 131:
|
|
SetLocalString(oBox, "GroupResRef", "group_051"); // black orchids
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 132:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_whitet"); // white tiger
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 133:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_ash"); //ash elemental
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 134:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_dust"); // dust elemental
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 135:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_ice"); // ice elemental
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 136:
|
|
SetLocalString(oBox, "GroupResRef", "group_052"); // semberholme goblins
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 137:
|
|
SetLocalString(oBox, "GroupResRef", "group_053"); // semberholme goblins
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 138:
|
|
SetLocalString(oBox, "GroupResRef", "group_054"); // semberholme goblins
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 139:
|
|
SetLocalString(oBox, "GroupResRef", "group_055"); // semberholme goblins
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 140:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_puda"); // black pudding
|
|
SetLocalInt(oBox, "MaxMobs", 1);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 141:
|
|
SetLocalString(oBox, "GroupResRef", "group_056"); // troll group 1
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 142:
|
|
SetLocalString(oBox, "GroupResRef", "group_057"); // troll group 2
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 143:
|
|
SetLocalString(oBox, "GroupResRef", "group_058"); // minatour group
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 144:
|
|
SetLocalString(oBox, "GroupResRef", "group_059"); // minatour group
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 145:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_gnollf"); // gnolls
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 146:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_gnollm"); // gnolls
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 147:
|
|
SetLocalString(oBox, "GroupResRef", "group_060"); // minatour group
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 148:
|
|
SetLocalString(oBox, "GroupResRef", "group_061"); // stinger group
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 149:
|
|
SetLocalString(oBox, "GroupResRef", "group_062"); // stinger group
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 150:
|
|
SetLocalString(oBox, "GroupResRef", "group_063"); // stinger group
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 151:
|
|
SetLocalString(oBox, "GroupResRef", "group_064"); // undead group
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 152:
|
|
SetLocalString(oBox, "GroupResRef", "group_065"); // undead group
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 153:
|
|
SetLocalString(oBox, "GroupResRef", "group_066"); // undead group
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 154:
|
|
SetLocalString(oBox, "GroupResRef", "group_067"); // undead group
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 155:
|
|
SetLocalString(oBox, "GroupResRef", "group_068"); // undead group
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 156:
|
|
SetLocalString(oBox, "GroupResRef", "group_069"); // undead group
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 157:
|
|
SetLocalString(oBox, "GroupResRef", "group_070"); // undead group
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 158:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_wight"); // wights
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 159:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_shad"); // shadows
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 160:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_wraith"); // wraiths
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 161:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_xorn"); // xorns
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 162:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_tukw"); // wild tuk
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 163:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_spideri"); // ice spider
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 164:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_scorpw"); // giant swamp scorpion
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 165:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_vipg"); // grass viper
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 166:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_malarp"); // malar panther
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 167:
|
|
SetLocalString(oBox, "GroupResRef", "group_071"); // ogre group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 168:
|
|
SetLocalString(oBox, "GroupResRef", "group_072"); // ogre group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 169:
|
|
SetLocalString(oBox, "GroupResRef", "group_073"); // ogre group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 170:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_krensh"); // krenshar
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 171:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_direl"); // dire leapord
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 172:
|
|
SetLocalString(oBox, "GroupResRef", "group_074"); // snow orcs
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 173:
|
|
SetLocalString(oBox, "GroupResRef", "group_075"); // snow orcs
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 174:
|
|
SetLocalString(oBox, "GroupResRef", "group_076"); // snow orcs
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 175:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_thornr"); // thorny rider
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 176:
|
|
SetLocalString(oBox, "GroupResRef", "group_077"); // stone circle goblins
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 177:
|
|
SetLocalString(oBox, "GroupResRef", "group_078"); // stone circle goblins
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 178:
|
|
SetLocalString(oBox, "GroupResRef", "group_079"); // stone circle goblins
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 179:
|
|
SetLocalString(oBox, "GroupResRef", "group_080"); // stone circle goblins
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 180:
|
|
SetLocalString(oBox, "GroupResRef", "group_081"); // stone circle goblins
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 181:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_forestg"); // forest giant
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 182:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_gorg"); // gorgon
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 183:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_pfiend"); // pit fiend
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 184:
|
|
SetLocalString(oBox, "GroupResRef", "group_082"); // shapechangers
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 185:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_wendi"); // wendigo
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 186:
|
|
SetLocalString(oBox, "GroupResRef", "group_083"); // undead group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 187:
|
|
SetLocalString(oBox, "GroupResRef", "group_084"); // undead group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 188:
|
|
SetLocalString(oBox, "GroupResRef", "group_085"); // undead group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 189:
|
|
SetLocalString(oBox, "GroupResRef", "group_086"); // undead group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 190:
|
|
SetLocalString(oBox, "GroupResRef", "jw_direb_mob"); // dire bear forests caves mountains
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 191:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_wworg"); // dire bear forests caves mountains
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 192:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_crysa"); // crystal ooze
|
|
SetLocalInt(oBox, "MaxMobs", 1);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 193:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_firegm"); // fire gaints
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 194:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_firegf"); // fire gaints
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 195:
|
|
SetLocalString(oBox, "GroupResRef", "group_087"); // fire gaints
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 196:
|
|
SetLocalString(oBox, "GroupResRef", "group_088"); // yuan-ti
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 197:
|
|
SetLocalString(oBox, "GroupResRef", "group_089"); // yuan-ti
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 198:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_balor"); //balor
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 199:
|
|
SetLocalString(oBox, "GroupResRef", "group_090"); // slaads
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 200:
|
|
SetLocalString(oBox, "GroupResRef", "group_091"); // slaads
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 201:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_sladr"); // red slaad
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 202:
|
|
SetLocalString(oBox, "GroupResRef", "group_092"); // elemental group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 203:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_lighte"); // lightning elemental
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 204:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_mage"); // magma elemental
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 205:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_spiderb"); // bloodback spider
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 206:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_scorps"); // giant desert scorpion
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs",1);
|
|
break;
|
|
case 207:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_vipd"); // desert viper
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 208:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_tigerd"); // dire tiger
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 209:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_icegm"); // frost giant
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 210:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_icegf"); // frost giant
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 211:
|
|
SetLocalString(oBox, "GroupResRef", "group_093"); // frost giant group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 212:
|
|
SetLocalString(oBox, "GroupResRef", "group_094"); // mummies
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 213:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_shadf"); // shadow fiend
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 214:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_spect"); // spectre
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 215:
|
|
SetLocalString(oBox, "GroupResRef", "group_095"); // spectre, shadow fiend, mummies
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 216:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_scare"); // scarecrow
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 217:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_twig"); // twig fiend
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 218:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_cyclops"); // cyclops
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 219:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_salam"); // salamander
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 220:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_salaf"); // salamander flamebrother
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 221:
|
|
SetLocalString(oBox, "GroupResRef", "group_096"); // salamander group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 222:
|
|
SetLocalString(oBox, "GroupResRef", "group_097"); // zombie pirates
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 223:
|
|
SetLocalString(oBox, "GroupResRef", "group_098"); // zombie pirates
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 224:
|
|
SetLocalString(oBox, "GroupResRef", "group_099"); // zombie pirates
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 225:
|
|
SetLocalString(oBox, "GroupResRef", "group_100"); // zombie pirates
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 226:
|
|
SetLocalString(oBox, "GroupResRef", "group_101"); // orok
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 227:
|
|
SetLocalString(oBox, "GroupResRef", "group_102"); // orok
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 228:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_sladw"); // white slaad
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 229:
|
|
SetLocalString(oBox, "GroupResRef", "group_103"); // khelek bugbear
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 3);
|
|
break;
|
|
case 230:
|
|
SetLocalString(oBox, "GroupResRef", "group_104"); // khelek bugbear
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 3);
|
|
break;
|
|
case 231:
|
|
SetLocalString(oBox, "GroupResRef", "group_105"); // undead group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 3);
|
|
break;
|
|
case 232:
|
|
SetLocalString(oBox, "GroupResRef", "group_106"); // undead group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 3);
|
|
break;
|
|
case 233:
|
|
SetLocalString(oBox, "GroupResRef", "group_107"); // undead group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 3);
|
|
break;
|
|
case 234:
|
|
SetLocalString(oBox, "GroupResRef", "group_108"); // undead group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 3);
|
|
break;
|
|
case 235:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_skelgi"); // skeletal giants
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 236:
|
|
SetLocalString(oBox, "GroupResRef", "group_109"); // bugbears
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 237:
|
|
SetLocalString(oBox, "GroupResRef", "group_110"); // bugbears
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 238:
|
|
SetLocalString(oBox, "GroupResRef", "group_111"); // bugbears
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 239:
|
|
SetLocalString(oBox, "GroupResRef", "group_112"); // bugbears
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 240:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_salte"); // salt elemental
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 241:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_smokee"); // smoke elemental
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 242:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_steame"); // steam elemental
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 243:
|
|
SetLocalString(oBox, "GroupResRef", "group_113"); // steam elemental
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 244:
|
|
SetLocalString(oBox, "GroupResRef", "group_114"); // all the black orchid company
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 245:
|
|
SetLocalString(oBox, "GroupResRef", "group_115"); // blighted elemental and kakku
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 246:
|
|
SetLocalString(oBox, "GroupResRef", "group_116"); // level 3 blight
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 247:
|
|
SetLocalString(oBox, "GroupResRef", "group_117"); // level 4 blight
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 248:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_erthelm"); // low group of earths
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 249:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_airelem"); // low group of air
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 250:
|
|
SetLocalString(oBox, "GroupResRef", "jw_mob_vops"); // swamp viper low nuymbers
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 251:
|
|
SetLocalString(oBox, "GroupResRef", "jw_forestv_sm"); // small forest vipers
|
|
SetLocalInt(oBox, "MaxMobs", 2);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 252:
|
|
SetLocalString(oBox, "GroupResRef", "jw_trog_mar"); // trog marauders
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 253:
|
|
SetLocalString(oBox, "GroupResRef", "group_118"); // Trog group
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 254:
|
|
SetLocalString(oBox, "GroupResRef", "group_119"); // Vines
|
|
SetLocalInt(oBox, "MaxMobs", 3);
|
|
SetLocalInt(oBox, "MinMobs", 1);
|
|
break;
|
|
case 255:
|
|
SetLocalString(oBox, "GroupResRef", "jw_basic_rat"); // rats
|
|
SetLocalInt(oBox, "MaxMobs", 4);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 256:
|
|
SetLocalString(oBox, "GroupResRef", "group_120"); // DJ_Abandoned Oupost creatures
|
|
SetLocalInt(oBox, "MaxMobs", 4);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
break;
|
|
case 257:
|
|
SetLocalString(oBox, "GroupResRef", "group_121"); // DJ_Abandoned Oupost creatures
|
|
SetLocalInt(oBox, "MaxMobs", 4);
|
|
SetLocalInt(oBox, "MinMobs", 2);
|
|
}
|
|
}
|
|
|
|
|
|
int GetSpawnGroupFromSet(int nSet)
|
|
{
|
|
int nRandom=d8();
|
|
int nGroup;
|
|
// for each set there are six different groups
|
|
// that can be returned. Set the groups here
|
|
|
|
// This is for our first set. The groups
|
|
// refer to the groups up above
|
|
if (nSet==1)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 1; break;
|
|
case 2: nGroup = 3; break;
|
|
case 3: nGroup = 4; break;
|
|
case 4: nGroup = 5; break;
|
|
case 5: nGroup = 39; break;
|
|
case 6: nGroup = 36; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==2)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 1; break;
|
|
case 2: nGroup = 1; break;
|
|
case 3: nGroup = 4; break;
|
|
case 4: nGroup = 5; break;
|
|
case 5: nGroup = 38; break;
|
|
case 6: nGroup = 39; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==3)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 1; break;
|
|
case 2: nGroup = 3; break;
|
|
case 3: nGroup = 3; break;
|
|
case 4: nGroup = 5; break;
|
|
case 5: nGroup = 36; break;
|
|
case 6: nGroup = 29; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==4)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 1; break;
|
|
case 2: nGroup = 3; break;
|
|
case 3: nGroup = 4; break;
|
|
case 4: nGroup = 27; break;
|
|
case 5: nGroup = 36; break;
|
|
case 6: nGroup = 30; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==5)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 1; break;
|
|
case 2: nGroup = 31; break;
|
|
case 3: nGroup = 27; break;
|
|
case 4: nGroup = 38; break;
|
|
case 5: nGroup = 36; break;
|
|
case 6: nGroup = 39; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==6)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 1; break;
|
|
case 2: nGroup = 5; break;
|
|
case 3: nGroup = 27; break;
|
|
case 4: nGroup = 22; break;
|
|
case 5: nGroup = 6; break;
|
|
case 6: nGroup = 39; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==7)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 3; break;
|
|
case 2: nGroup = 3; break;
|
|
case 3: nGroup = 3; break;
|
|
case 4: nGroup = 22; break;
|
|
case 5: nGroup = 3; break;
|
|
case 6: nGroup = 20; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==8)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 36; break;
|
|
case 2: nGroup = 36; break;
|
|
case 3: nGroup = 6; break;
|
|
case 4: nGroup = 6; break;
|
|
case 5: nGroup = 30; break;
|
|
case 6: nGroup = 31; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==9)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 22; break;
|
|
case 2: nGroup = 22; break;
|
|
case 3: nGroup = 37; break;
|
|
case 4: nGroup = 63; break;
|
|
case 5: nGroup = 4; break;
|
|
case 6: nGroup = 4; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==10)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 22; break;
|
|
case 2: nGroup = 22; break;
|
|
case 3: nGroup = 37; break;
|
|
case 4: nGroup = 63; break;
|
|
case 5: nGroup = 4; break;
|
|
case 6: nGroup = 4; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==11)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 41; break;
|
|
case 2: nGroup = 41; break;
|
|
case 3: nGroup = 51; break;
|
|
case 4: nGroup = 51; break;
|
|
case 5: nGroup = 42; break;
|
|
case 6: nGroup = 87; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==12)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 1; break;
|
|
case 2: nGroup = 49; break;
|
|
case 3: nGroup = 49; break;
|
|
case 4: nGroup = 50; break;
|
|
case 5: nGroup = 50; break;
|
|
case 6: nGroup = 87; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==13)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 1; break;
|
|
case 2: nGroup = 4; break;
|
|
case 3: nGroup = 49; break;
|
|
case 4: nGroup = 50; break;
|
|
case 5: nGroup = 51; break;
|
|
case 6: nGroup = 53; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==14)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 0; break;
|
|
case 2: nGroup = 1; break;
|
|
case 3: nGroup = 41; break;
|
|
case 4: nGroup = 58; break;
|
|
case 5: nGroup = 59; break;
|
|
case 6: nGroup = 60; break;
|
|
case 7: nGroup = 61; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==15)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 87; break;
|
|
case 2: nGroup = 103; break;
|
|
case 3: nGroup = 119; break;
|
|
case 4: nGroup = 119; break;
|
|
case 5: nGroup = 3; break;
|
|
case 6: nGroup = 36; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==16)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 103; break;
|
|
case 2: nGroup = 103; break;
|
|
case 3: nGroup = 119; break;
|
|
case 4: nGroup = 119; break;
|
|
case 5: nGroup = 76; break;
|
|
case 6: nGroup = 76; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==17)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 42; break;
|
|
case 2: nGroup = 103; break;
|
|
case 3: nGroup = 161; break;
|
|
case 4: nGroup = 119; break;
|
|
case 5: nGroup = 76; break;
|
|
case 6: nGroup = 76; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==18)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 87; break;
|
|
case 2: nGroup = 36; break;
|
|
case 3: nGroup = 128; break;
|
|
case 4: nGroup = 129; break;
|
|
case 5: nGroup = 130; break;
|
|
case 6: nGroup = 131; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==19)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 87; break;
|
|
case 2: nGroup = 3; break;
|
|
case 3: nGroup = 136; break;
|
|
case 4: nGroup = 137; break;
|
|
case 5: nGroup = 138; break;
|
|
case 6: nGroup = 139; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==20)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 171; break;
|
|
case 2: nGroup = 171; break;
|
|
case 3: nGroup = 171; break;
|
|
case 4: nGroup = 190; break;
|
|
case 5: nGroup = 190; break;
|
|
case 6: nGroup = 1; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==21)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 191; break;
|
|
case 2: nGroup = 191; break;
|
|
case 3: nGroup = 190; break;
|
|
case 4: nGroup = 190; break;
|
|
case 5: nGroup = 190; break;
|
|
case 6: nGroup = 5; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==22)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 191; break;
|
|
case 2: nGroup = 191; break;
|
|
case 3: nGroup = 175; break;
|
|
case 4: nGroup = 175; break;
|
|
case 5: nGroup = 175; break;
|
|
case 6: nGroup = 6; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==23)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 1; break;
|
|
case 2: nGroup = 3; break;
|
|
case 3: nGroup = 181; break;
|
|
case 4: nGroup = 181; break;
|
|
case 5: nGroup = 181; break;
|
|
case 6: nGroup = 22; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==24)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 184; break;
|
|
case 2: nGroup = 175; break;
|
|
case 3: nGroup = 175; break;
|
|
case 4: nGroup = 254; break;
|
|
case 5: nGroup = 254; break;
|
|
case 6: nGroup = 191; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==25)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 184; break;
|
|
case 2: nGroup = 176; break;
|
|
case 3: nGroup = 3; break;
|
|
case 4: nGroup = 177; break;
|
|
case 5: nGroup = 178; break;
|
|
case 6: nGroup = 179; break;
|
|
case 7: nGroup = 180; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==26)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 205; break;
|
|
case 2: nGroup = 208; break;
|
|
case 3: nGroup = 208; break;
|
|
case 4: nGroup = 208; break;
|
|
case 5: nGroup = 208; break;
|
|
case 6: nGroup = 217; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==27)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 244; break;
|
|
case 2: nGroup = 217; break;
|
|
case 3: nGroup = 217; break;
|
|
case 4: nGroup = 217; break;
|
|
case 5: nGroup = 217; break;
|
|
case 6: nGroup = 217; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==28)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 244; break;
|
|
case 2: nGroup = 226; break;
|
|
case 3: nGroup = 226; break;
|
|
case 4: nGroup = 226; break;
|
|
case 5: nGroup = 227; break;
|
|
case 6: nGroup = 227; break;
|
|
case 7: nGroup = 227; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==29)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 244; break;
|
|
case 2: nGroup = 236; break;
|
|
case 3: nGroup = 237; break;
|
|
case 4: nGroup = 238; break;
|
|
case 5: nGroup = 239; break;
|
|
case 6: nGroup = 240; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==30)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 1; break;
|
|
case 2: nGroup = 2; break;
|
|
case 3: nGroup = 2; break;
|
|
case 4: nGroup = 5; break;
|
|
case 5: nGroup = 29; break;
|
|
case 6: nGroup = 2; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==31)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 2; break;
|
|
case 2: nGroup = 2; break;
|
|
case 3: nGroup = 2; break;
|
|
case 4: nGroup = 4; break;
|
|
case 5: nGroup = 29; break;
|
|
case 6: nGroup = 38; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==32)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 2; break;
|
|
case 2: nGroup = 2; break;
|
|
case 3: nGroup = 2; break;
|
|
case 4: nGroup = 28; break;
|
|
case 5: nGroup = 41; break;
|
|
case 6: nGroup = 63; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==33)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 2; break;
|
|
case 2: nGroup = 16; break;
|
|
case 3: nGroup = 16; break;
|
|
case 4: nGroup = 17; break;
|
|
case 5: nGroup = 17; break;
|
|
case 6: nGroup = 77; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==34)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 2; break;
|
|
case 2: nGroup = 18; break;
|
|
case 3: nGroup = 18; break;
|
|
case 4: nGroup = 19; break;
|
|
case 5: nGroup = 19; break;
|
|
case 6: nGroup = 66; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==35)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 2; break;
|
|
case 2: nGroup = 28; break;
|
|
case 3: nGroup = 66; break;
|
|
case 4: nGroup = 28; break;
|
|
case 5: nGroup = 41; break;
|
|
case 6: nGroup = 66; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==36)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 1; break;
|
|
case 2: nGroup = 5; break;
|
|
case 3: nGroup = 32; break;
|
|
case 4: nGroup = 248; break;
|
|
case 5: nGroup = 249; break;
|
|
case 6: nGroup = 248; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==37)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 1; break;
|
|
case 2: nGroup = 5; break;
|
|
case 3: nGroup = 32; break;
|
|
case 4: nGroup = 57; break;
|
|
case 5: nGroup = 57; break;
|
|
case 6: nGroup = 57; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==38)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 1; break;
|
|
case 2: nGroup = 5; break;
|
|
case 3: nGroup = 66; break;
|
|
case 4: nGroup = 48; break;
|
|
case 5: nGroup = 48; break;
|
|
case 6: nGroup = 48; break;
|
|
case 7: nGroup = 48; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==39)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 103; break;
|
|
case 2: nGroup = 5; break;
|
|
case 3: nGroup = 102; break;
|
|
case 4: nGroup = 102; break;
|
|
case 5: nGroup = 123; break;
|
|
case 6: nGroup = 123; break;
|
|
case 7: nGroup = 147; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==40)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 105; break;
|
|
case 2: nGroup = 105; break;
|
|
case 3: nGroup = 106; break;
|
|
case 4: nGroup = 107; break;
|
|
case 5: nGroup = 107; break;
|
|
case 6: nGroup = 107; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==41)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 105; break;
|
|
case 2: nGroup = 127; break;
|
|
case 3: nGroup = 108; break;
|
|
case 4: nGroup = 108; break;
|
|
case 5: nGroup = 109; break;
|
|
case 6: nGroup = 109; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==42)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 102; break;
|
|
case 2: nGroup = 123; break;
|
|
case 3: nGroup = 127; break;
|
|
case 4: nGroup = 147; break;
|
|
case 5: nGroup = 146; break;
|
|
case 6: nGroup = 145; break;
|
|
case 7: nGroup = 147; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==43)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 162; break;
|
|
case 2: nGroup = 162; break;
|
|
case 3: nGroup = 166; break;
|
|
case 4: nGroup = 184; break;
|
|
case 5: nGroup = 191; break;
|
|
case 6: nGroup = 191; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==44)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 165; break;
|
|
case 2: nGroup = 252; break;
|
|
case 3: nGroup = 253; break;
|
|
case 4: nGroup = 253; break;
|
|
case 5: nGroup = 162; break;
|
|
case 6: nGroup = 165; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==45)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 176; break;
|
|
case 2: nGroup = 177; break;
|
|
case 3: nGroup = 178; break;
|
|
case 4: nGroup = 179; break;
|
|
case 5: nGroup = 162; break;
|
|
case 6: nGroup = 165; break;
|
|
case 7: nGroup = 184; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==46)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 216; break;
|
|
case 2: nGroup = 216; break;
|
|
case 3: nGroup = 216; break;
|
|
case 4: nGroup = 216; break;
|
|
case 5: nGroup = 235; break;
|
|
case 6: nGroup = 235; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==47)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 218; break;
|
|
case 2: nGroup = 226; break;
|
|
case 3: nGroup = 226; break;
|
|
case 4: nGroup = 226; break;
|
|
case 5: nGroup = 227; break;
|
|
case 6: nGroup = 227; break;
|
|
case 7: nGroup = 227; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==48)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 236; break;
|
|
case 2: nGroup = 237; break;
|
|
case 3: nGroup = 238; break;
|
|
case 4: nGroup = 239; break;
|
|
case 5: nGroup = 243; break;
|
|
case 6: nGroup = 244; break;
|
|
case 7: nGroup = 235; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==49)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 2; break;
|
|
case 2: nGroup = 2; break;
|
|
case 3: nGroup = 2; break;
|
|
case 4: nGroup = 2; break;
|
|
case 5: nGroup = 2; break;
|
|
case 6: nGroup = 0; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==50)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 2; break;
|
|
case 2: nGroup = 8; break;
|
|
case 3: nGroup = 8; break;
|
|
case 4: nGroup = 8; break;
|
|
case 5: nGroup = 48; break;
|
|
case 6: nGroup = 69; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==51)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 88; break;
|
|
case 2: nGroup = 88; break;
|
|
case 3: nGroup = 70; break;
|
|
case 4: nGroup = 70; break;
|
|
case 5: nGroup = 57; break;
|
|
case 6: nGroup = 69; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==52)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 88; break;
|
|
case 2: nGroup = 88; break;
|
|
case 3: nGroup = 70; break;
|
|
case 4: nGroup = 64; break;
|
|
case 5: nGroup = 64; break;
|
|
case 6: nGroup = 65; break;
|
|
case 7: nGroup = 65; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==53)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 96; break;
|
|
case 2: nGroup = 66; break;
|
|
case 3: nGroup = 69; break;
|
|
case 4: nGroup = 70; break;
|
|
case 5: nGroup = 77; break;
|
|
case 6: nGroup = 96; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==54)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 123; break;
|
|
case 2: nGroup = 123; break;
|
|
case 3: nGroup = 124; break;
|
|
case 4: nGroup = 124; break;
|
|
case 5: nGroup = 126; break;
|
|
case 6: nGroup = 126; break;
|
|
case 7: nGroup = 126; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==55)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 135; break;
|
|
case 2: nGroup = 135; break;
|
|
case 3: nGroup = 135; break;
|
|
case 4: nGroup = 124; break;
|
|
case 5: nGroup = 126; break;
|
|
case 6: nGroup = 126; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==56)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 166; break;
|
|
case 2: nGroup = 166; break;
|
|
case 3: nGroup = 185; break;
|
|
case 4: nGroup = 185; break;
|
|
case 5: nGroup = 203; break;
|
|
case 6: nGroup = 203; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==57)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 163; break;
|
|
case 2: nGroup = 163; break;
|
|
case 3: nGroup = 163; break;
|
|
case 4: nGroup = 163; break;
|
|
case 5: nGroup = 203; break;
|
|
case 6: nGroup = 203; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==58)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 172; break;
|
|
case 2: nGroup = 173; break;
|
|
case 3: nGroup = 174; break;
|
|
case 4: nGroup = 174; break;
|
|
case 5: nGroup = 173; break;
|
|
case 6: nGroup = 172; break;
|
|
case 7: nGroup = 190; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==59)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 209; break;
|
|
case 2: nGroup = 210; break;
|
|
case 3: nGroup = 211; break;
|
|
case 4: nGroup = 218; break;
|
|
case 5: nGroup = 240; break;
|
|
case 6: nGroup = 235; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==60)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 42; break;
|
|
case 2: nGroup = 70; break;
|
|
case 3: nGroup = 70; break;
|
|
case 4: nGroup = 54; break;
|
|
case 5: nGroup = 54; break;
|
|
case 6: nGroup = 54; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==61)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 66; break;
|
|
case 2: nGroup = 67; break;
|
|
case 3: nGroup = 70; break;
|
|
case 4: nGroup = 47; break;
|
|
case 5: nGroup = 47; break;
|
|
case 6: nGroup = 47; break;
|
|
case 7: nGroup = 12; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==62)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 106; break;
|
|
case 2: nGroup = 107; break;
|
|
case 3: nGroup = 125; break;
|
|
case 4: nGroup = 107; break;
|
|
case 5: nGroup = 107; break;
|
|
case 6: nGroup = 107; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
|
|
else
|
|
if (nSet==63)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 127; break;
|
|
case 2: nGroup = 145; break;
|
|
case 3: nGroup = 146; break;
|
|
case 4: nGroup = 145; break;
|
|
case 5: nGroup = 146; break;
|
|
case 6: nGroup = 147; break;
|
|
case 7: nGroup = 147; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==64)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 203; break;
|
|
case 2: nGroup = 204; break;
|
|
case 3: nGroup = 204; break;
|
|
case 4: nGroup = 202; break;
|
|
case 5: nGroup = 202; break;
|
|
case 6: nGroup = 202; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==65)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 182; break;
|
|
case 2: nGroup = 125; break;
|
|
case 3: nGroup = 193; break;
|
|
case 4: nGroup = 194; break;
|
|
case 5: nGroup = 195; break;
|
|
case 6: nGroup = 195; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==66)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 219; break;
|
|
case 2: nGroup = 125; break;
|
|
case 3: nGroup = 220; break;
|
|
case 4: nGroup = 221; break;
|
|
case 5: nGroup = 221; break;
|
|
case 6: nGroup = 221; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==67)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 205; break;
|
|
case 2: nGroup = 125; break;
|
|
case 3: nGroup = 231; break;
|
|
case 4: nGroup = 232; break;
|
|
case 5: nGroup = 233; break;
|
|
case 6: nGroup = 234; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==68)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 205; break;
|
|
case 2: nGroup = 125; break;
|
|
case 3: nGroup = 241; break;
|
|
case 4: nGroup = 242; break;
|
|
case 5: nGroup = 243; break;
|
|
case 6: nGroup = 243; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==69)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 8; break;
|
|
case 2: nGroup = 8; break;
|
|
case 3: nGroup = 8; break;
|
|
case 4: nGroup = 41; break;
|
|
case 5: nGroup = 55; break;
|
|
case 6: nGroup = 55; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==70)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 8; break;
|
|
case 2: nGroup = 96; break;
|
|
case 3: nGroup = 94; break;
|
|
case 4: nGroup = 93; break;
|
|
case 5: nGroup = 93; break;
|
|
case 6: nGroup = 94; break;
|
|
case 7: nGroup = 95; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==71)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 88; break;
|
|
case 2: nGroup = 96; break;
|
|
case 3: nGroup = 64; break;
|
|
case 4: nGroup = 64; break;
|
|
case 5: nGroup = 65; break;
|
|
case 6: nGroup = 65; break;
|
|
case 7: nGroup = 65; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==72)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 123; break;
|
|
case 2: nGroup = 124; break;
|
|
case 3: nGroup = 8; break;
|
|
case 4: nGroup = 101; break;
|
|
case 5: nGroup = 101; break;
|
|
case 6: nGroup = 101; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==73)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 101; break;
|
|
case 2: nGroup = 132; break;
|
|
case 3: nGroup = 132; break;
|
|
case 4: nGroup = 135; break;
|
|
case 5: nGroup = 135; break;
|
|
case 6: nGroup = 135; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==74)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 126; break;
|
|
case 2: nGroup = 124; break;
|
|
case 3: nGroup = 145; break;
|
|
case 4: nGroup = 146; break;
|
|
case 5: nGroup = 147; break;
|
|
case 6: nGroup = 147; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==75)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 135; break;
|
|
case 2: nGroup = 124; break;
|
|
case 3: nGroup = 132; break;
|
|
case 4: nGroup = 8; break;
|
|
case 5: nGroup = 151; break;
|
|
case 6: nGroup = 151; break;
|
|
case 7: nGroup = 157; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==76)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 163; break;
|
|
case 2: nGroup = 163; break;
|
|
case 3: nGroup = 163; break;
|
|
case 4: nGroup = 8; break;
|
|
case 5: nGroup = 163; break;
|
|
case 6: nGroup = 192; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==77)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 172; break;
|
|
case 2: nGroup = 173; break;
|
|
case 3: nGroup = 174; break;
|
|
case 4: nGroup = 163; break;
|
|
case 5: nGroup = 185; break;
|
|
case 6: nGroup = 192; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==78)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 172; break;
|
|
case 2: nGroup = 173; break;
|
|
case 3: nGroup = 174; break;
|
|
case 4: nGroup = 167; break;
|
|
case 5: nGroup = 168; break;
|
|
case 6: nGroup = 169; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==79)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 185; break;
|
|
case 2: nGroup = 186; break;
|
|
case 3: nGroup = 187; break;
|
|
case 4: nGroup = 188; break;
|
|
case 5: nGroup = 189; break;
|
|
case 6: nGroup = 101; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==80)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 209; break;
|
|
case 2: nGroup = 210; break;
|
|
case 3: nGroup = 211; break;
|
|
case 4: nGroup = 209; break;
|
|
case 5: nGroup = 210; break;
|
|
case 6: nGroup = 211; break;
|
|
case 7: nGroup = 124; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==81)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 229; break;
|
|
case 2: nGroup = 229; break;
|
|
case 3: nGroup = 229; break;
|
|
case 4: nGroup = 230; break;
|
|
case 5: nGroup = 230; break;
|
|
case 6: nGroup = 230; break;
|
|
case 7: nGroup = 8; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==82)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 218; break;
|
|
case 2: nGroup = 209; break;
|
|
case 3: nGroup = 210; break;
|
|
case 4: nGroup = 211; break;
|
|
case 5: nGroup = 229; break;
|
|
case 6: nGroup = 230; break;
|
|
case 7: nGroup = 132; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==83)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 235; break;
|
|
case 2: nGroup = 231; break;
|
|
case 3: nGroup = 232; break;
|
|
case 4: nGroup = 233; break;
|
|
case 5: nGroup = 234; break;
|
|
case 6: nGroup = 101; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==84)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 7; break;
|
|
case 2: nGroup = 7; break;
|
|
case 3: nGroup = 40; break;
|
|
case 4: nGroup = 40; break;
|
|
case 5: nGroup = 67; break;
|
|
case 6: nGroup = 67; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==85)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 7; break;
|
|
case 2: nGroup = 7; break;
|
|
case 3: nGroup = 73; break;
|
|
case 4: nGroup = 73; break;
|
|
case 5: nGroup = 73; break;
|
|
case 6: nGroup = 73; break;
|
|
case 7: nGroup = 21; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==86)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 104; break;
|
|
case 2: nGroup = 104; break;
|
|
case 3: nGroup = 104; break;
|
|
case 4: nGroup = 110; break;
|
|
case 5: nGroup = 110; break;
|
|
case 6: nGroup = 111; break;
|
|
case 7: nGroup = 111; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==87)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 104; break;
|
|
case 2: nGroup = 148; break;
|
|
case 3: nGroup = 148; break;
|
|
case 4: nGroup = 149; break;
|
|
case 5: nGroup = 149; break;
|
|
case 6: nGroup = 150; break;
|
|
case 7: nGroup = 150; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==88)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 133; break;
|
|
case 2: nGroup = 133; break;
|
|
case 3: nGroup = 134; break;
|
|
case 4: nGroup = 134; break;
|
|
case 5: nGroup = 125; break;
|
|
case 6: nGroup = 149; break;
|
|
case 7: nGroup = 150; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==89)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 202; break;
|
|
case 2: nGroup = 202; break;
|
|
case 3: nGroup = 193; break;
|
|
case 4: nGroup = 194; break;
|
|
case 5: nGroup = 195; break;
|
|
case 6: nGroup = 204; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==90)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 169; break;
|
|
case 2: nGroup = 168; break;
|
|
case 3: nGroup = 182; break;
|
|
case 4: nGroup = 104; break;
|
|
case 5: nGroup = 195; break;
|
|
case 6: nGroup = 167; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==91)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 206; break;
|
|
case 2: nGroup = 206; break;
|
|
case 3: nGroup = 206; break;
|
|
case 4: nGroup = 207; break;
|
|
case 5: nGroup = 207; break;
|
|
case 6: nGroup = 207; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==92)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 206; break;
|
|
case 2: nGroup = 206; break;
|
|
case 3: nGroup = 241; break;
|
|
case 4: nGroup = 207; break;
|
|
case 5: nGroup = 207; break;
|
|
case 6: nGroup = 241; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==93)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 219; break;
|
|
case 2: nGroup = 220; break;
|
|
case 3: nGroup = 220; break;
|
|
case 4: nGroup = 221; break;
|
|
case 5: nGroup = 221; break;
|
|
case 6: nGroup = 243; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==94)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 219; break;
|
|
case 2: nGroup = 220; break;
|
|
case 3: nGroup = 220; break;
|
|
case 4: nGroup = 221; break;
|
|
case 5: nGroup = 221; break;
|
|
case 6: nGroup = 207; break;
|
|
case 7: nGroup = 207; break;
|
|
case 8: nGroup = 206; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==95)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 21; break;
|
|
case 2: nGroup = 21; break;
|
|
case 3: nGroup = 32; break;
|
|
case 4: nGroup = 55; break;
|
|
case 5: nGroup = 71; break;
|
|
case 6: nGroup = 71; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==96)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 21; break;
|
|
case 2: nGroup = 21; break;
|
|
case 3: nGroup = 250; break;
|
|
case 4: nGroup = 250; break;
|
|
case 5: nGroup = 26; break;
|
|
case 6: nGroup = 71; break;
|
|
case 7: nGroup = 4; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==97)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 105; break;
|
|
case 2: nGroup = 105; break;
|
|
case 3: nGroup = 112; break;
|
|
case 4: nGroup = 113; break;
|
|
case 5: nGroup = 114; break;
|
|
case 6: nGroup = 115; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==98)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 141; break;
|
|
case 2: nGroup = 141; break;
|
|
case 3: nGroup = 141; break;
|
|
case 4: nGroup = 142; break;
|
|
case 5: nGroup = 142; break;
|
|
case 6: nGroup = 142; break;
|
|
case 7: nGroup = 105; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==99)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 164; break;
|
|
case 2: nGroup = 164; break;
|
|
case 3: nGroup = 164; break;
|
|
case 4: nGroup = 196; break;
|
|
case 5: nGroup = 196; break;
|
|
case 6: nGroup = 197; break;
|
|
case 7: nGroup = 197; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==100)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 74; break;
|
|
case 2: nGroup = 74; break;
|
|
case 3: nGroup = 192; break;
|
|
case 4: nGroup = 196; break;
|
|
case 5: nGroup = 196; break;
|
|
case 6: nGroup = 197; break;
|
|
case 7: nGroup = 197; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==101)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 242; break;
|
|
case 2: nGroup = 242; break;
|
|
case 3: nGroup = 242; break;
|
|
case 4: nGroup = 205; break;
|
|
case 5: nGroup = 205; break;
|
|
case 6: nGroup = 240; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==102)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 23; break;
|
|
case 2: nGroup = 24; break;
|
|
case 3: nGroup = 25; break;
|
|
case 4: nGroup = 23; break;
|
|
case 5: nGroup = 24; break;
|
|
case 6: nGroup = 25; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==103)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 97; break;
|
|
case 2: nGroup = 98; break;
|
|
case 3: nGroup = 99; break;
|
|
case 4: nGroup = 100; break;
|
|
case 5: nGroup = 100; break;
|
|
case 6: nGroup = 37; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==104)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 104; break;
|
|
case 2: nGroup = 133; break;
|
|
case 3: nGroup = 133; break;
|
|
case 4: nGroup = 134; break;
|
|
case 5: nGroup = 134; break;
|
|
case 6: nGroup = 147; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==105)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 97; break;
|
|
case 2: nGroup = 98; break;
|
|
case 3: nGroup = 224; break;
|
|
case 4: nGroup = 225; break;
|
|
case 5: nGroup = 25; break;
|
|
case 6: nGroup = 99; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==106)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 222; break;
|
|
case 2: nGroup = 223; break;
|
|
case 3: nGroup = 224; break;
|
|
case 4: nGroup = 225; break;
|
|
case 5: nGroup = 222; break;
|
|
case 6: nGroup = 223; break;
|
|
case 7: nGroup = 224; break;
|
|
case 8: nGroup = 225; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==107)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 9; break;
|
|
case 2: nGroup = 10; break;
|
|
case 3: nGroup = 11; break;
|
|
case 4: nGroup = 9; break;
|
|
case 5: nGroup = 10; break;
|
|
case 6: nGroup = 11; break;
|
|
case 7: nGroup = 26; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==108)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 12; break;
|
|
case 2: nGroup = 13; break;
|
|
case 3: nGroup = 14; break;
|
|
case 4: nGroup = 15; break;
|
|
case 5: nGroup = 10; break;
|
|
case 6: nGroup = 11; break;
|
|
case 7: nGroup = 20; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==109)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 16; break;
|
|
case 2: nGroup = 16; break;
|
|
case 3: nGroup = 16; break;
|
|
case 4: nGroup = 17; break;
|
|
case 5: nGroup = 17; break;
|
|
case 6: nGroup = 15; break;
|
|
case 7: nGroup = 26; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==110)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 18; break;
|
|
case 2: nGroup = 18; break;
|
|
case 3: nGroup = 18; break;
|
|
case 4: nGroup = 19; break;
|
|
case 5: nGroup = 19; break;
|
|
case 6: nGroup = 19; break;
|
|
case 7: nGroup = 10; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==111)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 44; break;
|
|
case 2: nGroup = 45; break;
|
|
case 3: nGroup = 46; break;
|
|
case 4: nGroup = 47; break;
|
|
case 5: nGroup = 44; break;
|
|
case 6: nGroup = 45; break;
|
|
case 7: nGroup = 43; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==112)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 79; break;
|
|
case 2: nGroup = 79; break;
|
|
case 3: nGroup = 80; break;
|
|
case 4: nGroup = 80; break;
|
|
case 5: nGroup = 81; break;
|
|
case 6: nGroup = 81; break;
|
|
case 7: nGroup = 43; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==113)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 82; break;
|
|
case 2: nGroup = 83; break;
|
|
case 3: nGroup = 84; break;
|
|
case 4: nGroup = 52; break;
|
|
case 5: nGroup = 72; break;
|
|
case 6: nGroup = 72; break;
|
|
case 7: nGroup = 78; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==114)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 33; break;
|
|
case 2: nGroup = 34; break;
|
|
case 3: nGroup = 35; break;
|
|
case 4: nGroup = 35; break;
|
|
case 5: nGroup = 62; break;
|
|
case 6: nGroup = 34; break;
|
|
case 7: nGroup = 43; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==115)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 85; break;
|
|
case 2: nGroup = 86; break;
|
|
case 3: nGroup = 68; break;
|
|
case 4: nGroup = 75; break;
|
|
case 5: nGroup = 62; break;
|
|
case 6: nGroup = 86; break;
|
|
case 7: nGroup = 56; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==116)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 89; break;
|
|
case 2: nGroup = 90; break;
|
|
case 3: nGroup = 91; break;
|
|
case 4: nGroup = 92; break;
|
|
case 5: nGroup = 75; break;
|
|
case 6: nGroup = 90; break;
|
|
case 7: nGroup = 89; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==117)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 58; break;
|
|
case 2: nGroup = 59; break;
|
|
case 3: nGroup = 60; break;
|
|
case 4: nGroup = 61; break;
|
|
case 5: nGroup = 9; break;
|
|
case 6: nGroup = 58; break;
|
|
case 7: nGroup = 60; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==118)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 120; break;
|
|
case 2: nGroup = 121; break;
|
|
case 3: nGroup = 122; break;
|
|
case 4: nGroup = 122; break;
|
|
case 5: nGroup = 140; break;
|
|
case 6: nGroup = 134; break;
|
|
case 7: nGroup = 106; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==119)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 108; break;
|
|
case 2: nGroup = 108; break;
|
|
case 3: nGroup = 109; break;
|
|
case 4: nGroup = 109; break;
|
|
case 5: nGroup = 140; break;
|
|
case 6: nGroup = 134; break;
|
|
case 7: nGroup = 109; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==120)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 116; break;
|
|
case 2: nGroup = 116; break;
|
|
case 3: nGroup = 117; break;
|
|
case 4: nGroup = 117; break;
|
|
case 5: nGroup = 118; break;
|
|
case 6: nGroup = 118; break;
|
|
case 7: nGroup = 151; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==121)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 136; break;
|
|
case 2: nGroup = 137; break;
|
|
case 3: nGroup = 138; break;
|
|
case 4: nGroup = 139; break;
|
|
case 5: nGroup = 136; break;
|
|
case 6: nGroup = 140; break;
|
|
case 7: nGroup = 138; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==122)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 143; break;
|
|
case 2: nGroup = 143; break;
|
|
case 3: nGroup = 144; break;
|
|
case 4: nGroup = 144; break;
|
|
case 5: nGroup = 147; break;
|
|
case 6: nGroup = 146; break;
|
|
case 7: nGroup = 145; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==123)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 152; break;
|
|
case 2: nGroup = 153; break;
|
|
case 3: nGroup = 154; break;
|
|
case 4: nGroup = 155; break;
|
|
case 5: nGroup = 156; break;
|
|
case 6: nGroup = 152; break;
|
|
case 7: nGroup = 153; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==124)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 157; break;
|
|
case 2: nGroup = 158; break;
|
|
case 3: nGroup = 159; break;
|
|
case 4: nGroup = 160; break;
|
|
case 5: nGroup = 156; break;
|
|
case 6: nGroup = 152; break;
|
|
case 7: nGroup = 151; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==125)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 176; break;
|
|
case 2: nGroup = 177; break;
|
|
case 3: nGroup = 178; break;
|
|
case 4: nGroup = 179; break;
|
|
case 5: nGroup = 180; break;
|
|
case 6: nGroup = 170; break;
|
|
case 7: nGroup = 192; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==126)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 167; break;
|
|
case 2: nGroup = 167; break;
|
|
case 3: nGroup = 168; break;
|
|
case 4: nGroup = 168; break;
|
|
case 5: nGroup = 169; break;
|
|
case 6: nGroup = 169; break;
|
|
case 7: nGroup = 192; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==127)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 186; break;
|
|
case 2: nGroup = 187; break;
|
|
case 3: nGroup = 188; break;
|
|
case 4: nGroup = 189; break;
|
|
case 5: nGroup = 183; break;
|
|
case 6: nGroup = 182; break;
|
|
case 7: nGroup = 170; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==128)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 198; break;
|
|
case 2: nGroup = 199; break;
|
|
case 3: nGroup = 200; break;
|
|
case 4: nGroup = 201; break;
|
|
case 5: nGroup = 183; break;
|
|
case 6: nGroup = 202; break;
|
|
case 7: nGroup = 204; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==129)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 229; break;
|
|
case 2: nGroup = 230; break;
|
|
case 3: nGroup = 236; break;
|
|
case 4: nGroup = 237; break;
|
|
case 5: nGroup = 238; break;
|
|
case 6: nGroup = 239; break;
|
|
case 7: nGroup = 205; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==130)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 235; break;
|
|
case 2: nGroup = 228; break;
|
|
case 3: nGroup = 226; break;
|
|
case 4: nGroup = 227; break;
|
|
case 5: nGroup = 228; break;
|
|
case 6: nGroup = 228; break;
|
|
case 7: nGroup = 205; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==131)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 212; break;
|
|
case 2: nGroup = 213; break;
|
|
case 3: nGroup = 214; break;
|
|
case 4: nGroup = 215; break;
|
|
case 5: nGroup = 215; break;
|
|
case 6: nGroup = 212; break;
|
|
case 7: nGroup = 214; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==132)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 231; break;
|
|
case 2: nGroup = 232; break;
|
|
case 3: nGroup = 233; break;
|
|
case 4: nGroup = 234; break;
|
|
case 5: nGroup = 231; break;
|
|
case 6: nGroup = 232; break;
|
|
case 7: nGroup = 233; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==133) // only used for testing
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 244; break;
|
|
case 2: nGroup = 244; break;
|
|
case 3: nGroup = 244; break;
|
|
case 4: nGroup = 244; break;
|
|
case 5: nGroup = 244; break;
|
|
case 6: nGroup = 244; break;
|
|
case 7: nGroup = 244; break;
|
|
case 8: nGroup = 244; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==134)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 106; break;
|
|
case 2: nGroup = 125; break;
|
|
case 3: nGroup = 125; break;
|
|
case 4: nGroup = 133; break;
|
|
case 5: nGroup = 133; break;
|
|
case 6: nGroup = 134; break;
|
|
case 7: nGroup = 134; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==135)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 126; break;
|
|
case 2: nGroup = 126; break;
|
|
case 3: nGroup = 126; break;
|
|
case 4: nGroup = 103; break;
|
|
case 5: nGroup = 42; break;
|
|
case 6: nGroup = 87; break;
|
|
case 7: nGroup = 0; break;
|
|
case 8: nGroup = 0; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==136)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 251; break;
|
|
case 2: nGroup = 22; break;
|
|
case 3: nGroup = 87; break;
|
|
case 4: nGroup = 161; break;
|
|
case 5: nGroup = 22; break;
|
|
case 6: nGroup = 22; break;
|
|
case 7: nGroup = 136; break;
|
|
case 8: nGroup = 251; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==137)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 255; break;
|
|
case 2: nGroup = 255; break;
|
|
case 3: nGroup = 255; break;
|
|
case 4: nGroup = 11; break;
|
|
case 5: nGroup = 11; break;
|
|
case 6: nGroup = 11; break;
|
|
case 7: nGroup = 20; break;
|
|
case 8: nGroup = 255; break;
|
|
}
|
|
}
|
|
else
|
|
if (nSet==138) //yet another addition for Abandoned outpost
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nGroup = 256; break;
|
|
case 2: nGroup = 256; break;
|
|
case 3: nGroup = 256; break;
|
|
case 4: nGroup = 256; break;
|
|
case 5: nGroup = 256; break;
|
|
case 6: nGroup = 256; break;
|
|
case 7: nGroup = 256; break;
|
|
case 8: nGroup = 256; break;
|
|
}
|
|
}
|
|
// And so on
|
|
|
|
return nGroup;
|
|
|
|
}
|
|
|
|
|
|
void SetNewSpawnSet(object oArea, int nAreaNumber)
|
|
{
|
|
// The area number is the will save of the box called jw_area_marker
|
|
// in the area
|
|
|
|
int nRandom=d6();
|
|
int nSet;
|
|
// for each area there are six different sets
|
|
// that can be returned. Set the sets here
|
|
|
|
// This is for our first area. The sets
|
|
// refer to the sets up above
|
|
if (nAreaNumber==1)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 1; break;
|
|
case 2: nSet = 2; break;
|
|
case 3: nSet = 3; break;
|
|
case 4: nSet = 1; break;
|
|
case 5: nSet = 2; break;
|
|
case 6: nSet = 3; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==2)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 1; break;
|
|
case 2: nSet = 2; break;
|
|
case 3: nSet = 3; break;
|
|
case 4: nSet = 4; break;
|
|
case 5: nSet = 5; break;
|
|
case 6: nSet = 4; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==3)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 4; break;
|
|
case 2: nSet = 5; break;
|
|
case 3: nSet = 4; break;
|
|
case 4: nSet = 5; break;
|
|
case 5: nSet = 1; break;
|
|
case 6: nSet = 2; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==4)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 4; break;
|
|
case 2: nSet = 5; break;
|
|
case 3: nSet = 6; break;
|
|
case 4: nSet = 7; break;
|
|
case 5: nSet = 8; break;
|
|
case 6: nSet = 9; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==5)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 4; break;
|
|
case 2: nSet = 5; break;
|
|
case 3: nSet = 10; break;
|
|
case 4: nSet = 11; break;
|
|
case 5: nSet = 12; break;
|
|
case 6: nSet = 13; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==6)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 1; break;
|
|
case 2: nSet = 2; break;
|
|
case 3: nSet = 10; break;
|
|
case 4: nSet = 13; break;
|
|
case 5: nSet = 14; break;
|
|
case 6: nSet = 11; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==7)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 15; break;
|
|
case 2: nSet = 16; break;
|
|
case 3: nSet = 17; break;
|
|
case 4: nSet = 19; break;
|
|
case 5: nSet = 19; break;
|
|
case 6: nSet = 17; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==8)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 20; break;
|
|
case 2: nSet = 21; break;
|
|
case 3: nSet = 22; break;
|
|
case 4: nSet = 25; break;
|
|
case 5: nSet = 24; break;
|
|
case 6: nSet = 18; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==9)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 23; break;
|
|
case 2: nSet = 24; break;
|
|
case 3: nSet = 26; break;
|
|
case 4: nSet = 27; break;
|
|
case 5: nSet = 28; break;
|
|
case 6: nSet = 29; break;
|
|
}
|
|
}
|
|
|
|
else
|
|
if (nAreaNumber==10)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 30; break;
|
|
case 2: nSet = 31; break;
|
|
case 3: nSet = 32; break;
|
|
case 4: nSet = 30; break;
|
|
case 5: nSet = 31; break;
|
|
case 6: nSet = 32; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==11)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 30; break;
|
|
case 2: nSet = 32; break;
|
|
case 3: nSet = 33; break;
|
|
case 4: nSet = 35; break;
|
|
case 5: nSet = 36; break;
|
|
case 6: nSet = 37; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==12)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 31; break;
|
|
case 2: nSet = 34; break;
|
|
case 3: nSet = 38; break;
|
|
case 4: nSet = 35; break;
|
|
case 5: nSet = 36; break;
|
|
case 6: nSet = 37; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==13)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 39; break;
|
|
case 2: nSet = 40; break;
|
|
case 3: nSet = 41; break;
|
|
case 4: nSet = 42; break;
|
|
case 5: nSet = 39; break;
|
|
case 6: nSet = 42; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==14)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 43; break;
|
|
case 2: nSet = 44; break;
|
|
case 3: nSet = 45; break;
|
|
case 4: nSet = 43; break;
|
|
case 5: nSet = 44; break;
|
|
case 6: nSet = 45; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==15)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 46; break;
|
|
case 2: nSet = 47; break;
|
|
case 3: nSet = 48; break;
|
|
case 4: nSet = 46; break;
|
|
case 5: nSet = 47; break;
|
|
case 6: nSet = 48; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==16)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 49; break;
|
|
case 2: nSet = 50; break;
|
|
case 3: nSet = 51; break;
|
|
case 4: nSet = 52; break;
|
|
case 5: nSet = 53; break;
|
|
case 6: nSet = 52; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==17)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 54; break;
|
|
case 2: nSet = 55; break;
|
|
case 3: nSet = 54; break;
|
|
case 4: nSet = 55; break;
|
|
case 5: nSet = 54; break;
|
|
case 6: nSet = 55; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==18)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 56; break;
|
|
case 2: nSet = 57; break;
|
|
case 3: nSet = 58; break;
|
|
case 4: nSet = 56; break;
|
|
case 5: nSet = 57; break;
|
|
case 6: nSet = 58; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==19)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 59; break;
|
|
case 2: nSet = 59; break;
|
|
case 3: nSet = 59; break;
|
|
case 4: nSet = 59; break;
|
|
case 5: nSet = 59; break;
|
|
case 6: nSet = 58; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==20)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 60; break;
|
|
case 2: nSet = 61; break;
|
|
case 3: nSet = 60; break;
|
|
case 4: nSet = 61; break;
|
|
case 5: nSet = 60; break;
|
|
case 6: nSet = 61; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==21)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 62; break;
|
|
case 2: nSet = 134; break;
|
|
case 3: nSet = 63; break;
|
|
case 4: nSet = 62; break;
|
|
case 5: nSet = 134; break;
|
|
case 6: nSet = 63; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==22)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 64; break;
|
|
case 2: nSet = 65; break;
|
|
case 3: nSet = 64; break;
|
|
case 4: nSet = 65; break;
|
|
case 5: nSet = 64; break;
|
|
case 6: nSet = 65; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==23)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 66; break;
|
|
case 2: nSet = 67; break;
|
|
case 3: nSet = 68; break;
|
|
case 4: nSet = 66; break;
|
|
case 5: nSet = 67; break;
|
|
case 6: nSet = 68; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==24)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 69; break;
|
|
case 2: nSet = 70; break;
|
|
case 3: nSet = 71; break;
|
|
case 4: nSet = 69; break;
|
|
case 5: nSet = 70; break;
|
|
case 6: nSet = 71; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==25)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 72; break;
|
|
case 2: nSet = 73; break;
|
|
case 3: nSet = 74; break;
|
|
case 4: nSet = 75; break;
|
|
case 5: nSet = 72; break;
|
|
case 6: nSet = 75; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==26)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 76; break;
|
|
case 2: nSet = 77; break;
|
|
case 3: nSet = 78; break;
|
|
case 4: nSet = 79; break;
|
|
case 5: nSet = 77; break;
|
|
case 6: nSet = 78; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==27)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 80; break;
|
|
case 2: nSet = 81; break;
|
|
case 3: nSet = 82; break;
|
|
case 4: nSet = 83; break;
|
|
case 5: nSet = 80; break;
|
|
case 6: nSet = 81; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==28)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 84; break;
|
|
case 2: nSet = 85; break;
|
|
case 3: nSet = 84; break;
|
|
case 4: nSet = 85; break;
|
|
case 5: nSet = 84; break;
|
|
case 6: nSet = 85; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==29)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 86; break;
|
|
case 2: nSet = 87; break;
|
|
case 3: nSet = 88; break;
|
|
case 4: nSet = 86; break;
|
|
case 5: nSet = 87; break;
|
|
case 6: nSet = 88; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==30)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 89; break;
|
|
case 2: nSet = 90; break;
|
|
case 3: nSet = 89; break;
|
|
case 4: nSet = 90; break;
|
|
case 5: nSet = 89; break;
|
|
case 6: nSet = 90; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==31)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 91; break;
|
|
case 2: nSet = 92; break;
|
|
case 3: nSet = 93; break;
|
|
case 4: nSet = 94; break;
|
|
case 5: nSet = 92; break;
|
|
case 6: nSet = 94; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==32)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 95; break;
|
|
case 2: nSet = 95; break;
|
|
case 3: nSet = 95; break;
|
|
case 4: nSet = 96; break;
|
|
case 5: nSet = 96; break;
|
|
case 6: nSet = 96; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==33)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 97; break;
|
|
case 2: nSet = 97; break;
|
|
case 3: nSet = 97; break;
|
|
case 4: nSet = 98; break;
|
|
case 5: nSet = 98; break;
|
|
case 6: nSet = 98; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==34)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 99; break;
|
|
case 2: nSet = 99; break;
|
|
case 3: nSet = 99; break;
|
|
case 4: nSet = 100; break;
|
|
case 5: nSet = 100; break;
|
|
case 6: nSet = 100; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==35)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 101; break;
|
|
case 2: nSet = 101; break;
|
|
case 3: nSet = 101; break;
|
|
case 4: nSet = 101; break;
|
|
case 5: nSet = 101; break;
|
|
case 6: nSet = 101; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==36)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 102; break;
|
|
case 2: nSet = 102; break;
|
|
case 3: nSet = 102; break;
|
|
case 4: nSet = 103; break;
|
|
case 5: nSet = 103; break;
|
|
case 6: nSet = 103; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==37)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 104; break;
|
|
case 2: nSet = 104; break;
|
|
case 3: nSet = 104; break;
|
|
case 4: nSet = 104; break;
|
|
case 5: nSet = 104; break;
|
|
case 6: nSet = 104; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==38)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 105; break;
|
|
case 2: nSet = 105; break;
|
|
case 3: nSet = 105; break;
|
|
case 4: nSet = 105; break;
|
|
case 5: nSet = 105; break;
|
|
case 6: nSet = 105; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==39)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 106; break;
|
|
case 2: nSet = 106; break;
|
|
case 3: nSet = 106; break;
|
|
case 4: nSet = 106; break;
|
|
case 5: nSet = 106; break;
|
|
case 6: nSet = 106; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==40)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 107; break;
|
|
case 2: nSet = 108; break;
|
|
case 3: nSet = 111; break;
|
|
case 4: nSet = 107; break;
|
|
case 5: nSet = 108; break;
|
|
case 6: nSet = 111; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==41)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 109; break;
|
|
case 2: nSet = 110; break;
|
|
case 3: nSet = 109; break;
|
|
case 4: nSet = 110; break;
|
|
case 5: nSet = 109; break;
|
|
case 6: nSet = 110; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==42)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 112; break;
|
|
case 2: nSet = 112; break;
|
|
case 3: nSet = 112; break;
|
|
case 4: nSet = 117; break;
|
|
case 5: nSet = 117; break;
|
|
case 6: nSet = 117; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==43)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 115; break;
|
|
case 2: nSet = 115; break;
|
|
case 3: nSet = 115; break;
|
|
case 4: nSet = 116; break;
|
|
case 5: nSet = 116; break;
|
|
case 6: nSet = 116; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==44)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 113; break;
|
|
case 2: nSet = 113; break;
|
|
case 3: nSet = 113; break;
|
|
case 4: nSet = 114; break;
|
|
case 5: nSet = 114; break;
|
|
case 6: nSet = 114; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==45)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 119; break;
|
|
case 2: nSet = 121; break;
|
|
case 3: nSet = 119; break;
|
|
case 4: nSet = 121; break;
|
|
case 5: nSet = 119; break;
|
|
case 6: nSet = 121; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==46)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 118; break;
|
|
case 2: nSet = 122; break;
|
|
case 3: nSet = 118; break;
|
|
case 4: nSet = 122; break;
|
|
case 5: nSet = 118; break;
|
|
case 6: nSet = 122; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==47)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 120; break;
|
|
case 2: nSet = 123; break;
|
|
case 3: nSet = 124; break;
|
|
case 4: nSet = 120; break;
|
|
case 5: nSet = 123; break;
|
|
case 6: nSet = 124; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==48)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 125; break;
|
|
case 2: nSet = 126; break;
|
|
case 3: nSet = 125; break;
|
|
case 4: nSet = 126; break;
|
|
case 5: nSet = 125; break;
|
|
case 6: nSet = 126; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==49)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 127; break;
|
|
case 2: nSet = 128; break;
|
|
case 3: nSet = 127; break;
|
|
case 4: nSet = 128; break;
|
|
case 5: nSet = 127; break;
|
|
case 6: nSet = 128; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==50)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 129; break;
|
|
case 2: nSet = 130; break;
|
|
case 3: nSet = 129; break;
|
|
case 4: nSet = 130; break;
|
|
case 5: nSet = 129; break;
|
|
case 6: nSet = 130; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==51)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 131; break;
|
|
case 2: nSet = 132; break;
|
|
case 3: nSet = 131; break;
|
|
case 4: nSet = 132; break;
|
|
case 5: nSet = 131; break;
|
|
case 6: nSet = 132; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==52)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 15; break;
|
|
case 2: nSet = 16; break;
|
|
case 3: nSet = 17; break;
|
|
case 4: nSet = 18; break;
|
|
case 5: nSet = 19; break;
|
|
case 6: nSet = 135; break;
|
|
}
|
|
}
|
|
else
|
|
if (nAreaNumber==53)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 15; break;
|
|
case 2: nSet = 16; break;
|
|
case 3: nSet = 17; break;
|
|
case 4: nSet = 18; break;
|
|
case 5: nSet = 19; break;
|
|
case 6: nSet = 136; break;
|
|
}
|
|
}
|
|
// else
|
|
//if (nAreaNumber==54)
|
|
//{
|
|
// switch (nRandom)
|
|
// {
|
|
// case 1: nSet = 26; break;
|
|
// case 2: nSet = 27; break;
|
|
// case 3: nSet = 101; break;
|
|
// case 4: nSet = 26; break;
|
|
// case 5: nSet = 27; break;
|
|
// case 6: nSet = 101; break;
|
|
// }
|
|
//}
|
|
// else
|
|
// if (nAreaNumber==55)
|
|
// {
|
|
// switch (nRandom)
|
|
//{
|
|
// case 1: nSet = 137; break;
|
|
// case 2: nSet = 137; break;
|
|
// case 3: nSet = 137; break;
|
|
// case 4: nSet = 137; break;
|
|
//case 5: nSet = 137; break;
|
|
//case 6: nSet = 137; break;
|
|
// }
|
|
// }
|
|
else //DJ_For my new dungeon Abandoned Outpost.
|
|
if (nAreaNumber==55)
|
|
{
|
|
switch (nRandom)
|
|
{
|
|
case 1: nSet = 138; break;
|
|
case 2: nSet = 138; break;
|
|
case 3: nSet = 138; break;
|
|
case 4: nSet = 138; break;
|
|
case 5: nSet = 138; break;
|
|
case 6: nSet = 138; break;
|
|
}
|
|
}
|
|
// And so on
|
|
|
|
|
|
/// We end by setting a local into in the area
|
|
SetLocalInt(oArea,"currentspawnset",nSet);
|
|
// And save it in the databse
|
|
SaveSpawnSetToDatabase(oArea, nSet);
|
|
}
|
|
|
|
void SaveSpawnSetToDatabase(object oArea, int nSet)
|
|
{
|
|
SetCampaignInt("NEW_WORLD","set"+GetTag(oArea),nSet);
|
|
}
|