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,70 +1,71 @@
|
|||
namespace Server.Mobiles
|
||||
{
|
||||
public class FireGargoyle : BaseCreature
|
||||
{
|
||||
public override string CorpseName => "a charred corpse";
|
||||
[Constructible]
|
||||
public FireGargoyle() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Name = NameList.RandomName( "fire gargoyle" );
|
||||
Body = 130;
|
||||
BaseSoundID = 0x174;
|
||||
public class FireGargoyle : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public FireGargoyle() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Name = NameList.RandomName("fire gargoyle");
|
||||
Body = 130;
|
||||
BaseSoundID = 0x174;
|
||||
|
||||
SetStr( 351, 400 );
|
||||
SetDex( 126, 145 );
|
||||
SetInt( 226, 250 );
|
||||
SetStr(351, 400);
|
||||
SetDex(126, 145);
|
||||
SetInt(226, 250);
|
||||
|
||||
SetHits( 211, 240 );
|
||||
SetHits(211, 240);
|
||||
|
||||
SetDamage( 7, 14 );
|
||||
SetDamage(7, 14);
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 20 );
|
||||
SetDamageType( ResistanceType.Fire, 80 );
|
||||
SetDamageType(ResistanceType.Physical, 20);
|
||||
SetDamageType(ResistanceType.Fire, 80);
|
||||
|
||||
SetResistance( ResistanceType.Physical, 30, 35 );
|
||||
SetResistance( ResistanceType.Fire, 50, 60 );
|
||||
SetResistance( ResistanceType.Poison, 20, 30 );
|
||||
SetResistance( ResistanceType.Energy, 20, 30 );
|
||||
SetResistance(ResistanceType.Physical, 30, 35);
|
||||
SetResistance(ResistanceType.Fire, 50, 60);
|
||||
SetResistance(ResistanceType.Poison, 20, 30);
|
||||
SetResistance(ResistanceType.Energy, 20, 30);
|
||||
|
||||
SetSkill( SkillName.Anatomy, 75.1, 85.0 );
|
||||
SetSkill( SkillName.EvalInt, 90.1, 105.0 );
|
||||
SetSkill( SkillName.Magery, 90.1, 105.0 );
|
||||
SetSkill( SkillName.Meditation, 90.1, 105.0 );
|
||||
SetSkill( SkillName.MagicResist, 90.1, 105.0 );
|
||||
SetSkill( SkillName.Tactics, 80.1, 100.0 );
|
||||
SetSkill( SkillName.Wrestling, 40.1, 80.0 );
|
||||
SetSkill(SkillName.Anatomy, 75.1, 85.0);
|
||||
SetSkill(SkillName.EvalInt, 90.1, 105.0);
|
||||
SetSkill(SkillName.Magery, 90.1, 105.0);
|
||||
SetSkill(SkillName.Meditation, 90.1, 105.0);
|
||||
SetSkill(SkillName.MagicResist, 90.1, 105.0);
|
||||
SetSkill(SkillName.Tactics, 80.1, 100.0);
|
||||
SetSkill(SkillName.Wrestling, 40.1, 80.0);
|
||||
|
||||
Fame = 3500;
|
||||
Karma = -3500;
|
||||
Fame = 3500;
|
||||
Karma = -3500;
|
||||
|
||||
VirtualArmor = 32;
|
||||
}
|
||||
VirtualArmor = 32;
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.Rich );
|
||||
AddLoot( LootPack.Gems );
|
||||
}
|
||||
public FireGargoyle(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override bool HasBreath => true; // fire breath enabled
|
||||
public override int TreasureMapLevel => 1;
|
||||
public override int Meat => 1;
|
||||
public override bool CanFly => true;
|
||||
public override string CorpseName => "a charred corpse";
|
||||
|
||||
public FireGargoyle( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
public override bool HasBreath => true; // fire breath enabled
|
||||
public override int TreasureMapLevel => 1;
|
||||
public override int Meat => 1;
|
||||
public override bool CanFly => true;
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.Rich);
|
||||
AddLoot(LootPack.Gems);
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue