fix: Updates professions & new player gargish equipment (#819)
* Now reads Prof.txt to get the professions * The templated professions are based on profession `TrueName` * Adds missing starting equipment * Implements gargish starting equipment * Consolidates some of the code * Moves TC stuff to the TC file. * Fixes some starting equipment that was wrong. Note: * Implementing the original T2A professions is possible on the client side, but requires moving the old clilocs to the current clilocs file. In the current file the entries are blank. * Using the original LBR professions (they match AOS but without necromancy/chivalry) is kind of confusing because the profession indexes are ripped out of the UOTD/UOR ones and have non-sequential indexes. This will probably cause confusion and people will get no templated items when they select the wrong profession.
This commit is contained in:
parent
7361c9158b
commit
bfbe2a6512
80 changed files with 2654 additions and 1409 deletions
|
|
@ -119,7 +119,8 @@ namespace Server.Mobiles
|
|||
p = GetSpawnPosition(2);
|
||||
|
||||
var eable = Map.GetItemsInRange<StainedOoze>(p, 0);
|
||||
bool atLocation = eable.GetEnumerator().MoveNext();
|
||||
using var enumerator = eable.GetEnumerator();
|
||||
bool atLocation = enumerator.MoveNext();
|
||||
eable.Free();
|
||||
if (!atLocation)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -252,7 +252,8 @@ namespace Server.Mobiles
|
|||
p = GetSpawnPosition(2);
|
||||
|
||||
var eable = Map.GetItemsInRange<StainedOoze>(p, 0);
|
||||
bool atLocation = eable.GetEnumerator().MoveNext();
|
||||
using var enumerator = eable.GetEnumerator();
|
||||
bool atLocation = enumerator.MoveNext();
|
||||
eable.Free();
|
||||
if (!atLocation)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -803,14 +803,21 @@ namespace Server.Mobiles
|
|||
switch (type)
|
||||
{
|
||||
case BlockMountType.Dazed:
|
||||
SendLocalizedMessage(1112457);
|
||||
break; // You are still too dazed to fly.
|
||||
{
|
||||
SendLocalizedMessage(1112457); // You are still too dazed to fly.
|
||||
break;
|
||||
}
|
||||
case BlockMountType.BolaRecovery:
|
||||
SendLocalizedMessage(1112455);
|
||||
break; // You cannot fly while recovering from a bola throw.
|
||||
{
|
||||
SendLocalizedMessage(1112455); // You cannot fly while recovering from a bola throw.
|
||||
break;
|
||||
}
|
||||
case BlockMountType.DismountRecovery:
|
||||
SendLocalizedMessage(1112456);
|
||||
break; // You cannot fly while recovering from a dismount maneuver.
|
||||
{
|
||||
// You cannot fly while recovering from a dismount maneuver.
|
||||
SendLocalizedMessage(1112456);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (Hits < 25) // TODO confirm
|
||||
|
|
@ -3204,7 +3211,6 @@ namespace Server.Mobiles
|
|||
|
||||
RecentlyReported ??= new List<Mobile>();
|
||||
|
||||
// Professions weren't verified on 1.0 RC0
|
||||
if (!CharacterCreation.VerifyProfession(Profession))
|
||||
{
|
||||
Profession = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue