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,90 +1,90 @@
|
|||
namespace Server.Mobiles
|
||||
{
|
||||
public class ShadowWyrm : BaseCreature
|
||||
{
|
||||
public override string CorpseName => "a shadow wyrm corpse";
|
||||
public override string DefaultName => "a shadow wyrm";
|
||||
public class ShadowWyrm : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public ShadowWyrm() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Body = 106;
|
||||
BaseSoundID = 362;
|
||||
|
||||
[Constructible]
|
||||
public ShadowWyrm() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Body = 106;
|
||||
BaseSoundID = 362;
|
||||
SetStr(898, 1030);
|
||||
SetDex(68, 200);
|
||||
SetInt(488, 620);
|
||||
|
||||
SetStr( 898, 1030 );
|
||||
SetDex( 68, 200 );
|
||||
SetInt( 488, 620 );
|
||||
SetHits(558, 599);
|
||||
|
||||
SetHits( 558, 599 );
|
||||
SetDamage(29, 35);
|
||||
|
||||
SetDamage( 29, 35 );
|
||||
SetDamageType(ResistanceType.Physical, 75);
|
||||
SetDamageType(ResistanceType.Cold, 25);
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 75 );
|
||||
SetDamageType( ResistanceType.Cold, 25 );
|
||||
SetResistance(ResistanceType.Physical, 65, 75);
|
||||
SetResistance(ResistanceType.Fire, 50, 60);
|
||||
SetResistance(ResistanceType.Cold, 45, 55);
|
||||
SetResistance(ResistanceType.Poison, 20, 30);
|
||||
SetResistance(ResistanceType.Energy, 50, 60);
|
||||
|
||||
SetResistance( ResistanceType.Physical, 65, 75 );
|
||||
SetResistance( ResistanceType.Fire, 50, 60 );
|
||||
SetResistance( ResistanceType.Cold, 45, 55 );
|
||||
SetResistance( ResistanceType.Poison, 20, 30 );
|
||||
SetResistance( ResistanceType.Energy, 50, 60 );
|
||||
SetSkill(SkillName.EvalInt, 80.1, 100.0);
|
||||
SetSkill(SkillName.Magery, 80.1, 100.0);
|
||||
SetSkill(SkillName.Meditation, 52.5, 75.0);
|
||||
SetSkill(SkillName.MagicResist, 100.3, 130.0);
|
||||
SetSkill(SkillName.Tactics, 97.6, 100.0);
|
||||
SetSkill(SkillName.Wrestling, 97.6, 100.0);
|
||||
|
||||
SetSkill( SkillName.EvalInt, 80.1, 100.0 );
|
||||
SetSkill( SkillName.Magery, 80.1, 100.0 );
|
||||
SetSkill( SkillName.Meditation, 52.5, 75.0 );
|
||||
SetSkill( SkillName.MagicResist, 100.3, 130.0 );
|
||||
SetSkill( SkillName.Tactics, 97.6, 100.0 );
|
||||
SetSkill( SkillName.Wrestling, 97.6, 100.0 );
|
||||
Fame = 22500;
|
||||
Karma = -22500;
|
||||
|
||||
Fame = 22500;
|
||||
Karma = -22500;
|
||||
VirtualArmor = 70;
|
||||
}
|
||||
|
||||
VirtualArmor = 70;
|
||||
}
|
||||
public ShadowWyrm(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.FilthyRich, 3 );
|
||||
AddLoot( LootPack.Gems, 5 );
|
||||
}
|
||||
public override string CorpseName => "a shadow wyrm corpse";
|
||||
public override string DefaultName => "a shadow wyrm";
|
||||
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x2D5;
|
||||
}
|
||||
public override bool ReacquireOnMovement => true;
|
||||
public override bool HasBreath => true; // fire breath enabled
|
||||
public override bool AutoDispel => true;
|
||||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
public override Poison HitPoison => Poison.Deadly;
|
||||
public override int TreasureMapLevel => 5;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x2D1;
|
||||
}
|
||||
public override int Meat => 19;
|
||||
public override int Hides => 20;
|
||||
public override int Scales => 10;
|
||||
public override ScaleType ScaleType => ScaleType.Black;
|
||||
public override HideType HideType => HideType.Barbed;
|
||||
public override bool CanFly => true;
|
||||
|
||||
public override bool ReacquireOnMovement => true;
|
||||
public override bool HasBreath => true; // fire breath enabled
|
||||
public override bool AutoDispel => true;
|
||||
public override Poison PoisonImmune => Poison.Deadly;
|
||||
public override Poison HitPoison => Poison.Deadly;
|
||||
public override int TreasureMapLevel => 5;
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.FilthyRich, 3);
|
||||
AddLoot(LootPack.Gems, 5);
|
||||
}
|
||||
|
||||
public override int Meat => 19;
|
||||
public override int Hides => 20;
|
||||
public override int Scales => 10;
|
||||
public override ScaleType ScaleType => ScaleType.Black;
|
||||
public override HideType HideType => HideType.Barbed;
|
||||
public override bool CanFly => true;
|
||||
public override int GetIdleSound()
|
||||
{
|
||||
return 0x2D5;
|
||||
}
|
||||
|
||||
public ShadowWyrm( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x2D1;
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue