Add DefaultName property to Mobiles & Items (#18)
This commit is contained in:
parent
b06f5bf60d
commit
8ee42c8ea2
713 changed files with 5112 additions and 4987 deletions
|
|
@ -14,7 +14,7 @@ namespace Server.Spells.Spellweaving
|
|||
public override SkillName CastSkill { get { return SkillName.Spellweaving; } }
|
||||
public override SkillName DamageSkill { get { return SkillName.Spellweaving; } }
|
||||
|
||||
public override bool ClearHandsOnCast { get { return false; } }
|
||||
public override bool ClearHandsOnCast => false;
|
||||
|
||||
private int m_CastTimeFocusLevel;
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ namespace Server.Items
|
|||
public ArcaneFocus( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public override void GetProperties( ObjectPropertyList list )
|
||||
{
|
||||
base.GetProperties( list );
|
||||
|
|
@ -46,7 +46,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
public override TextDefinition InvalidTransferMessage{ get { return 1073480; } } // Your arcane focus disappears.
|
||||
public override bool Nontransferable { get { return true; } }
|
||||
public override bool Nontransferable => true;
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
|
|
@ -64,4 +64,4 @@ namespace Server.Items
|
|||
m_StrengthBonus = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ namespace Server.Items
|
|||
|
||||
private Timer m_Timer;
|
||||
|
||||
public override bool Nontransferable { get { return true; } }
|
||||
public override bool Nontransferable => true;
|
||||
public override void HandleInvalidTransfer( Mobile from )
|
||||
{
|
||||
if( InvalidTransferMessage != null )
|
||||
|
|
@ -114,4 +114,4 @@ namespace Server.Items
|
|||
m_Timer = Timer.DelayCall( TimeSpan.FromSeconds( 5 ), TimeSpan.FromSeconds( 5 ), new TimerCallback( CheckExpiry ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace Server.Mobiles
|
|||
public override double DispelFocus { get { return 20.0; } }
|
||||
|
||||
public override OppositionGroup OppositionGroup { get { return OppositionGroup.FeyAndUndead; } }
|
||||
public override bool InitialInnocent { get { return true; } }
|
||||
public override bool InitialInnocent => true;
|
||||
|
||||
[Constructible]
|
||||
public ArcaneFey() : base( AIType.AI_Mage, FightMode.Evil, 10, 1, 0.2, 0.4 )
|
||||
|
|
@ -34,7 +34,7 @@ namespace Server.Mobiles
|
|||
SetResistance( ResistanceType.Poison, 40, 50 );
|
||||
SetResistance( ResistanceType.Energy, 40, 50 );
|
||||
|
||||
SetSkill( SkillName.EvalInt, 70.1, 80.0 );
|
||||
SetSkill( SkillName.EvalInt, 70.1, 80.0 );
|
||||
SetSkill( SkillName.Magery, 70.1, 80.0 );
|
||||
SetSkill( SkillName.Meditation, 70.1, 80.0 );
|
||||
SetSkill( SkillName.MagicResist, 50.5, 100.0 );
|
||||
|
|
@ -63,4 +63,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,12 +11,12 @@ namespace Server.Mobiles
|
|||
public override double DispelFocus { get { return 20.0; } }
|
||||
|
||||
public override PackInstinct PackInstinct { get { return PackInstinct.Daemon; } }
|
||||
public override bool BleedImmune { get { return true; } } //TODO: Verify on OSI. Guide says this.
|
||||
public override bool BleedImmune => true; //TODO: Verify on OSI. Guide says this.
|
||||
public override string DefaultName => "an imp";
|
||||
|
||||
[Constructible]
|
||||
public ArcaneFiend() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "an imp";
|
||||
Body = 74;
|
||||
BaseSoundID = 422;
|
||||
|
||||
|
|
@ -64,4 +64,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,21 +7,21 @@ namespace Server.Mobiles
|
|||
public class NatureFury : BaseCreature
|
||||
{
|
||||
public override bool DeleteCorpseOnDeath { get { return Core.AOS; } }
|
||||
public override bool IsHouseSummonable { get { return true; } }
|
||||
public override bool IsHouseSummonable => true;
|
||||
|
||||
public override double DispelDifficulty { get { return 125.0; } }
|
||||
public override double DispelFocus { get { return 90.0; } }
|
||||
|
||||
public override bool BleedImmune { get { return true; } }
|
||||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune { get { return Poison.Lethal; } }
|
||||
|
||||
public override bool AlwaysMurderer { get { return true; } }
|
||||
public override bool AlwaysMurderer => true;
|
||||
public override string DefaultName => "a nature's fury";
|
||||
|
||||
[Constructible]
|
||||
public NatureFury()
|
||||
: base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = "a nature's fury";
|
||||
Body = 0x33;
|
||||
Hue = 0x4001;
|
||||
|
||||
|
|
@ -84,4 +84,4 @@ namespace Server.Mobiles
|
|||
Delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue