Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -8,7 +8,7 @@ namespace Server.Engines.Quests.Doom
|
|||
{
|
||||
public class BellOfTheDead : Item
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1050018; } } // bell of the dead
|
||||
public override int LabelNumber => 1050018; // bell of the dead
|
||||
|
||||
[Constructible]
|
||||
public BellOfTheDead() : base( 0x91A )
|
||||
|
|
@ -132,4 +132,4 @@ namespace Server.Engines.Quests.Doom
|
|||
m_Chyloth.Delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Engines.Quests.Doom
|
|||
{
|
||||
public class ChylothStaff : BlackStaff
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1041111; } } // a magic staff
|
||||
public override int LabelNumber => 1041111; // a magic staff
|
||||
|
||||
[Constructible]
|
||||
public ChylothStaff()
|
||||
|
|
@ -32,4 +32,4 @@ namespace Server.Engines.Quests.Doom
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Server.Engines.Quests.Doom
|
|||
{
|
||||
public class GoldenSkull : Item
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061619; } } // a golden skull
|
||||
public override int LabelNumber => 1061619; // a golden skull
|
||||
|
||||
[Constructible]
|
||||
public GoldenSkull() : base( Utility.Random( 0x1AE2, 3 ) )
|
||||
|
|
@ -32,4 +32,4 @@ namespace Server.Engines.Quests.Doom
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Server.Engines.Quests.Doom
|
|||
{
|
||||
public class GrandGrimoire : Item
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1060801; } } // The Grand Grimoire
|
||||
public override int LabelNumber => 1060801; // The Grand Grimoire
|
||||
|
||||
[Constructible]
|
||||
public GrandGrimoire() : base( 0xEFA )
|
||||
|
|
@ -33,4 +33,4 @@ namespace Server.Engines.Quests.Doom
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace Server.Engines.Quests.Doom
|
|||
{
|
||||
public class Victoria : BaseQuester
|
||||
{
|
||||
public override int TalkNumber{ get{ return 6159; } } // Ask about Chyloth
|
||||
public override int TalkNumber => 6159; // Ask about Chyloth
|
||||
public override string DefaultName => "Victoria";
|
||||
public override bool ClickTitle => true;
|
||||
public override bool IsActiveVendor => true;
|
||||
|
|
|
|||
|
|
@ -16,11 +16,11 @@ namespace Server.Engines.Quests.Doom
|
|||
/* Find 1000 Daemon bones and hand them
|
||||
* to Victoria as you find them.
|
||||
*/
|
||||
return 1050026;
|
||||
return 1050026;
|
||||
}
|
||||
}
|
||||
|
||||
public override int MaxProgress{ get{ return 1000; } }
|
||||
public override int MaxProgress => 1000;
|
||||
|
||||
public CollectBonesObjective()
|
||||
{
|
||||
|
|
@ -188,4 +188,4 @@ namespace Server.Engines.Quests.Doom
|
|||
writer.Write( (Item) m_CorpseWithSkull );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ namespace Server.Engines.Quests.Doom
|
|||
typeof( Doom.VanquishDaemonObjective )
|
||||
};
|
||||
|
||||
public override Type[] TypeReferenceTable{ get{ return m_TypeReferenceTable; } }
|
||||
public override Type[] TypeReferenceTable => m_TypeReferenceTable;
|
||||
|
||||
private Victoria m_Victoria;
|
||||
private bool m_WaitForSummon;
|
||||
|
|
@ -74,8 +74,8 @@ namespace Server.Engines.Quests.Doom
|
|||
}
|
||||
|
||||
public override bool IsTutorial => false;
|
||||
public override TimeSpan RestartDelay{ get{ return TimeSpan.Zero; } }
|
||||
public override int Picture{ get{ return 0x15B5; } }
|
||||
public override TimeSpan RestartDelay => TimeSpan.Zero;
|
||||
public override int Picture => 0x15B5;
|
||||
|
||||
// NOTE: Quest not entirely OSI-accurate: some changes made to prevent numerous OSI bugs
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue