本文整理汇总了C#中Server.Items.LeatherGloves类的典型用法代码示例。如果您正苦于以下问题:C# LeatherGloves类的具体用法?C# LeatherGloves怎么用?C# LeatherGloves使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LeatherGloves类属于Server.Items命名空间,在下文中一共展示了LeatherGloves类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InitOutfit
public override void InitOutfit()
{
AddItem( new Backpack() );
AddItem( new Boots( 0x1BB ) );
Item item;
item = new LeatherLegs();
item.Hue = 0x6C8;
AddItem( item );
item = new LeatherGloves();
item.Hue = 0x1BB;
AddItem( item );
item = new LeatherChest();
item.Hue = 0x1BB;
AddItem( item );
item = new LeatherArms();
item.Hue = 0x4C7;
AddItem( item );
item = new CompositeBow();
item.Hue = 0x5DD;
AddItem( item );
}
示例2: InitOutfit
public override void InitOutfit()
{
AddItem( new Backpack() );
AddItem( new Sandals( 0x8FD ) );
AddItem( new BoneHelm() );
Item item;
item = new LeatherLegs();
item.Hue = 0x2C3;
AddItem( item );
item = new LeatherGloves();
item.Hue = 0x2C3;
AddItem( item );
item = new LeatherGorget();
item.Hue = 0x2C3;
AddItem( item );
item = new LeatherChest();
item.Hue = 0x2C3;
AddItem( item );
item = new LeatherArms();
item.Hue = 0x2C3;
AddItem( item );
}
示例3: ArmyBase
public ArmyBase(int Team, AIType iAI, FightMode iFightMode, int iRangePerception, int iRangeFight, double dActiveSpeed, double dPassiveSpeed)
: base(iAI, iFightMode, iRangePerception, iRangeFight, dActiveSpeed, dPassiveSpeed)
{
this.Body = 400 + Utility.Random(2);
this.Hue = Utility.RandomSkinHue();
this.Team = Team;
this.Skills[SkillName.DetectHidden].Base = 100;
this.Skills[SkillName.MagicResist].Base = 120;
int iHue = 20 + Team * 40;
int jHue = 25 + Team * 40;
Item hair = new Item( Utility.RandomList( 0x203C, 0x203B, 0x203C, 0x203D ) );
hair.Hue = iHue;
hair.Layer = Layer.Hair;
hair.Movable = false;
AddItem( hair );
LeatherGloves glv = new LeatherGloves();
glv.Hue = iHue;
glv.LootType = LootType.Newbied;
AddItem(glv);
Container pack = new Backpack();
pack.Movable = false;
AddItem( pack );
m_Timer = new AutokillTimer(this);
m_Timer.Start();
}
示例4: FamousPirates
public FamousPirates(AIType iAI, FightMode iFightMode, int iRangePerception, int iRangeFight, double dActiveSpeed, double dPassiveSpeed) : base(iAI, iFightMode, iRangePerception, iRangeFight, dActiveSpeed, dPassiveSpeed)
{
this.Body = 400;
this.Hue = Utility.RandomSkinHue();
this.Skills[SkillName.DetectHidden].Base = 100;
this.Skills[SkillName.MagicResist].Base = 100;
this.Skills[SkillName.Magery].Base = 100;
this.Skills[SkillName.Healing].Base = 100;
int Hue = 0 ;
Utility.AssignRandomHair( this, Hue );
LeatherGloves glv = new LeatherGloves();
glv.Hue = Hue;
glv.LootType = LootType.Regular;
AddItem(glv);
Container pack = new Backpack();
pack.Movable = false;
AddItem( pack );
Kills = 5;
}
示例5: Ciiss
public Ciiss()
{
Name = "Ciiss";
Title = "the Snake Worshipper";
Body = 401;
CantWalk = true;
Hue = 2006;
Item Boots = new Boots();
Boots.Movable=false;
Boots.Hue=1175;
EquipItem( Boots );
Item HoodedShroudOfShadows = new HoodedShroudOfShadows();
HoodedShroudOfShadows.Movable=false;
HoodedShroudOfShadows.Hue=1175;
EquipItem( HoodedShroudOfShadows );
Item LeatherGloves = new LeatherGloves();
LeatherGloves.Movable=false;
LeatherGloves.Hue=1175;
EquipItem( LeatherGloves );
int hairHue = 1741;
AddItem( new LongHair( hairHue ) );
Blessed = true;
}
示例6: Dummy
public Dummy(AIType iAI, FightMode iFightMode, int iRangePerception, int iRangeFight, double dActiveSpeed, double dPassiveSpeed) : base(iAI, iFightMode, iRangePerception, iRangeFight, dActiveSpeed, dPassiveSpeed)
{
Body = 400 + Utility.Random(2);
Hue = Utility.RandomSkinHue();
Skills[SkillName.DetectHidden].Base = 100;
Skills[SkillName.MagicResist].Base = 120;
Team = Utility.Random(3);
int iHue = 20 + Team * 40;
int jHue = 25 + Team * 40;
Utility.AssignRandomHair( this, iHue );
LeatherGloves glv = new LeatherGloves();
glv.Hue = iHue;
glv.LootType = LootType.Newbied;
AddItem(glv);
Container pack = new Backpack();
pack.Movable = false;
AddItem( pack );
m_Timer = new AutokillTimer(this);
m_Timer.Start();
}
示例7: KhaldunSummoner
public KhaldunSummoner():base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Body = 0x190;
Title = "the Summoner";
SetStr(1254, 1381);
SetDex(93, 135);
SetInt(745, 810);
SetHits(694, 875);
SetDamage(12, 20);
SetSkill( SkillName.Wrestling, 90.1, 100.0 );
SetSkill( SkillName.Tactics, 90.1, 100.0 );
SetSkill( SkillName.MagicResist, 90.1, 100.0 );
SetSkill( SkillName.Magery, 90.1, 100.0 );
SetSkill( SkillName.EvalInt, 100.0 );
SetSkill( SkillName.Meditation, 120.1, 130.0 );
VirtualArmor = 36;
Fame = 10000;
Karma = -10000;
LeatherGloves gloves = new LeatherGloves();
gloves.Hue = 0x66D;
gloves.Identified = true;
AddItem( Immovable(gloves) );
BoneHelm helm = new BoneHelm();
helm.Hue = 0x835;
helm.Identified = true;
AddItem( Immovable(helm) );
Necklace necklace = new Necklace();
necklace.Hue = 0x66D;
AddItem( Immovable(necklace) );
Cloak cloak = new Cloak();
cloak.Hue = 0x66D;
AddItem( Immovable(cloak) );
Kilt kilt = new Kilt();
kilt.Hue = 0x66D;
AddItem( Immovable(kilt) );
Sandals sandals = new Sandals();
sandals.Hue = 0x66D;
AddItem( Immovable(sandals) );
}
示例8: KhaldunSummoner
public KhaldunSummoner()
: base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
{
Body = 0x190;
Name = "Zealot of Khaldun";
Title = "the Summoner";
SetStr( 351, 400 );
SetDex( 101, 150 );
SetInt( 502, 700 );
SetHits( 421, 480 );
SetDamage( 5, 15 );
SetDamageType( ResistanceType.Physical, 75 );
SetDamageType( ResistanceType.Cold, 25 );
SetResistance( ResistanceType.Physical, 35, 40 );
SetResistance( ResistanceType.Fire, 25, 30 );
SetResistance( ResistanceType.Cold, 50, 60 );
SetResistance( ResistanceType.Poison, 25, 35 );
SetResistance( ResistanceType.Energy, 25, 35 );
SetSkill( SkillName.Wrestling, 90.1, 100.0 );
SetSkill( SkillName.Tactics, 90.1, 100.0 );
SetSkill( SkillName.MagicResist, 90.1, 100.0 );
SetSkill( SkillName.Magery, 90.1, 100.0 );
SetSkill( SkillName.EvalInt, 100.0 );
SetSkill( SkillName.Meditation, 120.1, 130.0 );
VirtualArmor = 16;
Fame = 10000;
Karma = -10000;
LeatherGloves gloves = new LeatherGloves();
gloves.Hue = 0x66D;
AddItem( gloves );
BoneHelm helm = new BoneHelm();
helm.Hue = 0x835;
AddItem( helm );
Necklace necklace = new Necklace();
necklace.Hue = 0x66D;
AddItem( necklace );
Cloak cloak = new Cloak();
cloak.Hue = 0x66D;
AddItem( cloak );
Kilt kilt = new Kilt();
kilt.Hue = 0x66D;
AddItem( kilt );
Sandals sandals = new Sandals();
sandals.Hue = 0x66D;
AddItem( sandals );
}
示例9: FreddyKruger
public FreddyKruger() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "Freddy Kruger";
Body = 185;
Hue = 2949;
SetStr( 481, 705 );
SetDex( 291, 315 );
SetInt( 226, 350 );
SetHits(12000, 14000 );
SetDamage( 25, 40 );
SetDamageType( ResistanceType.Physical, 100 );
SetResistance( ResistanceType.Physical, 35, 40 );
SetResistance( ResistanceType.Fire, 30, 40 );
SetResistance( ResistanceType.Cold, 30, 40 );
SetResistance( ResistanceType.Poison, 30, 40 );
SetResistance( ResistanceType.Energy, 30, 40 );
SetSkill( SkillName.EvalInt, 80.2, 100.0 );
SetSkill( SkillName.Magery, 95.1, 100.0 );
SetSkill( SkillName.Meditation, 27.5, 50.0 );
SetSkill( SkillName.MagicResist, 77.5, 100.0 );
SetSkill( SkillName.Tactics, 65.0, 87.5 );
SetSkill( SkillName.Wrestling, 20.3, 80.0 );
Fame = 0;
Karma = -10500;
VirtualArmor = 90;
LeatherGloves gloves = new LeatherGloves();
gloves.Hue = 1175;
gloves.Movable = false;
AddItem( gloves );
LongPants legs = new LongPants();
legs.Hue = 1175;
legs.Movable = false;
AddItem( legs );
FingersOfFreddy weapon = new FingersOfFreddy();
weapon.Movable = false;
AddItem( weapon );
Boots boots = new Boots();
boots.Hue = 1175;
boots.Movable = false;
AddItem( boots );
}
示例10: MorgBergen
public MorgBergen()
: base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
{
this.Title = "the Cursed";
this.Hue = 0x8596;
this.Body = 0x190;
this.Name = "Morg Bergen";
this.AddItem(new ShortPants(0x59C));
Bardiche bardiche = new Bardiche();
LeatherGloves gloves = new LeatherGloves();
LeatherArms arms = new LeatherArms();
bardiche.Hue = 0x96F;
bardiche.Movable = false;
gloves.Hue = 0x96F;
arms.Hue = 0x96F;
this.AddItem(bardiche);
this.AddItem(gloves);
this.AddItem(arms);
this.SetStr(111, 120);
this.SetDex(111, 120);
this.SetInt(51, 60);
this.SetHits(180, 207);
this.SetMana(0);
this.SetDamage(9, 17);
this.SetDamageType(ResistanceType.Physical, 40);
this.SetDamageType(ResistanceType.Cold, 60);
this.SetResistance(ResistanceType.Physical, 35, 45);
this.SetResistance(ResistanceType.Fire, 25, 30);
this.SetResistance(ResistanceType.Cold, 50, 60);
this.SetResistance(ResistanceType.Poison, 25, 35);
this.SetResistance(ResistanceType.Energy, 25, 35);
this.SetSkill(SkillName.Swords, 90.1, 100.0);
this.SetSkill(SkillName.Tactics, 90.1, 100.0);
this.SetSkill(SkillName.MagicResist, 80.1, 90.0);
this.SetSkill(SkillName.Anatomy, 90.1, 100.0);
this.Fame = 5000;
this.Karma = -1000;
}
示例11: Sparrow
public Sparrow()
{
Name = "Captian Jack Sparrow";
Title = "The Pirate";
Body = 400;
CantWalk = true;
Hue = Utility.RandomSkinHue();
LeatherArms LeatherArms = new LeatherArms();
LeatherArms.Hue = 1157;
AddItem( LeatherArms );
LeatherCap LeatherCap = new LeatherCap();
LeatherCap.Hue = 1157;
AddItem( LeatherCap );
LeatherGloves LeatherGloves = new LeatherGloves();
LeatherGloves.Hue = 1157;
AddItem( LeatherGloves );
LeatherLegs LeatherLegs = new LeatherLegs();
LeatherLegs.Hue = 1157;
AddItem( LeatherLegs );
LeatherChest LeatherChest = new LeatherChest();
LeatherChest.Hue = 1157;
AddItem( LeatherChest );
LeatherGorget LeatherGorget = new LeatherGorget();
LeatherGorget.Hue = 1157;
AddItem( LeatherGorget );
int hairHue = 1153;
switch ( Utility.Random( 1 ) )
{
case 0: AddItem( new PonyTail( hairHue ) ); break;
case 1: AddItem( new Goatee( hairHue ) ); break;
}
Blessed = true;
}
示例12: Stripper
public Stripper() : base( AIType.AI_Melee, FightMode.None, 10, 1, 0.5, 2 )
{
SpeechHue = Utility.RandomDyedHue();
InitStats( 50, 50, 25 );
//Title = "The Stripper";
Hue = Utility.RandomSkinHue();
Body = 0x191;
Name = "The Stripper"; //NameList.RandomName( "female" );
Fame = 100;
Karma = 0;
Blessed = true;
AddItem(new LongHair(2213));
// AddItem( new BunsHair( Utility.RandomRedHue() ) );
AddItem( new Backpack() );
switch ( Utility.Random( 2 ) )
{
case 0: AddItem( new Bonnet( Utility.RandomBlueHue() ) ); break;
default: case 1: AddItem( new FeatheredHat( Utility.RandomBlueHue() ) ); break;
}
switch ( Utility.Random( 2 ) )
{
case 0: AddItem( new ThighBoots( Utility.RandomGreenHue() ) ); break;
default: case 1: AddItem( new Sandals( Utility.RandomGreenHue() ) ); break;
}
AddItem( new FancyShirt( Utility.RandomBlueHue() ) );
AddItem( new Doublet( Utility.RandomBlueHue() ) );
AddItem( new Cloak( Utility.RandomGreenHue() ) );
Item gloves = new LeatherGloves();
gloves.Hue = Utility.RandomBlueHue();
AddItem( gloves );
AddItem( new ShortPants( Utility.RandomBlueHue() ) );
AddItem( new StrippersLingerie());
Item skirt;
switch ( Utility.Random( 2 ) )
{
case 0: skirt = new Skirt(); break;
default: case 1: skirt = new Kilt(); break;
}
skirt.Hue = Utility.RandomGreenHue();
AddItem( skirt );
AddItem( new SilverRing() );
AddItem( new SilverEarrings() );
AddItem( new SilverBracelet() );
AddItem( new SilverNecklace() );
}
示例13: InitOutfit
public override void InitOutfit()
{
AddItem( new FancyShirt() );
AddItem( new LongPants( 0x66D ) );
AddItem( new ThighBoots() );
AddItem( new TricorneHat( 0x1 ) );
AddItem( new BodySash( 0x66D ) );
LeatherGloves gloves = new LeatherGloves();
gloves.Hue = 0x66D;
AddItem( gloves );
AddItem( new LongBeard( 0x455 ) );
Item sword = new Cutlass();
sword.Movable = false;
AddItem( sword );
}
示例14: InitOutfit
public override void InitOutfit()
{
this.AddItem(new FancyShirt());
this.AddItem(new LongPants(0x66D));
this.AddItem(new ThighBoots());
this.AddItem(new TricorneHat(0x1));
this.AddItem(new BodySash(0x66D));
LeatherGloves gloves = new LeatherGloves();
gloves.Hue = 0x66D;
this.AddItem(gloves);
this.FacialHairItemID = 0x203E; // Long Beard
this.FacialHairHue = 0x455;
Item sword = new Cutlass();
sword.Movable = false;
this.AddItem(sword);
}
示例15: Armond
public Armond():base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Body = 0x190;
Name = "Armond";
Title = "The Dark One";
SetStr( 356, 396 );
SetDex( 105, 135 );
SetInt( 530, 653 );
SetSkill( SkillName.Wrestling, 91.3, 97.8 );
SetSkill( SkillName.Tactics, 91.5, 99.0 );
SetSkill( SkillName.MagicResist, 90.6, 96.8);
SetSkill( SkillName.Magery, 91.7, 99.0 );
SetSkill( SkillName.EvalInt, 100.1, 100.1 );
SetSkill( SkillName.Meditation, 121.1, 128.1 );
VirtualArmor = 64;
new Kirin().Rider = this;
SetFameLevel( 8 );
SetKarmaLevel( -8 );
LeatherGloves gloves = new LeatherGloves();
gloves.Hue = 1;
AddItem( gloves );
HoodedShroudOfShadows shroud = new HoodedShroudOfShadows();
shroud.Hue = 1157;
AddItem( shroud );
Cloak cloak = new Cloak();
cloak.Hue = 1157;
AddItem( cloak );
Kilt kilt = new Kilt();
kilt.Hue = 1;
AddItem( kilt );
Sandals sandals = new Sandals();
sandals.Hue = 1;
AddItem( sandals );
}