fix: Fixes NPE in champ titles (#1434)
This commit is contained in:
parent
51ecee6caa
commit
6547239fa6
4 changed files with 6 additions and 9 deletions
|
|
@ -13,9 +13,6 @@ namespace Server.Mobiles
|
|||
Body = Core.UOR ? Utility.Random(125, 2) : 0x190;
|
||||
Hue = Core.UOR ? 0 : Race.Human.RandomSkinHue();
|
||||
|
||||
EquipItem(new Robe(Utility.RandomMetalHue()));
|
||||
EquipItem(new WizardsHat(Utility.RandomMetalHue()));
|
||||
|
||||
SetStr(81, 105);
|
||||
SetDex(191, 215);
|
||||
SetInt(126, 150);
|
||||
|
|
@ -44,6 +41,10 @@ namespace Server.Mobiles
|
|||
|
||||
VirtualArmor = 16;
|
||||
PackReg(23);
|
||||
|
||||
EquipItem(new Robe(Utility.RandomMetalHue()));
|
||||
EquipItem(new WizardsHat(Utility.RandomMetalHue()));
|
||||
|
||||
if (Utility.RandomBool())
|
||||
{
|
||||
EquipItem(new Shoes());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue