Removes implicit this.

This commit is contained in:
Kamron Batman 2018-09-14 12:56:58 -07:00
parent 04b4cfe75b
commit 83dcf536d8
533 changed files with 2804 additions and 2806 deletions

View file

@ -86,8 +86,8 @@ namespace Server.Engines.Quests.Doom
if ( Deleted )
return;
Point3D loc = this.Location;
Map map = this.Map;
Point3D loc = Location;
Map map = Map;
Effects.SendLocationParticles( EffectItem.Create( loc, map, EffectItem.DefaultDuration ), 0x3728, 10, 10, 0, 0, 2023, 0 );
Effects.PlaySound( loc, map, 0x1FE );
@ -170,7 +170,7 @@ namespace Server.Engines.Quests.Doom
Effects.SendLocationParticles( EffectItem.Create( loc, map, EffectItem.DefaultDuration ), 0x3728, 10, 10, 0, 0, 2023, 0 );
Effects.PlaySound( loc, map, 0x1FE );
BaseCreature.TeleportPets( from, loc, map );
TeleportPets( from, loc, map );
from.MoveToWorld( loc, map );
}

View file

@ -42,7 +42,7 @@ namespace Server.Engines.Quests.Doom
{
get
{
if ( m_Altar == null || m_Altar.Deleted || m_Altar.Map != this.Map || !Utility.InRange( m_Altar.Location, this.Location, AltarRange ) )
if ( m_Altar == null || m_Altar.Deleted || m_Altar.Map != Map || !Utility.InRange( m_Altar.Location, Location, AltarRange ) )
{
foreach ( Item item in GetItemsInRange( AltarRange ) )
{

View file

@ -8,10 +8,10 @@ namespace Server.Engines.Quests.Doom
{
private static Type[] m_TypeReferenceTable = new[]
{
typeof( Doom.AcceptConversation ),
typeof( Doom.CollectBonesObjective ),
typeof( Doom.VanquishDaemonConversation ),
typeof( Doom.VanquishDaemonObjective )
typeof( AcceptConversation ),
typeof( CollectBonesObjective ),
typeof( VanquishDaemonConversation ),
typeof( VanquishDaemonObjective )
};
public override Type[] TypeReferenceTable => m_TypeReferenceTable;