Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor item fixes #2478

Merged
merged 1 commit into from Aug 18, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 6 additions & 5 deletions Scripts/Items/StoreBought/PetBrandingIron.cs
Expand Up @@ -4,7 +4,8 @@

namespace Server.Items
{
public class PetBraningIron : BaseEngravingTool
[TypeAlias("Server.Items.PetBraningIron")]
public class PetBrandingIron : BaseEngravingTool
{
public override int GumpTitle { get { return 1157374; } }
public override int LabelNumber { get { return 1157314; } }
Expand All @@ -19,18 +20,18 @@ public class PetBraningIron : BaseEngravingTool
public override Type[] Engraves { get { return new Type[] { typeof(BaseCreature) }; } }

[Constructable]
public PetBraningIron()
: this(1)
public PetBrandingIron()
: this(30)
{
}

[Constructable]
public PetBraningIron(int charges)
public PetBrandingIron(int charges)
: base(0x9E87, charges)
{
}

public PetBraningIron(Serial serial)
public PetBrandingIron(Serial serial)
: base(serial)
{
}
Expand Down
2 changes: 1 addition & 1 deletion Scripts/Services/Monster Stealing/Core/StealingHandler.cs
Expand Up @@ -67,7 +67,7 @@ public static void HandleSteal(BaseCreature from, PlayerMobile thief)

public static void HandleSmugglersEdgeSteal(BaseCreature from, PlayerMobile thief)
{
if (from.HasBeenStolen)
if (from.HasBeenStolen || !CheckLocation(thief, from))
return;

if (0.05 > Utility.RandomDouble())
Expand Down