fix: Fixes bug with non blessed starter spellbooks (#2368)
This commit is contained in:
parent
bb62434f46
commit
31b22d4773
1 changed files with 5 additions and 5 deletions
|
|
@ -552,7 +552,7 @@ public static partial class CharacterCreation
|
|||
}
|
||||
|
||||
// animate dead, evil omen, pain spike, summon familiar, wraith form
|
||||
m.PackItem(new NecromancerSpellbook(0x8981ul) { LootType = LootType.Blessed });
|
||||
m.PackItem(new NecromancerSpellbook(0x8981ul));
|
||||
return;
|
||||
}
|
||||
case "paladin":
|
||||
|
|
@ -590,7 +590,7 @@ public static partial class CharacterCreation
|
|||
EquipItem(m, new BodySash(0xCF));
|
||||
}
|
||||
|
||||
m.PackItem(new BookOfChivalry { LootType = LootType.Blessed });
|
||||
m.PackItem(new BookOfChivalry());
|
||||
return;
|
||||
}
|
||||
case "samurai":
|
||||
|
|
@ -721,7 +721,7 @@ public static partial class CharacterCreation
|
|||
return;
|
||||
}
|
||||
|
||||
if (!Core.AOS)
|
||||
if (!Core.AOS && item.LootType == LootType.Regular)
|
||||
{
|
||||
item.LootType = LootType.Newbied;
|
||||
}
|
||||
|
|
@ -745,7 +745,7 @@ public static partial class CharacterCreation
|
|||
|
||||
private static void PackItem(this Mobile m, Item item)
|
||||
{
|
||||
if (!Core.AOS)
|
||||
if (!Core.AOS && item.LootType == LootType.Regular)
|
||||
{
|
||||
item.LootType = LootType.Newbied;
|
||||
}
|
||||
|
|
@ -1192,7 +1192,7 @@ public static partial class CharacterCreation
|
|||
m.PackScroll(1);
|
||||
m.PackScroll(2);
|
||||
|
||||
EquipItem(m, new Spellbook(0x382A8C38ul) { LootType = LootType.Blessed });
|
||||
EquipItem(m, new Spellbook(0x382A8C38ul));
|
||||
EquipItem(m, Robe(raceFlag, female, Utility.RandomBlueHue()));
|
||||
|
||||
if (elf)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue