Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -100,10 +100,7 @@ namespace Server.Items
|
|||
{
|
||||
private Bandage m_Bandage;
|
||||
|
||||
public InternalTarget(Bandage bandage) : base(Bandage.Range, false, TargetFlags.Beneficial)
|
||||
{
|
||||
m_Bandage = bandage;
|
||||
}
|
||||
public InternalTarget(Bandage bandage) : base(Bandage.Range, false, TargetFlags.Beneficial) => m_Bandage = bandage;
|
||||
|
||||
protected override void OnTarget(Mobile from, object targeted)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -196,10 +196,7 @@ namespace Server.Items
|
|||
{
|
||||
private FireHorn m_Horn;
|
||||
|
||||
public InternalTarget(FireHorn horn) : base(Core.AOS ? 3 : 2, true, TargetFlags.Harmful)
|
||||
{
|
||||
m_Horn = horn;
|
||||
}
|
||||
public InternalTarget(FireHorn horn) : base(Core.AOS ? 3 : 2, true, TargetFlags.Harmful) => m_Horn = horn;
|
||||
|
||||
protected override void OnTarget(Mobile from, object targeted)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,10 +13,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
[Constructible]
|
||||
public RecipeScroll(int recipeID) : base(0x2831)
|
||||
{
|
||||
m_RecipeID = recipeID;
|
||||
}
|
||||
public RecipeScroll(int recipeID) : base(0x2831) => m_RecipeID = recipeID;
|
||||
|
||||
public RecipeScroll(Serial serial)
|
||||
: base(serial)
|
||||
|
|
|
|||
|
|
@ -156,11 +156,7 @@ namespace Server.Items
|
|||
return false;
|
||||
}
|
||||
|
||||
public bool VerifyRegion(Mobile m)
|
||||
{
|
||||
//TODO: When the entire region system data is in, convert to that instead of a proximity thing.
|
||||
return m.Region.IsPartOf<TownRegion>() && Faction.IsNearType(m, RepairSkillInfo.GetInfo(m_Skill).NearbyTypes, 6);
|
||||
}
|
||||
public bool VerifyRegion(Mobile m) => m.Region.IsPartOf<TownRegion>() && Faction.IsNearType(m, RepairSkillInfo.GetInfo(m_Skill).NearbyTypes, 6);
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue