fix: Fixes BaseVendor IsInvuln configuration (#2309)
This commit is contained in:
parent
89f620218d
commit
c4c8b45b79
1 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ namespace Server.Mobiles
|
||||||
// See SBAnimalTrainer for an example
|
// See SBAnimalTrainer for an example
|
||||||
_enableVendorBuyOPL = ServerConfiguration.GetSetting("opl.enableForVendorBuy", true);
|
_enableVendorBuyOPL = ServerConfiguration.GetSetting("opl.enableForVendorBuy", true);
|
||||||
|
|
||||||
_vendorInvulnerable = ServerConfiguration.GetSetting("vendor.isInvulnerable", false);
|
_vendorInvulnerable = ServerConfiguration.GetSetting("vendor.isInvulnerable", Core.LBR);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Initialize()
|
public static void Initialize()
|
||||||
|
|
@ -96,7 +96,7 @@ namespace Server.Mobiles
|
||||||
|
|
||||||
public virtual NpcGuild NpcGuild => NpcGuild.None;
|
public virtual NpcGuild NpcGuild => NpcGuild.None;
|
||||||
|
|
||||||
public override bool IsInvulnerable => Core.LBR || _vendorInvulnerable;
|
public override bool IsInvulnerable => _vendorInvulnerable;
|
||||||
|
|
||||||
public virtual DateTime NextTrickOrTreat { get; set; }
|
public virtual DateTime NextTrickOrTreat { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue