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,84 +2,84 @@ using System;
|
|||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class NatureFury : BaseCreature
|
||||
{
|
||||
public override bool DeleteCorpseOnDeath => Core.AOS;
|
||||
public override bool IsHouseSummonable => true;
|
||||
public class NatureFury : BaseCreature
|
||||
{
|
||||
[Constructible]
|
||||
public NatureFury()
|
||||
: base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
Body = 0x33;
|
||||
Hue = 0x4001;
|
||||
|
||||
public override double DispelDifficulty => 125.0;
|
||||
public override double DispelFocus => 90.0;
|
||||
SetStr(150);
|
||||
SetDex(150);
|
||||
SetInt(100);
|
||||
|
||||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
SetHits(80);
|
||||
SetStam(250);
|
||||
SetMana(0);
|
||||
|
||||
public override bool AlwaysMurderer => true;
|
||||
public override string DefaultName => "a nature's fury";
|
||||
SetDamage(6, 8);
|
||||
|
||||
[Constructible]
|
||||
public NatureFury()
|
||||
: base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
||||
{
|
||||
Body = 0x33;
|
||||
Hue = 0x4001;
|
||||
SetDamageType(ResistanceType.Poison, 100);
|
||||
SetDamageType(ResistanceType.Physical, 0);
|
||||
SetResistance(ResistanceType.Physical, 90);
|
||||
|
||||
SetStr( 150 );
|
||||
SetDex( 150 );
|
||||
SetInt( 100 );
|
||||
SetSkill(SkillName.Wrestling, 90.0);
|
||||
SetSkill(SkillName.MagicResist, 70.0);
|
||||
SetSkill(SkillName.Tactics, 100.0);
|
||||
|
||||
SetHits( 80 );
|
||||
SetStam( 250 );
|
||||
SetMana( 0 );
|
||||
Fame = 0;
|
||||
Karma = 0;
|
||||
|
||||
SetDamage( 6, 8 );
|
||||
ControlSlots = 1;
|
||||
}
|
||||
|
||||
SetDamageType( ResistanceType.Poison, 100 );
|
||||
SetDamageType( ResistanceType.Physical, 0 );
|
||||
SetResistance( ResistanceType.Physical, 90 );
|
||||
public NatureFury(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
SetSkill( SkillName.Wrestling, 90.0 );
|
||||
SetSkill( SkillName.MagicResist, 70.0 );
|
||||
SetSkill( SkillName.Tactics, 100.0 );
|
||||
public override bool DeleteCorpseOnDeath => Core.AOS;
|
||||
public override bool IsHouseSummonable => true;
|
||||
|
||||
Fame = 0;
|
||||
Karma = 0;
|
||||
public override double DispelDifficulty => 125.0;
|
||||
public override double DispelFocus => 90.0;
|
||||
|
||||
ControlSlots = 1;
|
||||
}
|
||||
public override bool BleedImmune => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
public override void MoveToWorld( Point3D loc, Map map )
|
||||
{
|
||||
base.MoveToWorld( loc, map );
|
||||
Timer.DelayCall( TimeSpan.Zero, DoEffects );
|
||||
}
|
||||
public override bool AlwaysMurderer => true;
|
||||
public override string DefaultName => "a nature's fury";
|
||||
|
||||
public void DoEffects()
|
||||
{
|
||||
FixedParticles( 0x91C, 10, 180, 0x2543, 0, 0, EffectLayer.Waist );
|
||||
PlaySound( 0xE );
|
||||
PlaySound( 0x1BC );
|
||||
public override void MoveToWorld(Point3D loc, Map map)
|
||||
{
|
||||
base.MoveToWorld(loc, map);
|
||||
Timer.DelayCall(TimeSpan.Zero, DoEffects);
|
||||
}
|
||||
|
||||
if ( Alive && !Deleted )
|
||||
Timer.DelayCall( TimeSpan.FromSeconds( 7.0 ), DoEffects );
|
||||
}
|
||||
public void DoEffects()
|
||||
{
|
||||
FixedParticles(0x91C, 10, 180, 0x2543, 0, 0, EffectLayer.Waist);
|
||||
PlaySound(0xE);
|
||||
PlaySound(0x1BC);
|
||||
|
||||
public NatureFury( Serial serial )
|
||||
: base( serial )
|
||||
{
|
||||
}
|
||||
if (Alive && !Deleted)
|
||||
Timer.DelayCall(TimeSpan.FromSeconds(7.0), DoEffects);
|
||||
}
|
||||
|
||||
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();
|
||||
|
||||
Delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
Delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue