本文整理汇总了C#中Server.Items.FancyShirt类的典型用法代码示例。如果您正苦于以下问题:C# FancyShirt类的具体用法?C# FancyShirt怎么用?C# FancyShirt使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
FancyShirt类属于Server.Items命名空间,在下文中一共展示了FancyShirt类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: UncleJohn
public UncleJohn()
{
Name = "Uncle John";
Title = "the farming fool";
Body = 0x190;
Hue = Utility.RandomSkinHue();
Boots b = new Boots();
b.Hue = 1;
AddItem( b );
LongPants lp = new LongPants();
lp.Hue = 292;
AddItem( lp );
FancyShirt fs = new FancyShirt();
fs.Hue = 1153;
AddItem( fs );
Pitchfork pf = new Pitchfork();
AddItem( pf );
AddItem( new LongHair(1337));
}
示例2: InitOutfit
public override void InitOutfit()
{
Item item = null;
if ( !Female )
{
item = AddRandomHair();
item.Hue = Utility.RandomHairHue();
item = AddRandomFacialHair( item.Hue );
item = new FancyShirt();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = new LongPants();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = Utility.RandomBool() ? (Item)new Shoes() : (Item)new Sandals();
item.Hue = Utility.RandomNeutralHue();
AddItem( item );
LootPack.Rich.Generate( this );
} else {
item = AddRandomHair();
item.Hue = Utility.RandomHairHue();
item = new FancyShirt();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = new Skirt();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = Utility.RandomBool() ? (Item)new Shoes() : (Item)new Sandals();
AddItem( item );
LootPack.Rich.Generate( this );
}
}
示例3: InitOutfit
public override void InitOutfit()
{
Item item = null;
if ( !Female )
{
item = AddRandomHair();
item.Hue = Utility.RandomHairHue();
item = AddRandomFacialHair( item.Hue );
item = new FancyShirt();
item.Hue = Utility.RandomOrangeHue();
AddItem( item );
item = new LongPants();
item.Hue = 2305;
AddItem( item );
item = new Shoes();
item.Hue = Utility.RandomNeutralHue();
AddItem( item );
PackGold( 15, 100 );
} else {
item = AddRandomHair();
item.Hue = Utility.RandomHairHue();
item = new FancyShirt();
item.Hue = Utility.RandomOrangeHue();
AddItem( item );
item = new Skirt();
item.Hue = 2305;
AddItem( item );
item = new Shoes();
item.Hue = Utility.RandomNeutralHue();
AddItem( item );
PackGold( 15, 100 );
}
}
示例4: RaresVendor
public RaresVendor() : base( "the custom provisioner" )
{
Item temp;
temp = new Shoes();
temp.Hue = 1953;
temp.Movable = false;
AddItem(temp);
temp = new LongPants();
temp.Hue = 01;
temp.Movable = false;
AddItem(temp);
temp = new Doublet();
temp.Hue = 1953;
temp.Movable = false;
AddItem(temp);
temp = new FancyShirt();
temp.Hue = 01;
temp.Movable = false;
AddItem(temp);
temp = new FloppyHat();
temp.Hue = 1953;
temp.Movable = false;
AddItem(temp);
temp = new Cloak();
temp.Hue = 1953;
temp.Movable = false;
AddItem(temp);
}
示例5: InitOutfit
public override void InitOutfit()
{
Item item = null;
int hairHue = Utility.RandomHairHue();
Utility.AssignRandomHair(this, hairHue);
item = new FancyShirt();
AddItem(item);
item.Hue = Utility.RandomNondyedHue();
item = new Shoes();
AddItem(item);
item.Hue = Utility.RandomNeutralHue();
PackGold(15, 100);
if (!Female)
{
Utility.AssignRandomFacialHair(this, hairHue);
item = new LongPants();
AddItem(item);
item.Hue = Utility.RandomNondyedHue();
}
else
{
item = new Skirt();
AddItem(item);
item.Hue = Utility.RandomNondyedHue();
}
}
示例6: VampireCount
public VampireCount() : base( AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "Vampire Count";
Body = 0x0190;
Hue = 0x497;
SetStr( 50 );
SetDex( 50 );
SetInt( 50 );
SetHits( 50 );
SetStam( 50 );
SetDamage( 10, 20 );
SetSkill( SkillName.Poisoning, 90.0, 100.0 );
SetSkill( SkillName.Tactics, 100.0 );
SetSkill( SkillName.MagicResist, 65.0, 88.0 );
SetSkill( SkillName.Parry, 75.0, 98.0 );
SetSkill( SkillName.Wrestling, 67.0, 90.0 );
SetSkill( SkillName.DetectHidden, 90.0, 100.0 );
SetSkill( SkillName.Swords, 150.0 );
SetSkill(SkillName.EvalInt, 95.0, 100.0);
Fame = 0;
VirtualArmor = 10;
//Here we add his loot.
//PackGold(1000, 1500);
//PackItem(new VampireHeart());
//PackItem(new VampireBone(10));
HairItemID = 8252;
HairHue = Utility.RandomHairHue();
PlateGloves glo = new PlateGloves();
glo.Hue = 0x1;
PackItem( glo );
Item temp = new Doublet( 0x1 );
temp.Movable = false;
AddItem( temp );
temp = new ThighBoots( 0x1 );
temp.Movable = false;
AddItem( temp );
temp = new FancyShirt( 0x0496 );
temp.Movable = false;
AddItem( temp );
temp = new ShortPants( 0x1 );
temp.Movable = false;
AddItem( temp );
temp = null;
Spellbook book = new Spellbook();
book.Content = ulong.MaxValue;
book.LootType = LootType.Regular;
AddItem(book);
}
示例7: BlackOrderGrandMage
public BlackOrderGrandMage()
: base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
{
Name = "Black Order Grand Mage";
Title = "of the Dragons's Flame Sect";
Race = Utility.RandomBool() ? Race.Human : Race.Elf;
Body = Race == Race.Elf ? 605 : 400;
Hue = Utility.RandomSkinHue();
Utility.AssignRandomHair( this );
if ( Utility.RandomBool() )
Utility.AssignRandomFacialHair( this, HairHue );
SetStr( 325, 375 );
SetDex( 290, 310 );
SetInt( 485, 505 );
SetHits( 1900, 2100 );
SetDamage( 16, 30 );
SetDamageType( ResistanceType.Physical, 100 );
SetResistance( ResistanceType.Physical, 45, 70 );
SetResistance( ResistanceType.Fire, 55, 75 );
SetResistance( ResistanceType.Cold, 35, 55 );
SetResistance( ResistanceType.Poison, 50, 70 );
SetResistance( ResistanceType.Energy, 50, 75 );
Fame = 15000;
Karma = -15000;
SetSkill( SkillName.MagicResist, 120.0, 130.0 );
SetSkill( SkillName.Tactics, 115.0, 130.0 );
SetSkill( SkillName.Wrestling, 95.0, 120.0 );
SetSkill( SkillName.Anatomy, 105.0, 120.0 );
SetSkill( SkillName.Magery, 120.0, 130.0 );
SetSkill( SkillName.EvalInt, 120.0, 130.0 );
/* Equip */
Item item = null;
AddItem( new Waraji() );
item = new FancyShirt();
item.Hue = 1309;
AddItem( item );
item = new Kasa();
item.Hue = 1309;
AddItem( item );
item = new Hakama();
item.Hue = 1309;
AddItem( item );
}
示例8: Mayor
public Mayor()
: base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
{
Female = Utility.RandomBool();
Body = Female ? 401 : 400;
Title = "the mayor";
Name = NameList.RandomName( Female ? "female" : "male" );
Hue = Utility.RandomSkinHue();
SetStr( 36, 50 );
SetDex( 36, 50 );
SetInt( 51, 65 );
Karma = Utility.RandomMinMax( 53, -5 );
SetSkill( SkillName.Tactics, 25, 47.5 );
SetSkill( SkillName.MagicResist, 25, 47.5 );
SetSkill( SkillName.Parry, 25, 47.5 );
SetSkill( SkillName.Swords, 15, 37.5 );
SetSkill( SkillName.Macing, 15, 37.5 );
SetSkill( SkillName.Fencing, 15, 37.5 );
SetSkill( SkillName.Wrestling, 15, 37.5 );
Item item = null;
if ( !Female )
{
item = AddRandomHair();
item.Hue = Utility.RandomHairHue();
item = AddRandomFacialHair( item.Hue );
item = new FancyShirt();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = new LongPants();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
AddItem( item );
item = new BodySash();
item.Hue = Utility.RandomRedHue();
AddItem( item );
LootPack.Rich.Generate( this );
} else {
item = AddRandomHair();
item.Hue = Utility.RandomHairHue();
item = new FancyShirt();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = new Skirt();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
AddItem( item );
item = new BodySash();
item.Hue = Utility.RandomRedHue();
AddItem( item );
LootPack.Rich.Generate( this );
}
}
示例9: father
public father():base(AIType.AI_Melee, FightMode.None, 20, 1, 1.5, 3.0)
{
Name = "Gary";
Body = 400;
SpeechHue = 9;
CantWalk = true;
Hue = 46;
Blessed = true;
SetStr( 1025, 1250 );
SetDex( 120, 125 );
SetInt( 1800, 1935 );
SetHits( 5000, 5550 );
SetSkill( SkillName.MagicResist, 205.0, 220.0 );
SetSkill( SkillName.Focus, 216.0, 230.0);
SetSkill( SkillName.Magery, 219.0, 225.0 );
SetSkill( SkillName.Meditation, 212.0, 215.0 );
VirtualArmor = 44;
Container pack = new Backpack();
pack.Movable = false;
AddItem( pack );
Item Boots = new Boots();
Boots.Hue = 351;
Boots.Name = "Work Boots";
Boots.Movable = false;
AddItem( Boots );
Item LongPants = new LongPants();
LongPants.Hue = 1282;
LongPants.Name = "Wrangler Jeans";
LongPants.Movable = false;
AddItem( LongPants );
Item FancyShirt = new FancyShirt();
FancyShirt.Hue = 1321;
FancyShirt.Name = "Flannel Button-Up Shirt";
FancyShirt.Movable = false;
AddItem( FancyShirt );
Item hair = new Item( 0x203B );
hair.Hue = 1836;
hair.Layer = Layer.Hair;
hair.Movable = false;
AddItem( hair );
Item ring = new GoldRing();
ring.Name = "Wedding Ring";
ring.Movable = false;
AddItem( ring );
}
示例10: Finlor
public Finlor()
{
Name = "Finlor";
Title = "the Sea Captain";
Body = 0x190;
Hue = Utility.RandomSkinHue();
Blessed = true;
CantWalk = true;
Direction = Direction.South;
ThighBoots tb = new ThighBoots();
tb.Hue = 0;
AddItem( tb );
LongPants lp = new LongPants();
lp.Hue = 6;
AddItem( lp );
FancyShirt fs = new FancyShirt();
fs.Hue = 0;
AddItem( fs );
TricorneHat th = new TricorneHat();
th.Hue = 52;
AddItem( th );
BodySash bs = new BodySash();
bs.Hue = 6;
AddItem( bs );
Cloak cl = new Cloak();
cl.Hue = 38;
AddItem( cl );
Scimitar sc = new Scimitar();
AddItem( sc );
GoldBeadNecklace gn = new GoldBeadNecklace();
AddItem( gn );
GoldBracelet gb = new GoldBracelet();
AddItem( gb );
GoldEarrings ge = new GoldEarrings();
AddItem( ge );
GoldRing gr = new GoldRing();
AddItem( gr );
AddItem( new PonyTail(1149));
AddItem( new Vandyke(1149));
}
示例11: Prisoner
public Prisoner()
: base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
{
Female = Utility.RandomBool();
Body = Female ? 401 : 400;
Title = "the peasant";
Name = NameList.RandomName( Female ? "female" : "male" );
Hue = Utility.RandomSkinHue();
SetStr( 11, 25 );
SetDex( 11, 25 );
SetInt( 31, 45 );
Karma = Utility.RandomMinMax( 13, -45 );
SetSkill( SkillName.Tactics, 15, 37.5 );
SetSkill( SkillName.MagicResist, 15, 37.5 );
SetSkill( SkillName.Parry, 15, 37.5 );
SetSkill( SkillName.Swords, 15, 37.5 );
SetSkill( SkillName.Macing, 15, 37.5 );
SetSkill( SkillName.Fencing, 15, 37.5 );
SetSkill( SkillName.Wrestling, 15, 37.5 );
Item item = null;
if ( !Female )
{
item = AddRandomHair();
item.Hue = Utility.RandomHairHue();
item = AddRandomFacialHair( item.Hue );
item = new FancyShirt();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = new LongPants();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = new Shoes();
item.Hue = Utility.RandomNeutralHue();
AddItem( item );
LootPack.Poor.Generate( this );
} else {
item = AddRandomHair();
item.Hue = Utility.RandomHairHue();
item = new FancyShirt();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = new Skirt();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = new Shoes();
item.Hue = Utility.RandomNeutralHue();
AddItem( item );
LootPack.Poor.Generate( this );
}
}
示例12: LordSanta
public LordSanta()
{
Name = "Lord Santa";
Title = "the Ruler of the green dudes";
Body = 0x190;
CantWalk = true;
Hue = Utility.RandomSkinHue();
Item Boots = new Boots();
Boots.Hue = 33;
Boots.Name = "Santa Boots";
Boots.Movable = false;
AddItem( Boots );
Item Doublet = new Doublet();
Doublet.Hue = 33;
Doublet.Name = "Santa's Doublet";
Doublet.Movable = false;
AddItem( Doublet );
Item FancyShirt = new FancyShirt();
FancyShirt.Hue = 33;
FancyShirt.Name = "Santa's Shirt";
FancyShirt.Movable = false;
AddItem( FancyShirt );
Item LongPants = new LongPants();
LongPants.Hue = 33;
LongPants.Name = "Santa's Pants";
LongPants.Movable = false;
AddItem( LongPants );
Item WizardsHat = new WizardsHat();
WizardsHat.Hue = 33;
WizardsHat.Name = "Santa's Hat";
WizardsHat.Movable = false;
AddItem( WizardsHat );
int hairHue = 1153;
switch ( Utility.Random( 1 ) )
{
case 0: AddItem( new LongHair( hairHue ) ); break;
case 1: AddItem( new LongBeard( hairHue ) ); break;
}
Blessed = true;
}
示例13: VelaTheSorceress
public VelaTheSorceress()
: base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2)
{
Name = "Vela";
Title = "the sorceress";
SetStr(110);
SetDex(100);
SetInt(1000);
Hue = Utility.RandomSkinHue();
Body = 0x191;
HairItemID = 0x203C;
HairHue = 0x46D;
Item item = new FancyShirt();
item.Hue = 1150;
AddItem(item);
item = new LongPants();
item.Hue = 108;
AddItem(item);
item = new Shoes();
item.Hue = 108;
AddItem(item);
item = new BraceletOfProtection();
item.Movable = false;
PackItem(item);
item = new Hephaestus();
item.Movable = false;
PackItem(item);
item = new GargishHephaestus();
item.Movable = false;
PackItem(item);
item = new BlightOfTheTundra();
item.Movable = false;
PackItem(item);
item = new GargishBlightOfTheTundra();
item.Movable = false;
PackItem(item);
}
示例14: Barthus
public Barthus()
{
Name = "Barthus";
Title = "the Shipmate";
Body = 0x190;
Hue = Utility.RandomSkinHue();
Blessed = true;
CantWalk = true;
Direction = Direction.South;
Boots bt = new Boots();
bt.Hue = 0;
AddItem( bt );
LongPants lp = new LongPants();
lp.Hue = 0;
AddItem( lp );
FancyShirt fs = new FancyShirt();
fs.Hue = 0;
AddItem( fs );
TricorneHat th = new TricorneHat();
th.Hue = 0;
AddItem( th );
Scimitar sc = new Scimitar();
AddItem( sc );
GoldBeadNecklace gn = new GoldBeadNecklace();
AddItem( gn );
GoldBracelet gb = new GoldBracelet();
AddItem( gb );
GoldEarrings ge = new GoldEarrings();
AddItem( ge );
GoldRing gr = new GoldRing();
AddItem( gr );
AddItem( new PonyTail(1149));
AddItem( new Vandyke(1149));
}
示例15: InitOutfit
public override void InitOutfit()
{
Item item = null;
if ( !Female )
{
item = AddRandomHair();
item.Hue = Utility.RandomHairHue();
item = AddRandomFacialHair( item.Hue );
item = new FancyShirt();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = new LongPants();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = new Cloak();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = new BodySash();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
AddItem( item );
item = new Longsword();
AddItem( item );
PackGold( 100, 150 );
}
else
{
item = AddRandomHair();
item.Hue = Utility.RandomHairHue();
item = new FancyDress();
item.Hue = Utility.RandomNeutralHue();
AddItem( item );
item = new Cloak();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = new BodySash();
item.Hue = Utility.RandomNondyedHue();
AddItem( item );
item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
AddItem( item );
item = new Longsword();
AddItem( item );
PackGold( 100, 150 );
}
}