Fixes code according to modern code style. Fixes a few expression bugs.
This commit is contained in:
parent
89eea25e5f
commit
970fd563b2
3324 changed files with 441118 additions and 433755 deletions
|
|
@ -1,107 +1,107 @@
|
|||
namespace Server.Mobiles
|
||||
{
|
||||
public class FetidEssence : BaseCreature
|
||||
{
|
||||
public override string CorpseName => "a fetid essence corpse";
|
||||
public override string DefaultName => "a fetid essence";
|
||||
public class FetidEssence : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public FetidEssence() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Body = 273;
|
||||
|
||||
[Constructible]
|
||||
public FetidEssence () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Body = 273;
|
||||
SetStr(101, 150);
|
||||
SetDex(210, 250);
|
||||
SetInt(451, 550);
|
||||
|
||||
SetStr( 101, 150 );
|
||||
SetDex( 210, 250 );
|
||||
SetInt( 451, 550 );
|
||||
SetHits(551, 650);
|
||||
|
||||
SetHits( 551, 650 );
|
||||
SetDamage(21, 25);
|
||||
|
||||
SetDamage( 21, 25 );
|
||||
SetDamageType(ResistanceType.Physical, 30);
|
||||
SetDamageType(ResistanceType.Poison, 70);
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 30 );
|
||||
SetDamageType( ResistanceType.Poison, 70 );
|
||||
SetResistance(ResistanceType.Physical, 40, 50);
|
||||
SetResistance(ResistanceType.Fire, 40, 50);
|
||||
SetResistance(ResistanceType.Cold, 40, 50);
|
||||
SetResistance(ResistanceType.Poison, 70, 90);
|
||||
SetResistance(ResistanceType.Energy, 75, 80);
|
||||
|
||||
SetResistance( ResistanceType.Physical, 40, 50 );
|
||||
SetResistance( ResistanceType.Fire, 40, 50 );
|
||||
SetResistance( ResistanceType.Cold, 40, 50 );
|
||||
SetResistance( ResistanceType.Poison, 70, 90 );
|
||||
SetResistance( ResistanceType.Energy, 75, 80 );
|
||||
SetSkill(SkillName.Meditation, 91.4, 99.4);
|
||||
SetSkill(SkillName.EvalInt, 88.5, 92.3);
|
||||
SetSkill(SkillName.Magery, 97.9, 101.7);
|
||||
SetSkill(SkillName.Poisoning, 100);
|
||||
SetSkill(SkillName.Anatomy, 0, 4.5);
|
||||
SetSkill(SkillName.MagicResist, 103.5, 108.8);
|
||||
SetSkill(SkillName.Tactics, 81.0, 84.6);
|
||||
SetSkill(SkillName.Wrestling, 81.3, 83.9);
|
||||
|
||||
SetSkill(SkillName.Meditation, 91.4, 99.4 );
|
||||
SetSkill(SkillName.EvalInt, 88.5, 92.3 );
|
||||
SetSkill(SkillName.Magery, 97.9, 101.7 );
|
||||
SetSkill(SkillName.Poisoning, 100 );
|
||||
SetSkill(SkillName.Anatomy, 0, 4.5 );
|
||||
SetSkill( SkillName.MagicResist, 103.5, 108.8 );
|
||||
SetSkill( SkillName.Tactics, 81.0, 84.6 );
|
||||
SetSkill( SkillName.Wrestling, 81.3, 83.9 );
|
||||
Fame = 3700; // Guessed
|
||||
Karma = -3700; // Guessed
|
||||
}
|
||||
|
||||
Fame = 3700; // Guessed
|
||||
Karma = -3700; // Guessed
|
||||
}
|
||||
public FetidEssence(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void GenerateLoot() // Need to verify
|
||||
{
|
||||
AddLoot( LootPack.FilthyRich );
|
||||
}
|
||||
public override string CorpseName => "a fetid essence corpse";
|
||||
public override string DefaultName => "a fetid essence";
|
||||
|
||||
public override Poison HitPoison => Poison.Deadly;
|
||||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
public override Poison HitPoison => Poison.Deadly;
|
||||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x56d;
|
||||
}
|
||||
public override void GenerateLoot() // Need to verify
|
||||
{
|
||||
AddLoot(LootPack.FilthyRich);
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x56b;
|
||||
}
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x56d;
|
||||
}
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x56c;
|
||||
}
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x56b;
|
||||
}
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x56c;
|
||||
}
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x56c;
|
||||
}
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x56e;
|
||||
}
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x56c;
|
||||
}
|
||||
|
||||
public FetidEssence ( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x56e;
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write(0);
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
/*private class InternalTimer : Timer
|
||||
{
|
||||
private Mobile m_From;
|
||||
private Mobile m_Mobile;
|
||||
private int m_Count;
|
||||
/*private class InternalTimer : Timer
|
||||
{
|
||||
private Mobile m_From;
|
||||
private Mobile m_Mobile;
|
||||
private int m_Count;
|
||||
|
||||
public InternalTimer( Mobile from, Mobile m ) : base( TimeSpan.FromSeconds( 1.0 ), TimeSpan.FromSeconds( 1.0 ) )
|
||||
{
|
||||
m_From = from;
|
||||
m_Mobile = m;
|
||||
Priority = TimerPriority.TwoFiftyMS;
|
||||
}
|
||||
public InternalTimer( Mobile from, Mobile m ) : base( TimeSpan.FromSeconds( 1.0 ), TimeSpan.FromSeconds( 1.0 ) )
|
||||
{
|
||||
m_From = from;
|
||||
m_Mobile = m;
|
||||
Priority = TimerPriority.TwoFiftyMS;
|
||||
}
|
||||
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
|
@ -1,174 +1,174 @@
|
|||
namespace Server.Mobiles
|
||||
{
|
||||
public class InterredGrizzle : BaseCreature
|
||||
{
|
||||
public override string CorpseName => "an interred grizzle corpse";
|
||||
public override string DefaultName => "a interred grizzle";
|
||||
public class InterredGrizzle : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public InterredGrizzle() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Body = 259;
|
||||
|
||||
[Constructible]
|
||||
public InterredGrizzle () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Body = 259;
|
||||
SetStr(451, 500);
|
||||
SetDex(201, 250);
|
||||
SetInt(801, 850);
|
||||
|
||||
SetStr( 451, 500 );
|
||||
SetDex( 201, 250 );
|
||||
SetInt( 801, 850 );
|
||||
SetHits(1500);
|
||||
SetStam(150);
|
||||
|
||||
SetHits( 1500 );
|
||||
SetStam( 150 );
|
||||
SetDamage(16, 19);
|
||||
|
||||
SetDamage( 16, 19 );
|
||||
SetDamageType(ResistanceType.Physical, 30);
|
||||
SetDamageType(ResistanceType.Fire, 70);
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 30 );
|
||||
SetDamageType( ResistanceType.Fire, 70 );
|
||||
SetResistance(ResistanceType.Physical, 35, 55);
|
||||
SetResistance(ResistanceType.Fire, 20, 65);
|
||||
SetResistance(ResistanceType.Cold, 55, 80);
|
||||
SetResistance(ResistanceType.Poison, 20, 35);
|
||||
SetResistance(ResistanceType.Energy, 60, 80);
|
||||
|
||||
SetResistance( ResistanceType.Physical, 35, 55 );
|
||||
SetResistance( ResistanceType.Fire, 20, 65 );
|
||||
SetResistance( ResistanceType.Cold, 55, 80 );
|
||||
SetResistance( ResistanceType.Poison, 20, 35 );
|
||||
SetResistance( ResistanceType.Energy, 60, 80 );
|
||||
SetSkill(SkillName.Meditation, 77.7, 84.0);
|
||||
SetSkill(SkillName.EvalInt, 72.2, 79.6);
|
||||
SetSkill(SkillName.Magery, 83.7, 89.6);
|
||||
SetSkill(SkillName.Poisoning, 0);
|
||||
SetSkill(SkillName.Anatomy, 0);
|
||||
SetSkill(SkillName.MagicResist, 80.2, 87.3);
|
||||
SetSkill(SkillName.Tactics, 104.5, 105.1);
|
||||
SetSkill(SkillName.Wrestling, 105.1, 109.4);
|
||||
|
||||
SetSkill(SkillName.Meditation, 77.7, 84.0 );
|
||||
SetSkill(SkillName.EvalInt, 72.2, 79.6 );
|
||||
SetSkill(SkillName.Magery, 83.7, 89.6);
|
||||
SetSkill(SkillName.Poisoning, 0 );
|
||||
SetSkill(SkillName.Anatomy, 0 );
|
||||
SetSkill( SkillName.MagicResist, 80.2, 87.3 );
|
||||
SetSkill( SkillName.Tactics, 104.5, 105.1 );
|
||||
SetSkill( SkillName.Wrestling, 105.1, 109.4 );
|
||||
Fame = 3700; // Guessed
|
||||
Karma = -3700; // Guessed
|
||||
}
|
||||
/*
|
||||
public override bool OnBeforeDeath()
|
||||
{
|
||||
SpillAcid( 1, 4, 10, 6, 10 );
|
||||
|
||||
Fame = 3700; // Guessed
|
||||
Karma = -3700; // Guessed
|
||||
}
|
||||
return base.OnBeforeDeath();
|
||||
}
|
||||
*/
|
||||
|
||||
public override void GenerateLoot() // -- Need to verify
|
||||
{
|
||||
AddLoot( LootPack.FilthyRich );
|
||||
}
|
||||
public InterredGrizzle(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
// TODO: Acid Blood
|
||||
/*
|
||||
* Message: 1070820
|
||||
* Spits pool of acid (blood, hue 0x3F), hits lost 6-10 per second/step
|
||||
* Damage is resistable (physical)
|
||||
* Acid last 10 seconds
|
||||
*/
|
||||
public override string CorpseName => "an interred grizzle corpse";
|
||||
public override string DefaultName => "a interred grizzle";
|
||||
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x581;
|
||||
}
|
||||
public override void GenerateLoot() // -- Need to verify
|
||||
{
|
||||
AddLoot(LootPack.FilthyRich);
|
||||
}
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x582;
|
||||
}
|
||||
// TODO: Acid Blood
|
||||
/*
|
||||
* Message: 1070820
|
||||
* Spits pool of acid (blood, hue 0x3F), hits lost 6-10 per second/step
|
||||
* Damage is resistable (physical)
|
||||
* Acid last 10 seconds
|
||||
*/
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x580;
|
||||
}
|
||||
public override int GetAngerSound()
|
||||
{
|
||||
return 0x581;
|
||||
}
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x583;
|
||||
}
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x582;
|
||||
}
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x584;
|
||||
}
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x580;
|
||||
}
|
||||
|
||||
public override void OnDamage( int amount, Mobile from, bool willKill )
|
||||
{
|
||||
if ( Utility.RandomDouble() < 0.1 )
|
||||
DropOoze();
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x583;
|
||||
}
|
||||
|
||||
base.OnDamage( amount, from, willKill );
|
||||
}
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x584;
|
||||
}
|
||||
|
||||
private int RandomPoint( int mid )
|
||||
{
|
||||
return ( mid + Utility.RandomMinMax( -2, 2 ) );
|
||||
}
|
||||
public override void OnDamage(int amount, Mobile from, bool willKill)
|
||||
{
|
||||
if (Utility.RandomDouble() < 0.1)
|
||||
DropOoze();
|
||||
|
||||
public virtual Point3D GetSpawnPosition( int range )
|
||||
{
|
||||
return GetSpawnPosition( Location, Map, range );
|
||||
}
|
||||
base.OnDamage(amount, from, willKill);
|
||||
}
|
||||
|
||||
public virtual Point3D GetSpawnPosition( Point3D from, Map map, int range )
|
||||
{
|
||||
if ( map == null )
|
||||
return from;
|
||||
private int RandomPoint(int mid)
|
||||
{
|
||||
return mid + Utility.RandomMinMax(-2, 2);
|
||||
}
|
||||
|
||||
Point3D loc = new Point3D( ( RandomPoint( X ) ), ( RandomPoint( Y ) ), Z );
|
||||
public virtual Point3D GetSpawnPosition(int range)
|
||||
{
|
||||
return GetSpawnPosition(Location, Map, range);
|
||||
}
|
||||
|
||||
loc.Z = Map.GetAverageZ( loc.X, loc.Y );
|
||||
public virtual Point3D GetSpawnPosition(Point3D from, Map map, int range)
|
||||
{
|
||||
if (map == null)
|
||||
return from;
|
||||
|
||||
return loc;
|
||||
}
|
||||
Point3D loc = new Point3D(RandomPoint(X), RandomPoint(Y), Z);
|
||||
|
||||
public virtual void DropOoze()
|
||||
{
|
||||
int amount = Utility.RandomMinMax( 1, 3 );
|
||||
bool corrosive = Utility.RandomBool();
|
||||
loc.Z = Map.GetAverageZ(loc.X, loc.Y);
|
||||
|
||||
for( int i = 0; i < amount; i++ )
|
||||
{
|
||||
Item ooze = new StainedOoze( corrosive );
|
||||
Point3D p = new Point3D( Location );
|
||||
return loc;
|
||||
}
|
||||
|
||||
for( int j = 0; j < 5; j++ )
|
||||
{
|
||||
p = GetSpawnPosition( 2 );
|
||||
bool found = false;
|
||||
public virtual void DropOoze()
|
||||
{
|
||||
int amount = Utility.RandomMinMax(1, 3);
|
||||
bool corrosive = Utility.RandomBool();
|
||||
|
||||
foreach( Item item in Map.GetItemsInRange( p, 0 ) )
|
||||
if ( item is StainedOoze )
|
||||
{
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
for (int i = 0; i < amount; i++)
|
||||
{
|
||||
Item ooze = new StainedOoze(corrosive);
|
||||
Point3D p = new Point3D(Location);
|
||||
|
||||
if ( !found )
|
||||
break;
|
||||
}
|
||||
for (int j = 0; j < 5; j++)
|
||||
{
|
||||
p = GetSpawnPosition(2);
|
||||
bool found = false;
|
||||
|
||||
ooze.MoveToWorld( p, Map );
|
||||
}
|
||||
foreach (Item item in Map.GetItemsInRange(p, 0))
|
||||
if (item is StainedOoze)
|
||||
{
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
|
||||
if ( Combatant != null )
|
||||
{
|
||||
if ( corrosive )
|
||||
Combatant.SendLocalizedMessage( 1072071 ); // A corrosive gas seeps out of your enemy's skin!
|
||||
else
|
||||
Combatant.SendLocalizedMessage( 1072072 ); // A poisonous gas seeps out of your enemy's skin!
|
||||
}
|
||||
}
|
||||
/*
|
||||
public override bool OnBeforeDeath()
|
||||
{
|
||||
SpillAcid( 1, 4, 10, 6, 10 );
|
||||
if (!found)
|
||||
break;
|
||||
}
|
||||
|
||||
return base.OnBeforeDeath();
|
||||
}
|
||||
*/
|
||||
ooze.MoveToWorld(p, Map);
|
||||
}
|
||||
|
||||
public InterredGrizzle ( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
if (Combatant != null)
|
||||
{
|
||||
if (corrosive)
|
||||
Combatant.SendLocalizedMessage(1072071); // A corrosive gas seeps out of your enemy's skin!
|
||||
else
|
||||
Combatant.SendLocalizedMessage(1072072); // A poisonous gas seeps out of your enemy's skin!
|
||||
}
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write(0);
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3,157 +3,162 @@ using Server.Engines.Plants;
|
|||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class MLDryad : BaseCreature
|
||||
{
|
||||
public override string CorpseName => "a dryad's corpse";
|
||||
public override bool InitialInnocent => true;
|
||||
public class MLDryad : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public MLDryad() : base(AIType.AI_Mage, FightMode.Evil, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Body = 266;
|
||||
BaseSoundID = 0x57B;
|
||||
|
||||
public override OppositionGroup OppositionGroup => OppositionGroup.FeyAndUndead;
|
||||
SetStr(132, 149);
|
||||
SetDex(152, 168);
|
||||
SetInt(251, 280);
|
||||
|
||||
public override string DefaultName => "a dryad";
|
||||
SetHits(304, 321);
|
||||
|
||||
[Constructible]
|
||||
public MLDryad() : base( AIType.AI_Mage, FightMode.Evil, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Body = 266;
|
||||
BaseSoundID = 0x57B;
|
||||
SetDamage(11, 20);
|
||||
|
||||
SetStr( 132, 149 );
|
||||
SetDex( 152, 168 );
|
||||
SetInt( 251, 280 );
|
||||
SetDamageType(ResistanceType.Physical, 100);
|
||||
|
||||
SetHits( 304, 321 );
|
||||
SetResistance(ResistanceType.Physical, 40, 50);
|
||||
SetResistance(ResistanceType.Fire, 15, 25);
|
||||
SetResistance(ResistanceType.Cold, 40, 45);
|
||||
SetResistance(ResistanceType.Poison, 30, 40);
|
||||
SetResistance(ResistanceType.Energy, 25, 35);
|
||||
|
||||
SetDamage( 11, 20 );
|
||||
SetSkill(SkillName.Meditation, 80.0, 90.0);
|
||||
SetSkill(SkillName.EvalInt, 70.0, 80.0);
|
||||
SetSkill(SkillName.Magery, 70.0, 80.0);
|
||||
SetSkill(SkillName.Anatomy, 0);
|
||||
SetSkill(SkillName.MagicResist, 100.0, 120.0);
|
||||
SetSkill(SkillName.Tactics, 70.0, 80.0);
|
||||
SetSkill(SkillName.Wrestling, 70.0, 80.0);
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 100 );
|
||||
Fame = 5000;
|
||||
Karma = 5000;
|
||||
|
||||
SetResistance( ResistanceType.Physical, 40, 50 );
|
||||
SetResistance( ResistanceType.Fire, 15, 25 );
|
||||
SetResistance( ResistanceType.Cold, 40, 45 );
|
||||
SetResistance( ResistanceType.Poison, 30, 40 );
|
||||
SetResistance( ResistanceType.Energy, 25, 35 );
|
||||
VirtualArmor = 28; // Don't know what it should be
|
||||
|
||||
SetSkill( SkillName.Meditation, 80.0, 90.0 );
|
||||
SetSkill( SkillName.EvalInt, 70.0, 80.0 );
|
||||
SetSkill( SkillName.Magery, 70.0, 80.0 );
|
||||
SetSkill( SkillName.Anatomy, 0 );
|
||||
SetSkill( SkillName.MagicResist, 100.0, 120.0 );
|
||||
SetSkill( SkillName.Tactics, 70.0, 80.0 );
|
||||
SetSkill( SkillName.Wrestling, 70.0, 80.0 );
|
||||
if (Core.ML && Utility.RandomDouble() < .60)
|
||||
PackItem(Seed.RandomPeculiarSeed(1));
|
||||
|
||||
Fame = 5000;
|
||||
Karma = 5000;
|
||||
PackArcanceScroll(0.05);
|
||||
}
|
||||
|
||||
VirtualArmor = 28; // Don't know what it should be
|
||||
public MLDryad(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
if ( Core.ML && Utility.RandomDouble() < .60 )
|
||||
PackItem( Seed.RandomPeculiarSeed( 1 ) );
|
||||
public override string CorpseName => "a dryad's corpse";
|
||||
public override bool InitialInnocent => true;
|
||||
|
||||
PackArcanceScroll( 0.05 );
|
||||
}
|
||||
public override OppositionGroup OppositionGroup => OppositionGroup.FeyAndUndead;
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.MlRich );
|
||||
}
|
||||
public override string DefaultName => "a dryad";
|
||||
|
||||
public override int Meat => 1;
|
||||
public override int Meat => 1;
|
||||
|
||||
public override void OnThink()
|
||||
{
|
||||
base.OnThink();
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.MlRich);
|
||||
}
|
||||
|
||||
AreaPeace();
|
||||
AreaUndress();
|
||||
}
|
||||
public override void OnThink()
|
||||
{
|
||||
base.OnThink();
|
||||
|
||||
#region Area Peace
|
||||
private DateTime m_NextPeace;
|
||||
AreaPeace();
|
||||
AreaUndress();
|
||||
}
|
||||
|
||||
public void AreaPeace()
|
||||
{
|
||||
if ( Combatant == null || Deleted || !Alive || m_NextPeace > DateTime.UtcNow || 0.1 < Utility.RandomDouble() )
|
||||
return;
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
TimeSpan duration = TimeSpan.FromSeconds( Utility.RandomMinMax( 20, 80 ) );
|
||||
writer.Write(0); // version
|
||||
}
|
||||
|
||||
foreach ( Mobile m in GetMobilesInRange( RangePerception ) )
|
||||
{
|
||||
PlayerMobile p = m as PlayerMobile;
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
if ( IsValidTarget( p ) )
|
||||
{
|
||||
p.PeacedUntil = DateTime.UtcNow + duration;
|
||||
p.SendLocalizedMessage( 1072065 ); // You gaze upon the dryad's beauty, and forget to continue battling!
|
||||
p.FixedParticles( 0x376A, 1, 20, 0x7F5, EffectLayer.Waist );
|
||||
p.Combatant = null;
|
||||
}
|
||||
}
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
m_NextPeace = DateTime.UtcNow + TimeSpan.FromSeconds( 10 );
|
||||
PlaySound( 0x1D3 );
|
||||
}
|
||||
#region Area Peace
|
||||
|
||||
public bool IsValidTarget( PlayerMobile m )
|
||||
{
|
||||
if ( m != null && m.PeacedUntil < DateTime.UtcNow && !m.Hidden && m.AccessLevel == AccessLevel.Player && CanBeHarmful( m ) )
|
||||
return true;
|
||||
private DateTime m_NextPeace;
|
||||
|
||||
return false;
|
||||
}
|
||||
#endregion
|
||||
public void AreaPeace()
|
||||
{
|
||||
if (Combatant == null || Deleted || !Alive || m_NextPeace > DateTime.UtcNow || 0.1 < Utility.RandomDouble())
|
||||
return;
|
||||
|
||||
#region Undress
|
||||
private DateTime m_NextUndress;
|
||||
TimeSpan duration = TimeSpan.FromSeconds(Utility.RandomMinMax(20, 80));
|
||||
|
||||
public void AreaUndress()
|
||||
{
|
||||
if ( Combatant == null || Deleted || !Alive || m_NextUndress > DateTime.UtcNow || 0.005 < Utility.RandomDouble() )
|
||||
return;
|
||||
foreach (Mobile m in GetMobilesInRange(RangePerception))
|
||||
{
|
||||
PlayerMobile p = m as PlayerMobile;
|
||||
|
||||
foreach ( Mobile m in GetMobilesInRange( RangePerception ) )
|
||||
{
|
||||
if ( m != null && m.Player && !m.Female && !m.Hidden && m.AccessLevel == AccessLevel.Player && CanBeHarmful( m ) )
|
||||
{
|
||||
UndressItem( m, Layer.OuterTorso );
|
||||
UndressItem( m, Layer.InnerTorso );
|
||||
UndressItem( m, Layer.MiddleTorso );
|
||||
UndressItem( m, Layer.Pants );
|
||||
UndressItem( m, Layer.Shirt );
|
||||
if (IsValidTarget(p))
|
||||
{
|
||||
p.PeacedUntil = DateTime.UtcNow + duration;
|
||||
p.SendLocalizedMessage(1072065); // You gaze upon the dryad's beauty, and forget to continue battling!
|
||||
p.FixedParticles(0x376A, 1, 20, 0x7F5, EffectLayer.Waist);
|
||||
p.Combatant = null;
|
||||
}
|
||||
}
|
||||
|
||||
m.SendLocalizedMessage( 1072197 ); // The dryad's beauty makes your blood race. Your clothing is too confining.
|
||||
}
|
||||
}
|
||||
m_NextPeace = DateTime.UtcNow + TimeSpan.FromSeconds(10);
|
||||
PlaySound(0x1D3);
|
||||
}
|
||||
|
||||
m_NextUndress = DateTime.UtcNow + TimeSpan.FromMinutes( 1 );
|
||||
}
|
||||
public bool IsValidTarget(PlayerMobile m)
|
||||
{
|
||||
if (m != null && m.PeacedUntil < DateTime.UtcNow && !m.Hidden && m.AccessLevel == AccessLevel.Player &&
|
||||
CanBeHarmful(m))
|
||||
return true;
|
||||
|
||||
public void UndressItem( Mobile m, Layer layer )
|
||||
{
|
||||
Item item = m.FindItemOnLayer( layer );
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( item != null && item.Movable )
|
||||
m.PlaceInBackpack( item );
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
public MLDryad( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
#region Undress
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
private DateTime m_NextUndress;
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
public void AreaUndress()
|
||||
{
|
||||
if (Combatant == null || Deleted || !Alive || m_NextUndress > DateTime.UtcNow || 0.005 < Utility.RandomDouble())
|
||||
return;
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
foreach (Mobile m in GetMobilesInRange(RangePerception))
|
||||
if (m != null && m.Player && !m.Female && !m.Hidden && m.AccessLevel == AccessLevel.Player &&
|
||||
CanBeHarmful(m))
|
||||
{
|
||||
UndressItem(m, Layer.OuterTorso);
|
||||
UndressItem(m, Layer.InnerTorso);
|
||||
UndressItem(m, Layer.MiddleTorso);
|
||||
UndressItem(m, Layer.Pants);
|
||||
UndressItem(m, Layer.Shirt);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
m.SendLocalizedMessage(
|
||||
1072197); // The dryad's beauty makes your blood race. Your clothing is too confining.
|
||||
}
|
||||
|
||||
m_NextUndress = DateTime.UtcNow + TimeSpan.FromMinutes(1);
|
||||
}
|
||||
|
||||
public void UndressItem(Mobile m, Layer layer)
|
||||
{
|
||||
Item item = m.FindItemOnLayer(layer);
|
||||
|
||||
if (item != null && item.Movable)
|
||||
m.PlaceInBackpack(item);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
@ -3,229 +3,236 @@ using System.Collections.Generic;
|
|||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class Satyr : BaseCreature
|
||||
{
|
||||
public override string CorpseName => "a satyr's corpse";
|
||||
public override string DefaultName => "a satyr";
|
||||
public class Satyr : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public Satyr() : base(AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Body = 271;
|
||||
BaseSoundID = 0x586;
|
||||
|
||||
[Constructible]
|
||||
public Satyr() : base( AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Body = 271;
|
||||
BaseSoundID = 0x586;
|
||||
SetStr(177, 195);
|
||||
SetDex(251, 269);
|
||||
SetInt(153, 170);
|
||||
|
||||
SetStr( 177, 195 );
|
||||
SetDex( 251, 269 );
|
||||
SetInt( 153, 170 );
|
||||
SetHits(350, 400);
|
||||
|
||||
SetHits( 350, 400 );
|
||||
SetDamage(13, 24);
|
||||
|
||||
SetDamage( 13, 24 );
|
||||
SetDamageType(ResistanceType.Physical, 100);
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 100 );
|
||||
SetResistance(ResistanceType.Physical, 55, 60);
|
||||
SetResistance(ResistanceType.Fire, 25, 35);
|
||||
SetResistance(ResistanceType.Cold, 30, 40);
|
||||
SetResistance(ResistanceType.Poison, 30, 40);
|
||||
SetResistance(ResistanceType.Energy, 30, 40);
|
||||
|
||||
SetResistance( ResistanceType.Physical, 55, 60 );
|
||||
SetResistance( ResistanceType.Fire, 25, 35 );
|
||||
SetResistance( ResistanceType.Cold, 30, 40 );
|
||||
SetResistance( ResistanceType.Poison, 30, 40 );
|
||||
SetResistance( ResistanceType.Energy, 30, 40 );
|
||||
SetSkill(SkillName.MagicResist, 55.0, 65.0);
|
||||
SetSkill(SkillName.Tactics, 80.0, 100.0);
|
||||
SetSkill(SkillName.Wrestling, 80.0, 100.0);
|
||||
|
||||
SetSkill( SkillName.MagicResist, 55.0, 65.0 );
|
||||
SetSkill( SkillName.Tactics, 80.0, 100.0 );
|
||||
SetSkill( SkillName.Wrestling, 80.0, 100.0 );
|
||||
Fame = 5000;
|
||||
Karma = 0;
|
||||
|
||||
Fame = 5000;
|
||||
Karma = 0;
|
||||
VirtualArmor = 28; // Don't know what it should be
|
||||
|
||||
VirtualArmor = 28; // Don't know what it should be
|
||||
PackArcanceScroll(0.05);
|
||||
}
|
||||
|
||||
PackArcanceScroll( 0.05 );
|
||||
}
|
||||
public Satyr(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override OppositionGroup OppositionGroup => OppositionGroup.FeyAndUndead;
|
||||
public override string CorpseName => "a satyr's corpse";
|
||||
public override string DefaultName => "a satyr";
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.MlRich );
|
||||
}
|
||||
public override OppositionGroup OppositionGroup => OppositionGroup.FeyAndUndead;
|
||||
|
||||
public override void OnThink()
|
||||
{
|
||||
base.OnThink();
|
||||
public override int Meat => 1;
|
||||
|
||||
Peace( Combatant );
|
||||
Undress( Combatant );
|
||||
Suppress( Combatant );
|
||||
Provoke( Combatant );
|
||||
}
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.MlRich);
|
||||
}
|
||||
|
||||
#region Peace
|
||||
private DateTime m_NextPeace;
|
||||
public override void OnThink()
|
||||
{
|
||||
base.OnThink();
|
||||
|
||||
public void Peace( Mobile target )
|
||||
{
|
||||
if ( target == null || Deleted || !Alive || m_NextPeace > DateTime.UtcNow || 0.1 < Utility.RandomDouble() )
|
||||
return;
|
||||
Peace(Combatant);
|
||||
Undress(Combatant);
|
||||
Suppress(Combatant);
|
||||
Provoke(Combatant);
|
||||
}
|
||||
|
||||
if ( target is PlayerMobile p && p.PeacedUntil < DateTime.UtcNow && !p.Hidden && CanBeHarmful( p ) )
|
||||
{
|
||||
p.PeacedUntil = DateTime.UtcNow + TimeSpan.FromMinutes( 1 );
|
||||
p.SendLocalizedMessage( 500616 ); // You hear lovely music, and forget to continue battling!
|
||||
p.FixedParticles( 0x376A, 1, 32, 0x15BD, EffectLayer.Waist );
|
||||
p.Combatant = null;
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
PlaySound( 0x58D );
|
||||
}
|
||||
writer.Write(0); // version
|
||||
}
|
||||
|
||||
m_NextPeace = DateTime.UtcNow + TimeSpan.FromSeconds( 10 );
|
||||
}
|
||||
#endregion
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
#region Suppress
|
||||
private static Dictionary<Mobile, Timer> m_Suppressed = new Dictionary<Mobile, Timer>();
|
||||
private DateTime m_NextSuppress;
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
|
||||
public void Suppress( Mobile target )
|
||||
{
|
||||
if ( target == null || m_Suppressed.ContainsKey( target ) || Deleted || !Alive || m_NextSuppress > DateTime.UtcNow || 0.1 < Utility.RandomDouble() )
|
||||
return;
|
||||
#region Peace
|
||||
|
||||
TimeSpan delay = TimeSpan.FromSeconds( Utility.RandomMinMax( 20, 80 ) );
|
||||
private DateTime m_NextPeace;
|
||||
|
||||
if ( !target.Hidden && CanBeHarmful( target ) )
|
||||
{
|
||||
target.SendLocalizedMessage( 1072061 ); // You hear jarring music, suppressing your strength.
|
||||
public void Peace(Mobile target)
|
||||
{
|
||||
if (target == null || Deleted || !Alive || m_NextPeace > DateTime.UtcNow || 0.1 < Utility.RandomDouble())
|
||||
return;
|
||||
|
||||
for ( int i = 0; i < target.Skills.Length; i++ )
|
||||
{
|
||||
Skill s = target.Skills[ i ];
|
||||
if (target is PlayerMobile p && p.PeacedUntil < DateTime.UtcNow && !p.Hidden && CanBeHarmful(p))
|
||||
{
|
||||
p.PeacedUntil = DateTime.UtcNow + TimeSpan.FromMinutes(1);
|
||||
p.SendLocalizedMessage(500616); // You hear lovely music, and forget to continue battling!
|
||||
p.FixedParticles(0x376A, 1, 32, 0x15BD, EffectLayer.Waist);
|
||||
p.Combatant = null;
|
||||
|
||||
target.AddSkillMod( new TimedSkillMod( s.SkillName, true, s.Base * -0.28, delay ) );
|
||||
}
|
||||
PlaySound(0x58D);
|
||||
}
|
||||
|
||||
int count = (int) Math.Round( delay.TotalSeconds / 1.25 );
|
||||
Timer timer = new AnimateTimer( target, count );
|
||||
m_Suppressed.Add( target, timer );
|
||||
timer.Start();
|
||||
m_NextPeace = DateTime.UtcNow + TimeSpan.FromSeconds(10);
|
||||
}
|
||||
|
||||
PlaySound( 0x58C );
|
||||
}
|
||||
#endregion
|
||||
|
||||
m_NextSuppress = DateTime.UtcNow + TimeSpan.FromSeconds( 10 );
|
||||
}
|
||||
#region Suppress
|
||||
|
||||
public static void SuppressRemove( Mobile target )
|
||||
{
|
||||
if ( target != null && m_Suppressed[target] is Timer t )
|
||||
{
|
||||
if ( t.Running )
|
||||
t.Stop();
|
||||
private static Dictionary<Mobile, Timer> m_Suppressed = new Dictionary<Mobile, Timer>();
|
||||
private DateTime m_NextSuppress;
|
||||
|
||||
m_Suppressed.Remove( target );
|
||||
}
|
||||
}
|
||||
public void Suppress(Mobile target)
|
||||
{
|
||||
if (target == null || m_Suppressed.ContainsKey(target) || Deleted || !Alive ||
|
||||
m_NextSuppress > DateTime.UtcNow || 0.1 < Utility.RandomDouble())
|
||||
return;
|
||||
|
||||
private class AnimateTimer : Timer
|
||||
{
|
||||
private Mobile m_Owner;
|
||||
private int m_Count;
|
||||
TimeSpan delay = TimeSpan.FromSeconds(Utility.RandomMinMax(20, 80));
|
||||
|
||||
public AnimateTimer( Mobile owner, int count ) : base( TimeSpan.Zero, TimeSpan.FromSeconds( 1.25 ) )
|
||||
{
|
||||
m_Owner = owner;
|
||||
m_Count = count;
|
||||
}
|
||||
if (!target.Hidden && CanBeHarmful(target))
|
||||
{
|
||||
target.SendLocalizedMessage(1072061); // You hear jarring music, suppressing your strength.
|
||||
|
||||
protected override void OnTick()
|
||||
{
|
||||
if ( m_Owner.Deleted || !m_Owner.Alive || m_Count-- < 0 )
|
||||
{
|
||||
SuppressRemove( m_Owner );
|
||||
}
|
||||
else
|
||||
m_Owner.FixedParticles( 0x376A, 1, 32, 0x15BD, EffectLayer.Waist );
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
for (int i = 0; i < target.Skills.Length; i++)
|
||||
{
|
||||
Skill s = target.Skills[i];
|
||||
|
||||
#region Undress
|
||||
private DateTime m_NextUndress;
|
||||
target.AddSkillMod(new TimedSkillMod(s.SkillName, true, s.Base * -0.28, delay));
|
||||
}
|
||||
|
||||
public void Undress( Mobile target )
|
||||
{
|
||||
if ( target == null || Deleted || !Alive || m_NextUndress > DateTime.UtcNow || 0.005 < Utility.RandomDouble() )
|
||||
return;
|
||||
int count = (int)Math.Round(delay.TotalSeconds / 1.25);
|
||||
Timer timer = new AnimateTimer(target, count);
|
||||
m_Suppressed.Add(target, timer);
|
||||
timer.Start();
|
||||
|
||||
if ( target.Player && target.Female && !target.Hidden && CanBeHarmful( target ) )
|
||||
{
|
||||
UndressItem( target, Layer.OuterTorso );
|
||||
UndressItem( target, Layer.InnerTorso );
|
||||
UndressItem( target, Layer.MiddleTorso );
|
||||
UndressItem( target, Layer.Pants );
|
||||
UndressItem( target, Layer.Shirt );
|
||||
PlaySound(0x58C);
|
||||
}
|
||||
|
||||
target.SendLocalizedMessage( 1072196 ); // The satyr's music makes your blood race. Your clothing is too confining.
|
||||
}
|
||||
m_NextSuppress = DateTime.UtcNow + TimeSpan.FromSeconds(10);
|
||||
}
|
||||
|
||||
m_NextUndress = DateTime.UtcNow + TimeSpan.FromMinutes( 1 );
|
||||
}
|
||||
public static void SuppressRemove(Mobile target)
|
||||
{
|
||||
if (target != null && m_Suppressed[target] is Timer t)
|
||||
{
|
||||
if (t.Running)
|
||||
t.Stop();
|
||||
|
||||
public void UndressItem( Mobile m, Layer layer )
|
||||
{
|
||||
Item item = m.FindItemOnLayer( layer );
|
||||
m_Suppressed.Remove(target);
|
||||
}
|
||||
}
|
||||
|
||||
if ( item != null && item.Movable )
|
||||
m.PlaceInBackpack( item );
|
||||
}
|
||||
#endregion
|
||||
private class AnimateTimer : Timer
|
||||
{
|
||||
private int m_Count;
|
||||
private Mobile m_Owner;
|
||||
|
||||
#region Provoke
|
||||
private DateTime m_NextProvoke;
|
||||
public AnimateTimer(Mobile owner, int count) : base(TimeSpan.Zero, TimeSpan.FromSeconds(1.25))
|
||||
{
|
||||
m_Owner = owner;
|
||||
m_Count = count;
|
||||
}
|
||||
|
||||
public void Provoke( Mobile target )
|
||||
{
|
||||
if ( target == null || Deleted || !Alive || m_NextProvoke > DateTime.UtcNow || 0.05 < Utility.RandomDouble() )
|
||||
return;
|
||||
protected override void OnTick()
|
||||
{
|
||||
if (m_Owner.Deleted || !m_Owner.Alive || m_Count-- < 0)
|
||||
SuppressRemove(m_Owner);
|
||||
else
|
||||
m_Owner.FixedParticles(0x376A, 1, 32, 0x15BD, EffectLayer.Waist);
|
||||
}
|
||||
}
|
||||
|
||||
foreach ( Mobile m in GetMobilesInRange( RangePerception ) )
|
||||
{
|
||||
if ( m is BaseCreature c )
|
||||
{
|
||||
if ( c == this || c == target || c.Unprovokable || c.IsParagon || c.BardProvoked || c.AccessLevel != AccessLevel.Player || !c.CanBeHarmful( target ) )
|
||||
continue;
|
||||
#endregion
|
||||
|
||||
c.Provoke( this, target, true );
|
||||
#region Undress
|
||||
|
||||
if ( target.Player )
|
||||
target.SendLocalizedMessage( 1072062 ); // You hear angry music, and start to fight.
|
||||
private DateTime m_NextUndress;
|
||||
|
||||
PlaySound( 0x58A );
|
||||
break;
|
||||
}
|
||||
}
|
||||
public void Undress(Mobile target)
|
||||
{
|
||||
if (target == null || Deleted || !Alive || m_NextUndress > DateTime.UtcNow || 0.005 < Utility.RandomDouble())
|
||||
return;
|
||||
|
||||
m_NextProvoke = DateTime.UtcNow + TimeSpan.FromSeconds( 10 );
|
||||
}
|
||||
#endregion
|
||||
if (target.Player && target.Female && !target.Hidden && CanBeHarmful(target))
|
||||
{
|
||||
UndressItem(target, Layer.OuterTorso);
|
||||
UndressItem(target, Layer.InnerTorso);
|
||||
UndressItem(target, Layer.MiddleTorso);
|
||||
UndressItem(target, Layer.Pants);
|
||||
UndressItem(target, Layer.Shirt);
|
||||
|
||||
public override int Meat => 1;
|
||||
target.SendLocalizedMessage(
|
||||
1072196); // The satyr's music makes your blood race. Your clothing is too confining.
|
||||
}
|
||||
|
||||
public Satyr( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
m_NextUndress = DateTime.UtcNow + TimeSpan.FromMinutes(1);
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
public void UndressItem(Mobile m, Layer layer)
|
||||
{
|
||||
Item item = m.FindItemOnLayer(layer);
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
if (item != null && item.Movable)
|
||||
m.PlaceInBackpack(item);
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
#endregion
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
#region Provoke
|
||||
|
||||
private DateTime m_NextProvoke;
|
||||
|
||||
public void Provoke(Mobile target)
|
||||
{
|
||||
if (target == null || Deleted || !Alive || m_NextProvoke > DateTime.UtcNow || 0.05 < Utility.RandomDouble())
|
||||
return;
|
||||
|
||||
foreach (Mobile m in GetMobilesInRange(RangePerception))
|
||||
if (m is BaseCreature c)
|
||||
{
|
||||
if (c == this || c == target || c.Unprovokable || c.IsParagon || c.BardProvoked ||
|
||||
c.AccessLevel != AccessLevel.Player || !c.CanBeHarmful(target))
|
||||
continue;
|
||||
|
||||
c.Provoke(this, target, true);
|
||||
|
||||
if (target.Player)
|
||||
target.SendLocalizedMessage(1072062); // You hear angry music, and start to fight.
|
||||
|
||||
PlaySound(0x58A);
|
||||
break;
|
||||
}
|
||||
|
||||
m_NextProvoke = DateTime.UtcNow + TimeSpan.FromSeconds(10);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue