本文整理汇总了C#中Server.Items.PlateArms类的典型用法代码示例。如果您正苦于以下问题:C# PlateArms类的具体用法?C# PlateArms怎么用?C# PlateArms使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
PlateArms类属于Server.Items命名空间,在下文中一共展示了PlateArms类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: PaladinSectionRepresentative
public PaladinSectionRepresentative()
{
Name = NameList.RandomName( "male" );
Title = "the Paladin";
Body = 0x190;
Hue = Utility.RandomSkinHue();
Item item = new PlateArms();
item.Hue = 2214;
AddItem( item );
item = new PlateChest();
item.Hue = 2214;
AddItem( item );
item = new PlateGloves();
item.Hue = 2214;
AddItem( item );
item = new PlateLegs();
item.Hue = 2214;
AddItem( item );
item = new PlateGorget();
item.Hue = 2214;
AddItem( item );
item = new PlateHelm();
item.Hue = 2214;
AddItem( item );
AddItem( new Cloak( 1254 ) );
AddItem( new Halberd() );
}
示例2: foreach
/************************************************************
private SummoningAltarErmo m_Altar;
private const int AltarRange = 24;
public SummoningAltarErmo Altar
{
get
{
if ( m_Altar == null || m_Altar.Deleted || m_Altar.Map != this.Map || !Utility.InRange( m_Altar.Location, this.Location, AltarRange ) )
{
foreach ( Item item in GetItemsInRange( AltarRange ) )
{
if ( item is SummoningAltarErmo )
{
m_Altar = (SummoningAltarErmo)item;
break;
}
}
}
return m_Altar;
}
}
*****************************************************/
public override void InitOutfit()
{
PlateArms arms = new PlateArms();
arms.LootType = LootType.Newbied;
arms.Hue = 1153;
AddItem( arms );
PlateGloves gloves = new PlateGloves();
gloves.LootType = LootType.Newbied;
gloves.Hue = 1153;
AddItem( gloves );
PlateLegs legs = new PlateLegs();
legs.LootType = LootType.Newbied;
legs.Hue = 1153;
AddItem( legs );
PlateGorget neck = new PlateGorget();
neck.LootType = LootType.Newbied;
neck.Hue = 1153;
AddItem( neck );
PlateChest chest = new PlateChest();
chest.LootType = LootType.Newbied;
chest.Hue = 1153;
AddItem( chest );
OrderShield shield = new OrderShield();
shield.LootType = LootType.Newbied;
shield.Hue = 1153;
AddItem( shield );
AddItem( new PonyTail( 1000 ) );
AddItem( new Goatee( 1000 ) );
}
示例3: Guardian
public Guardian() : base( AIType.AI_Archer, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
{
InitStats( 100, 125, 25 );
Title = "the guardian";
SpeechHue = 0;
Hue = Utility.RandomSkinHue();
if ( Female = Utility.RandomBool() )
{
Body = 0x191;
Name = NameList.RandomName( "female" );
}
else
{
Body = 0x190;
Name = NameList.RandomName( "male" );
}
new Orn().Rider = this;
PlateChest chest = new PlateChest();
chest.Hue = 0x966;
AddItem( chest );
PlateArms arms = new PlateArms();
arms.Hue = 0x966;
AddItem( arms );
PlateGloves gloves = new PlateGloves();
gloves.Hue = 0x966;
AddItem( gloves );
PlateGorget gorget = new PlateGorget();
gorget.Hue = 0x966;
AddItem( gorget );
PlateLegs legs = new PlateLegs();
legs.Hue = 0x966;
AddItem( legs );
PlateHelm helm = new PlateHelm();
helm.Hue = 0x966;
AddItem( helm );
Bow bow = new Bow();
bow.Movable = false;
bow.Crafter = this;
bow.Quality = WeaponQuality.Exceptional;
AddItem( bow );
PackItem( new Arrow( 250 ) );
PackGold( 250, 500 );
Skills[SkillName.Anatomy].Base = 120.0;
Skills[SkillName.Tactics].Base = 120.0;
Skills[SkillName.Archery].Base = 120.0;
Skills[SkillName.MagicResist].Base = 120.0;
Skills[SkillName.DetectHidden].Base = 100.0;
}
示例4: InitOutfit
public override void InitOutfit()
{
this.AddItem(new Backpack());
this.AddItem(new Halberd());
this.AddItem(new Cloak(0x4E6));
Item item;
item = new PlateLegs();
item.Hue = 0x8A6;
this.AddItem(item);
item = new PlateArms();
item.Hue = 0x8A6;
this.AddItem(item);
item = new PlateChest();
item.Hue = 0x8A6;
this.AddItem(item);
item = new PlateGloves();
item.Hue = 0x8A6;
this.AddItem(item);
item = new PlateHelm();
item.Hue = 0x8A6;
this.AddItem(item);
item = new PlateGorget();
item.Hue = 0x8A6;
this.AddItem(item);
}
示例5: Khalnga
public Khalnga()
: base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
{
Body = 0x190;
Title = "the Bone Lord";
SetStr(1254, 1381);
SetDex(93, 135);
SetInt(745, 810);
SetHits(3000, 4500);
SetDamage(30, 45);
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 = 50;
Fame = 10000;
Karma = -10000;
PlateHelm helm = new PlateHelm();
helm.Hue = 1157;
helm.Identified = true;
AddItem(Immovable(helm));
PlateArms arms = new PlateArms();
arms.Hue = 1157;
arms.Identified = true;
AddItem(Immovable(arms));
PlateLegs legs = new PlateLegs();
legs.Hue = 1157;
legs.Identified = true;
AddItem(Immovable(legs));
PlateGloves gloves = new PlateGloves();
gloves.Hue = 1157;
gloves.Identified = true;
AddItem(Immovable(gloves));
PlateChest chest = new PlateChest();
chest.Hue = 1157;
chest.Identified = true;
AddItem(Immovable(chest));
PlateGorget gorget = new PlateGorget();
gorget.Hue = 1157;
gorget.Identified = true;
AddItem(Immovable(gorget));
Spellbook spellbook = new Spellbook();
spellbook.Hue = 1157;
spellbook.Name = "red book of spells";
AddItem(Immovable(spellbook));
}
示例6: InitOutfit
public override void InitOutfit()
{
Item item = null;
item = AddRandomHair();
item.Hue = Utility.RandomHairHue();
item = AddRandomFacialHair( item.Hue );
item = new PlateChest();
AddItem( item );
item = new PlateLegs();
AddItem( item );
item = new PlateArms();
AddItem( item );
item = new PlateGloves();
AddItem( item );
switch ( Utility.Random( 6 ) )
{
case 0: item = new PlateHelm(); break;
case 1: item = new ChainCoif(); break;
case 2: item = new CloseHelm(); break;
case 3: item = new Bascinet(); break;
case 4: item = new NorseHelm(); break;
case 5: default: item = new Helmet(); break;
}
AddItem( item );
item = new Tunic();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = new PlateGorget();
AddItem( item );
item = new DoubleAxe();
AddItem( item );
PackGold( 15, 100 );
}
示例7: BaseShieldGuard
public BaseShieldGuard( Mobile target )
: base(target)
{
Item item = null;
Female = Utility.RandomBool();
Body = Female ? 401 : 400;
SpeechHue = Utility.RandomDyedHue();
Name = NameList.RandomName(Female ? "female" : "male");
Hue = Utility.RandomSkinHue();
Title = "the guard";
BaseSoundID = 332;
int hairHue = Utility.RandomHairHue();
Utility.AssignRandomHair(this, hairHue);
item = new Shirt();
AddItem(item);
item.Hue = Utility.RandomNondyedHue();
item = new PlateChest();
AddItem(item);
item = new PlateLegs();
AddItem(item);
item = new PlateArms();
AddItem(item);
item = new Tunic();
AddItem(item);
if ( Type == GuildType.Order )
item.Hue = Utility.RandomBlueHue();
else
item.Hue = Utility.RandomRedHue();
item = new VikingSword();
AddItem(item);
item = Shield;
item.Movable = false;
AddItem(item);
if (!Female)
{
Utility.AssignRandomFacialHair(this, hairHue);
item = new ShortPants();
AddItem(item);
item.Hue = Utility.RandomNondyedHue();
}
else
{
item = new Skirt();
AddItem(item);
item.Hue = Utility.RandomNondyedHue();
}
}
示例8: FamousPiratesMace
public FamousPiratesMace()
: base(AIType.AI_Melee, FightMode.Closest, 15, 1, 0.9, 0.9)
{
int Hue = 2075;
// Skills and Stats
this.InitStats(350, 350, 310);
this.Skills[SkillName.Macing].Base = 150;
this.Skills[SkillName.Anatomy].Base = 150;
this.Skills[SkillName.Healing].Base = 150;
this.Skills[SkillName.Tactics].Base = 150;
// Name
this.Name = "Captain Hector Barbossa";
// Equip
WarHammer war = new WarHammer();
war.Movable = true;
war.Crafter = this;
war.Quality = WeaponQuality.Exceptional;
AddItem(war);
Boots bts = new Boots();
bts.Movable = false;
bts.Hue = Hue;
AddItem(bts);
ChainChest cht = new ChainChest();
cht.Movable = false;
cht.LootType = LootType.Regular;
cht.Crafter = this;
cht.Quality = ArmorQuality.Exceptional;
AddItem(cht);
ChainLegs chl = new ChainLegs();
chl.Movable = false;
chl.LootType = LootType.Regular;
chl.Crafter = this;
chl.Quality = ArmorQuality.Exceptional;
AddItem(chl);
PlateArms pla = new PlateArms();
pla.Movable = false;
pla.LootType = LootType.Regular;
pla.Crafter = this;
pla.Quality = ArmorQuality.Exceptional;
AddItem(pla);
TricorneHat tch = new TricorneHat();
tch.Movable = false;
tch.Hue = Hue;
AddItem(tch);
Bandage band = new Bandage(20);
AddToBackpack(band);
}
示例9: LysanderGathenwale
public LysanderGathenwale()
: base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
{
Title = "the Cursed";
Hue = 0x8838;
Body = 0x190;
Name = "Lysander Gathenwale";
AddItem( new Boots( 0x599 ) );
AddItem( new Cloak( 0x96F ) );
Spellbook spellbook = new Spellbook();
RingmailGloves gloves = new RingmailGloves();
StuddedChest chest = new StuddedChest();
PlateArms arms = new PlateArms();
spellbook.Hue = 0x599;
gloves.Hue = 0x599;
chest.Hue = 0x96F;
arms.Hue = 0x599;
AddItem( spellbook );
AddItem( gloves );
AddItem( chest );
AddItem( arms );
SetStr( 111, 120 );
SetDex( 71, 80 );
SetInt( 121, 130 );
SetHits( 180, 207 );
SetMana( 227, 265 );
SetDamage( 5, 13 );
SetResistance( ResistanceType.Physical, 35, 45 );
SetResistance( ResistanceType.Fire, 25, 30 );
SetResistance( ResistanceType.Cold, 50, 60 );
SetResistance( ResistanceType.Poison, 25, 35 );
SetResistance( ResistanceType.Energy, 25, 35 );
SetSkill( SkillName.UnarmedFighting, 80.1, 90.0 );
SetSkill( SkillName.Tactics, 90.1, 100.0 );
SetSkill( SkillName.MagicResist, 80.1, 90.0 );
SetSkill( SkillName.Magery, 90.1, 100.0 );
SetSkill( SkillName.Invocation, 95.1, 100.0 );
SetSkill( SkillName.Meditation, 90.1, 100.0 );
Fame = 5000;
Karma = -10000;
Item reags = Loot.RandomReagent();
reags.Amount = 30;
PackItem( reags );
}
示例10: WeaponsCollector
public WeaponsCollector()
: base()
//----------------------------------------------------------------------------------------------------//
{
Body = 400;
Hue = Utility.RandomSkinHue();
if (Female = Utility.RandomBool())
{
Body = 401;
Name = NameList.RandomName("female");
}
else
{
Name = NameList.RandomName("male");
}
//----------------------------------------------------------------------------------------------------//
//Title = "[A Weapons Collector]";
//CantWalk = true;
Direction = Direction.South;
Hue = Utility.RandomSkinHue();
Utility.AssignRandomHair(this);
Blessed = true;
BodySash bs = new BodySash();
bs.Hue = 33;
AddItem(bs);
PlateArms pa = new PlateArms();
pa.Hue = 0;
AddItem(pa);
PlateChest pc = new PlateChest();
pc.Hue = 0;
AddItem(pc);
PlateGloves pg = new PlateGloves();
pg.Hue = 0;
AddItem(pg);
PlateLegs pl = new PlateLegs();
pl.Hue = 0;
AddItem(pl);
PlateGorget pt = new PlateGorget();
pt.Hue = 0;
AddItem(pt);
//----------------------------------------------------------------------------------------------------//
}
示例11: Rexxar
public Rexxar () : base( AIType.AI_Melee, FightMode.Closest )
{
Name = "Rexxar";
Title = "The murderer";
Body = 400;
BaseSoundID = 427;
Hue = 1175;
SetStr( 200, 400 );
SetDex( 100, 150 );
SetInt( 46, 70 );
SetHits( 9000 );
SetDamage( 20, 25 );
SetSkill( SkillName.MagicResist, 125.1, 140.0 );
SetSkill( SkillName.Tactics, 90.1, 100.0 );
SetSkill( SkillName.Wrestling, 90.1, 100.0 );
Fame = 150000;
Karma = -150000;
VirtualArmor = 50;
Bandana bandana = new Bandana();
bandana.Hue = 1175;
bandana.Movable = false;
AddItem( bandana );
ChainChest chest = new ChainChest();
chest.Hue = 1645;
chest.Movable = false;
AddItem( chest );
PlateArms arms = new PlateArms();
arms.Hue = 1645;
arms.Movable = false;
AddItem( arms );
PlateLegs legs = new PlateLegs();
legs.Hue = 1645;
legs.Movable = false;
AddItem( legs );
BodySash sash = new BodySash();
sash.Hue = 1175;
sash.Movable = false;
AddItem( sash );
DoubleAxe axe = new DoubleAxe();
axe.Hue = 1175;
axe.Movable = false;
AddItem( axe );
}
示例12: Sephiroth
public Sephiroth() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "Sephiroth";
Body = Utility.RandomList( 400 );
HairItemID = 12237;
HairHue = 1150;
Hue = 33770;
PlateChest chest = new PlateChest();
chest.Hue = 1150;
AddItem( chest );
PlateArms arms = new PlateArms();
arms.Hue = 1150;
AddItem( arms );
PlateGloves gloves = new PlateGloves();
gloves.Hue = 1150;
AddItem( gloves );
PlateGorget gorget = new PlateGorget();
gorget.Hue = 1150;
AddItem( gorget );
PlateLegs legs = new PlateLegs();
legs.Hue = 1150;
AddItem( legs );
Robe robe = new Robe();
robe.Hue = 1175;
robe.Name = "Sephiroth's Useless Robe";
robe.LootType = LootType.Blessed;
robe.Movable = true;
AddItem(robe);
AddItem( new NoDachi() );
SetStr( 521, 847 );
SetDex( 758 );
SetInt( 362 );
SetHits( 5000 );
SetDamage( 20, 30 );
SetDamageType( ResistanceType.Physical, 100 );
SetResistance( ResistanceType.Physical, 59 );
SetResistance( ResistanceType.Fire, 55 );
SetResistance( ResistanceType.Cold, 65 );
SetResistance( ResistanceType.Poison, 85 );
SetResistance( ResistanceType.Energy, 74 );
SetSkill( SkillName.Anatomy, 85.0 );
SetSkill( SkillName.MagicResist, 83.5, 92.5 );
SetSkill( SkillName.Swords, 85.0 );
SetSkill( SkillName.Tactics, 85.0 );
Fame = 50000;
Karma = -50000;
}
示例13: Meiko
public Meiko()
{
Name = "Meiko";
Title = "the Vampire Slayer";
Body = 0x190;
CantWalk = true;
Hue = 0x83F8;
Item weapon = new RepeatingCrossbow();
weapon.Movable = false;
weapon.Hue = 37;
AddItem( weapon );
Item arms = new PlateArms();
arms.Movable = false;
arms.Hue = 1150;
AddItem( arms );
Item gloves = new PlateGloves();
gloves.Movable = false;
gloves.Hue = 1150;
AddItem( gloves );
Item chest = new PlateChest();
chest.Movable = false;
chest.Hue = 1150;
AddItem( chest );
Item legs = new PlateLegs();
legs.Movable = false;
legs.Hue = 1150;
AddItem( legs );
Item gorget = new PlateGorget();
gorget.Movable = false;
gorget.Hue = 1150;
AddItem( gorget );
Item VampireRobe = new VampireRobe();
VampireRobe.Movable = false;
VampireRobe.Hue = 37;
AddItem( VampireRobe );
int hairHue = 1150;
switch ( Utility.Random( 1 ) )
{
case 0: AddItem( new ShortHair( hairHue ) ); break;
}
int VandykeHue = 1150;
switch ( Utility.Random( 1 ) )
{
case 0: AddItem( new Vandyke( VandykeHue ) ); break;
}
Blessed = true;
}
示例14: ArmyBaseMace
public ArmyBaseMace(int Team) : base(Team, AIType.AI_Melee, FightMode.Closest, 15, 1, 0.2, 0.6)
{
// An ArmyBase Hammerman
int iHue = 20 + Team * 40;
int jHue = 25 + Team * 40;
// Skills and Stats
this.InitStats((90 + Utility.Random(35)), (90 + Utility.Random(35)), (75 + Utility.Random(15)));
this.Skills[SkillName.Macing].Base = (90 + Utility.Random(30));
this.Skills[SkillName.Anatomy].Base = (90 + Utility.Random(30));
this.Skills[SkillName.Healing].Base = (90 + Utility.Random(30));
this.Skills[SkillName.Tactics].Base = (90 + Utility.Random(30));
// Name
this.Name = "Hammerman";
// Equip
WarHammer war = new WarHammer();
war.Movable = true;
war.Crafter = this;
war.Quality = WeaponQuality.Regular;
AddItem( war );
Boots bts = new Boots();
bts.Hue = iHue;
AddItem( bts );
ChainChest cht = new ChainChest();
cht.Movable = false;
cht.LootType = LootType.Newbied;
cht.Crafter = this;
cht.Quality = ArmorQuality.Regular;
AddItem( cht );
ChainLegs chl = new ChainLegs();
chl.Movable = false;
chl.LootType = LootType.Newbied;
chl.Crafter = this;
chl.Quality = ArmorQuality.Regular;
AddItem( chl );
PlateArms pla = new PlateArms();
pla.Movable = false;
pla.LootType = LootType.Newbied;
pla.Crafter = this;
pla.Quality = ArmorQuality.Regular;
AddItem( pla );
Bandage band = new Bandage( 50 );
AddToBackpack( band );
}
示例15: DummyMace
public DummyMace() : base( AIType.AI_SphereMelee, FightMode.Closest, 15, 1, 0.2, 0.6)
{
// A Dummy Macer
int iHue = 20 + Team * 40;
int jHue = 25 + Team * 40;
// Skills and Stats
InitStats( 125, 125, 90 );
Skills[SkillName.Macing].Base = 120;
Skills[SkillName.Anatomy].Base = 120;
Skills[SkillName.Healing].Base = 120;
Skills[SkillName.Tactics].Base = 120;
// Name
Name = "Macer";
// Equip
WarHammer war = new WarHammer();
war.Movable = true;
war.Crafter = this;
war.Quality = WeaponQuality.Regular;
AddItem( war );
Boots bts = new Boots();
bts.Hue = iHue;
AddItem( bts );
ChainChest cht = new ChainChest();
cht.Movable = false;
cht.LootType = LootType.Newbied;
cht.Crafter = this;
cht.Quality = ArmorQuality.Regular;
AddItem( cht );
ChainLegs chl = new ChainLegs();
chl.Movable = false;
chl.LootType = LootType.Newbied;
chl.Crafter = this;
chl.Quality = ArmorQuality.Regular;
AddItem( chl );
PlateArms pla = new PlateArms();
pla.Movable = false;
pla.LootType = LootType.Newbied;
pla.Crafter = this;
pla.Quality = ArmorQuality.Regular;
AddItem( pla );
Bandage band = new Bandage( 50 );
AddToBackpack( band );
}