Removes implicit this.
This commit is contained in:
parent
04b4cfe75b
commit
83dcf536d8
533 changed files with 2804 additions and 2806 deletions
|
|
@ -69,7 +69,7 @@ namespace Server.Engines.Craft
|
|||
{
|
||||
if ( m_Recipe != null )
|
||||
{
|
||||
Console.WriteLine( "Warning: Attempted add of recipe #{0} to the crafting of {1} in CraftSystem {2}.", id, this.m_Type.Name, system );
|
||||
Console.WriteLine( "Warning: Attempted add of recipe #{0} to the crafting of {1} in CraftSystem {2}.", id, m_Type.Name, system );
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -938,7 +938,7 @@ namespace Server.Engines.Craft
|
|||
|
||||
if ( allRequiredSkills && chance >= 0.0 )
|
||||
{
|
||||
if ( this.Recipe == null || !(from is PlayerMobile) || ((PlayerMobile)from).HasRecipe( this.Recipe ) )
|
||||
if ( Recipe == null || !(from is PlayerMobile) || ((PlayerMobile)from).HasRecipe( Recipe ) )
|
||||
{
|
||||
int badCraft = craftSystem.CanCraft( from, tool, m_Type );
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ namespace Server.Engines.Craft
|
|||
AddButton( 20, 125, 4005, 4007, 0, GumpButtonType.Reply, 0 );
|
||||
}
|
||||
|
||||
public override void OnResponse( Server.Network.NetState sender, RelayInfo info )
|
||||
public override void OnResponse( Network.NetState sender, RelayInfo info )
|
||||
{
|
||||
bool makersMark = ( info.ButtonID == 1 );
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Server.Engines.Craft
|
|||
Mobile m = e.Mobile;
|
||||
m.SendMessage( "Target a player to teach them all of the recipies." );
|
||||
|
||||
m.BeginTarget( -1, false, Server.Targeting.TargetFlags.None, new TargetCallback(
|
||||
m.BeginTarget( -1, false, Targeting.TargetFlags.None, new TargetCallback(
|
||||
delegate( Mobile from, object targeted )
|
||||
{
|
||||
if ( targeted is PlayerMobile mobile )
|
||||
|
|
@ -45,7 +45,7 @@ namespace Server.Engines.Craft
|
|||
Mobile m = e.Mobile;
|
||||
m.SendMessage( "Target a player to have them forget all of the recipies they've learned." );
|
||||
|
||||
m.BeginTarget( -1, false, Server.Targeting.TargetFlags.None, new TargetCallback(
|
||||
m.BeginTarget( -1, false, Targeting.TargetFlags.None, new TargetCallback(
|
||||
delegate( Mobile from, object targeted )
|
||||
{
|
||||
if ( targeted is PlayerMobile mobile )
|
||||
|
|
|
|||
|
|
@ -470,13 +470,13 @@ namespace Server.Engines.Craft
|
|||
|
||||
public override Item CompleteCraft( out int message )
|
||||
{
|
||||
message = Verify( this.Container );
|
||||
message = Verify( Container );
|
||||
|
||||
if ( message == 0 )
|
||||
{
|
||||
int trapLevel = (int)(From.Skills.Tinkering.Value / 10);
|
||||
|
||||
Container.TrapType = this.TrapType;
|
||||
Container.TrapType = TrapType;
|
||||
Container.TrapPower = trapLevel * 9;
|
||||
Container.TrapLevel = trapLevel;
|
||||
Container.TrapOnLockpick = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue