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
|
|
@ -2,76 +2,76 @@ using Server.Items;
|
|||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class Tangle : BogThing
|
||||
{
|
||||
public override string CorpseName => "a Tangle corpse";
|
||||
public override string DefaultName => "Tangle";
|
||||
public class Tangle : BogThing
|
||||
{
|
||||
[Constructible]
|
||||
public Tangle()
|
||||
{
|
||||
// TODO: Not a paragon? No ML arties?
|
||||
// It moves like a paragon on OSI...
|
||||
|
||||
[Constructible]
|
||||
public Tangle()
|
||||
{
|
||||
// TODO: Not a paragon? No ML arties?
|
||||
// It moves like a paragon on OSI...
|
||||
Hue = 0x21;
|
||||
|
||||
Hue = 0x21;
|
||||
SetStr(870, 940);
|
||||
SetDex(58, 74);
|
||||
SetInt(46, 58);
|
||||
|
||||
SetStr( 870, 940 );
|
||||
SetDex( 58, 74 );
|
||||
SetInt( 46, 58 );
|
||||
SetHits(2468, 2733);
|
||||
SetMana(8, 12);
|
||||
|
||||
SetHits( 2468, 2733 );
|
||||
SetMana( 8, 12 );
|
||||
SetDamage(15, 28);
|
||||
|
||||
SetDamage( 15, 28 );
|
||||
SetDamageType(ResistanceType.Physical, 60);
|
||||
SetDamageType(ResistanceType.Poison, 40);
|
||||
|
||||
SetDamageType( ResistanceType.Physical, 60 );
|
||||
SetDamageType( ResistanceType.Poison, 40 );
|
||||
SetResistance(ResistanceType.Physical, 50, 57);
|
||||
SetResistance(ResistanceType.Fire, 40, 43);
|
||||
SetResistance(ResistanceType.Cold, 30, 35);
|
||||
SetResistance(ResistanceType.Poison, 61, 69);
|
||||
SetResistance(ResistanceType.Energy, 41, 45);
|
||||
|
||||
SetResistance( ResistanceType.Physical, 50, 57 );
|
||||
SetResistance( ResistanceType.Fire, 40, 43 );
|
||||
SetResistance( ResistanceType.Cold, 30, 35 );
|
||||
SetResistance( ResistanceType.Poison, 61, 69 );
|
||||
SetResistance( ResistanceType.Energy, 41, 45 );
|
||||
SetSkill(SkillName.Wrestling, 77.8, 94.6);
|
||||
SetSkill(SkillName.Tactics, 90.6, 100.4);
|
||||
SetSkill(SkillName.MagicResist, 108.4, 114.0);
|
||||
|
||||
SetSkill( SkillName.Wrestling, 77.8, 94.6 );
|
||||
SetSkill( SkillName.Tactics, 90.6, 100.4 );
|
||||
SetSkill( SkillName.MagicResist, 108.4, 114.0 );
|
||||
// TODO: Fame/Karma?
|
||||
}
|
||||
|
||||
// TODO: Fame/Karma?
|
||||
}
|
||||
public Tangle(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot( LootPack.UltraRich, 3 );
|
||||
}
|
||||
public override string CorpseName => "a Tangle corpse";
|
||||
public override string DefaultName => "Tangle";
|
||||
|
||||
public override void OnDeath( Container c )
|
||||
{
|
||||
base.OnDeath( c );
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
if ( Utility.RandomDouble() < 0.3 )
|
||||
c.DropItem( new TaintedSeeds() );
|
||||
}
|
||||
public override void GenerateLoot()
|
||||
{
|
||||
AddLoot(LootPack.UltraRich, 3);
|
||||
}
|
||||
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
public override void OnDeath(Container c)
|
||||
{
|
||||
base.OnDeath(c);
|
||||
|
||||
public Tangle( Serial serial )
|
||||
: base( serial )
|
||||
{
|
||||
}
|
||||
if (Utility.RandomDouble() < 0.3)
|
||||
c.DropItem(new TaintedSeeds());
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
writer.Write(0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue