fix: Fixes slayer assignment (#2344)
This commit is contained in:
parent
c494fb4cc3
commit
5ea926bf1c
1 changed files with 1 additions and 2 deletions
|
|
@ -764,8 +764,7 @@ namespace Server
|
|||
{
|
||||
weapon.Slayer = SlayerName.Silver;
|
||||
}
|
||||
|
||||
if (from != null && weapon.AccuracyLevel == 0 && weapon.DamageLevel == 0 &&
|
||||
else if (from != null && weapon.AccuracyLevel == 0 && weapon.DamageLevel == 0 &&
|
||||
weapon.DurabilityLevel == 0 && weapon.Slayer == SlayerName.None && Utility.Random(100) < 5)
|
||||
{
|
||||
weapon.Slayer = SlayerGroup.GetLootSlayerType(from.GetType());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue