本文整理汇总了C#中Server.Items.LeatherChest类的典型用法代码示例。如果您正苦于以下问题:C# LeatherChest类的具体用法?C# LeatherChest怎么用?C# LeatherChest使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LeatherChest类属于Server.Items命名空间,在下文中一共展示了LeatherChest类的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: WolfMaster
public WolfMaster()
: base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
{
SpeechHue = Utility.RandomDyedHue();
Title = "the wolf master";
Hue = Utility.RandomSkinHue();
if ( this.Female = Utility.RandomBool() )
{
Body = 0x191;
Name = NameList.RandomName( "female" );
AddItem( new Skirt( Utility.RandomNeutralHue() ) );
}
else
{
Body = 0x190;
Name = NameList.RandomName( "male" );
AddItem( new Skirt( Utility.RandomNeutralHue() ) );
}
SetStr( 86, 100 );
SetDex( 31, 45 );
SetInt( 61, 75 );
SetDamage( 6, 11 );
SetHits( 171, 190 );
SetSkill( SkillName.MagicResist, 35.0, 47.5 );
SetSkill( SkillName.Macing, 75.0, 87.5 );
SetSkill( SkillName.Tactics, 45.0, 57.5 );
Fame = 3000;
Karma = -3000;
// Equip
Item toArm = new LeatherChest();
toArm.LootType = LootType.Blessed;
AddItem( toArm );
toArm = new LeatherLegs();
toArm.LootType = LootType.Blessed;
AddItem( toArm );
toArm = new StrawHat();
toArm.LootType = LootType.Blessed;
AddItem( toArm );
toArm = new GnarledStaff();
toArm.Movable = false;
toArm.LootType = LootType.Blessed;
AddItem( toArm );
Utility.AssignRandomHair( this );
if( Utility.RandomDouble() < 0.06 )
PackItem( new BallOfSummoning() );
}
示例3: TheCursedButcher
public TheCursedButcher()
: base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
{
Title = "the Cursed Butcher";
Body = 0x190;
Name = "Zack";
Hue = 2130;
InitStats(700, 151, 100);
SetHits(500);
SetResistance(ResistanceType.Physical, 40, 60);
SetResistance(ResistanceType.Fire, 20, 30);
SetResistance(ResistanceType.Cold, 50, 60);
SetResistance(ResistanceType.Poison, 55, 65);
SetResistance(ResistanceType.Energy, 40, 50);
SetSkill(SkillName.Wrestling, 120.0);
SetSkill(SkillName.Swords, 120.0);
SetSkill(SkillName.Anatomy, 120.0);
SetSkill(SkillName.MagicResist, 120.0);
SetSkill(SkillName.Tactics, 120.0);
SetSkill(SkillName.Healing, 90.0);
Fame = NotorietyHandlers.GetNotorietyByLevel( 3 );
Karma = NotorietyHandlers.GetNotorietyByLevel( -3 );
VirtualArmor = 70;
Item wep = CursedCaveUtility.MutateItem(new ButcherKnife(), 10);
AddItem(wep);
AddItem( new Shoes() );
CraftResource ArmorCraftResource = GetRandomCraftResource();
LeatherArms arms = new LeatherArms();
arms.Resource = ArmorCraftResource;
AddItem(CursedCaveUtility.MutateItem(arms, 10));
LeatherChest tunic = new LeatherChest();
tunic.Resource = ArmorCraftResource;
AddItem(CursedCaveUtility.MutateItem(tunic, 10));
LeatherLegs legs = new LeatherLegs();
legs.Resource = ArmorCraftResource;
AddItem(CursedCaveUtility.MutateItem(legs, 10));
AddItem(CursedCaveUtility.MutateItem(new DeerMask(), 10));
HairItemID = 0x203B;
HairHue = 0x3C0;
}
示例4: 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;
}
示例5: BarbarianChieftain
public BarbarianChieftain() : base( AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
int hairHue = Utility.RandomHairHue();
Name = "Barbarian Chieftain";
Hue = Utility.RandomSkinHue();
Body = 0x190;
AddItem( new LongHair( hairHue ) );
AddItem( new LongBeard( hairHue ) );
SetStr( 200, 250 );
SetDex( 88, 98 );
SetInt( 20, 30 );
SetHits( 150, 200 );
SetStam( 81, 95 );
SetDamage( 25, 28 );
SetDamageType( ResistanceType.Physical, 100 );
SetSkill( SkillName.Swords, 100.0 );
SetSkill( SkillName.MagicResist, 20.0, 35.0 );
SetSkill( SkillName.Tactics, 90.0, 100.0 );
SetSkill( SkillName.Wrestling, 90.0, 100.0 );
SetSkill( SkillName.Parry, 85.0, 100.0 );
Fame = Utility.RandomMinMax( 4000, 5500 );
Karma = Utility.RandomMinMax( -4500, -6500 );
VirtualArmor = 20;
Item temp;
temp = new ThighBoots();
temp.Hue = 0x01bb;
temp.Movable = false;
AddItem( temp );
temp = new LeatherChest();
temp.Movable = false;
AddItem( temp );
temp = new Kilt();
temp.Hue = 0x01bb;
temp.Movable = false;
AddItem( temp );
LargeBattleAxe a = new LargeBattleAxe();
a.DamageLevel = WeaponDamageLevel.Ruin;
AddItem( a );
}
示例6: Andric
public Andric()
: base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2)
{
Name = "Andric";
Title = "o treinador de arqueirismo";
Race = Race.Human;
BodyValue = 0x190;
Female = false;
Hue = Race.RandomSkinHue();
InitStats( 100, 100, 25 );
Utility.AssignRandomHair( this, true );
SetSkill( SkillName.Archery, 60.0, 80.0 );
AddItem( new Backpack() );
Item item;
item = new LeatherChest();
item.Hue = 0x1BB;
AddItem( item );
item = new LeatherLegs();
item.Hue = 0x6AD;
AddItem( item );
item = new LeatherArms();
item.Hue = 0x6AD;
AddItem( item );
item = new LeatherGloves();
item.Hue = 0x1BB;
AddItem( item );
AddItem( new Boots( 0x1BB ) );
AddItem( new CompositeBow() );
}
示例7: HoneycombProcessingKettleQuestNPC
public HoneycombProcessingKettleQuestNPC()
{
Name = "Old Man";
Body = 400;
Hue = Utility.RandomSkinHue();
LeatherArms LeatherArms = new LeatherArms();
LeatherArms.Hue = 2418;
AddItem( LeatherArms );
LeatherGloves LeatherGloves = new LeatherGloves();
LeatherGloves.Hue = 2418;
AddItem( LeatherGloves );
LeatherLegs LeatherLegs = new LeatherLegs();
LeatherLegs.Hue = 2418;
AddItem( LeatherLegs );
LeatherChest LeatherChest = new LeatherChest();
LeatherChest.Hue = 2418;
AddItem( LeatherChest );
LeatherGorget LeatherGorget = new LeatherGorget();
LeatherGorget.Hue = 2418;
AddItem( LeatherGorget );
int hairHue = 2406;
switch ( Utility.Random( 1 ) )
{
case 0: AddItem( new PonyTail( hairHue ) ); break;
case 1: AddItem( new Goatee( hairHue ) ); break;
}
Blessed = true;
}
示例8: DummyHealer
public DummyHealer()
: base(AIType.AI_Healer, FightMode.Closest, 15, 1, 0.2, 0.6)
{
// A Dummy Healer Mage
int iHue = 20 + this.Team * 40;
int jHue = 25 + this.Team * 40;
// Skills and Stats
this.InitStats(125, 125, 125);
this.Skills[SkillName.Magery].Base = 120;
this.Skills[SkillName.EvalInt].Base = 120;
this.Skills[SkillName.Anatomy].Base = 120;
this.Skills[SkillName.Wrestling].Base = 120;
this.Skills[SkillName.Meditation].Base = 120;
this.Skills[SkillName.Healing].Base = 100;
// Name
this.Name = "Healer";
// Equip
Spellbook book = new Spellbook();
book.Movable = false;
book.LootType = LootType.Newbied;
book.Content = 0xFFFFFFFFFFFFFFFF;
this.AddItem(book);
LeatherArms lea = new LeatherArms();
lea.Movable = false;
lea.LootType = LootType.Newbied;
lea.Crafter = this;
lea.Quality = ArmorQuality.Regular;
this.AddItem(lea);
LeatherChest lec = new LeatherChest();
lec.Movable = false;
lec.LootType = LootType.Newbied;
lec.Crafter = this;
lec.Quality = ArmorQuality.Regular;
this.AddItem(lec);
LeatherGorget leg = new LeatherGorget();
leg.Movable = false;
leg.LootType = LootType.Newbied;
leg.Crafter = this;
leg.Quality = ArmorQuality.Regular;
this.AddItem(leg);
LeatherLegs lel = new LeatherLegs();
lel.Movable = false;
lel.LootType = LootType.Newbied;
lel.Crafter = this;
lel.Quality = ArmorQuality.Regular;
this.AddItem(lel);
Sandals snd = new Sandals();
snd.Hue = iHue;
snd.LootType = LootType.Newbied;
this.AddItem(snd);
Cap cap = new Cap();
cap.Hue = iHue;
this.AddItem(cap);
Robe robe = new Robe();
robe.Hue = iHue;
this.AddItem(robe);
}
示例9: InsulariiHealer
public InsulariiHealer()
: base(Nation.Alyrian)
{
int chance = Utility.RandomMinMax( 1, 6 );
Nation nation = Nation.Alyrian;
switch( chance )
{
case 1: nation = Nation.Alyrian; break;
case 2: nation = Nation.Azhuran; break;
case 3: nation = Nation.Khemetar; break;
case 4: nation = Nation.Mhordul; break;
case 5: nation = Nation.Tyrean; break;
case 6: nation = Nation.Vhalurian; break;
}
Hue = BaseKhaerosMobile.AssignRacialHue( nation );
HairItemID = BaseKhaerosMobile.AssignRacialHair( nation, this.Female );
int hairhue = BaseKhaerosMobile.AssignRacialHairHue( nation );
HairHue = hairhue;
if( !this.Female )
{
FacialHairItemID = BaseKhaerosMobile.AssignRacialFacialHair( nation );
FacialHairHue = hairhue;
}
if( this.Backpack == null )
AddItem( new Backpack() );
SetStr( 150 );
SetDex( 75 );
SetInt( 75 );
SetDamage( 10, 15 );
SetHits( 400 );
SetMana( 300 );
SetDamageType( ResistanceType.Blunt, 100 );
SetResistance( ResistanceType.Blunt, 10 );
SetResistance( ResistanceType.Piercing, 10 );
SetResistance( ResistanceType.Slashing, 10 );
SetSkill( SkillName.Anatomy, 100.0 );
SetSkill( SkillName.Archery, 100.0 );
SetSkill( SkillName.Fencing, 100.0 );
SetSkill( SkillName.Macing, 100.0 );
SetSkill( SkillName.Swords, 100.0 );
SetSkill( SkillName.Tactics, 100.0 );
SetSkill( SkillName.Polearms, 100.0 );
SetSkill( SkillName.ExoticWeaponry, 100.0 );
SetSkill( SkillName.Axemanship, 100.0 );
SetSkill( SkillName.UnarmedFighting, 100.0 );
this.Fame = 14000;
this.VirtualArmor = 0;
FightMode = FightMode.Closest;
Title = "the Insularii Healer";
Name = BaseKhaerosMobile.GiveInsulariiName( this.Female );
LeatherChest chest = new LeatherChest();
chest.Resource = CraftResource.BeastLeather;
chest.Hue = 2591;
LeatherArms arms = new LeatherArms();
arms.Resource = CraftResource.BeastLeather;
arms.Hue = 2591;
LeatherLegs legs = new LeatherLegs();
legs.Resource = CraftResource.BeastLeather;
legs.Hue = 2591;
LeatherGorget gorget = new LeatherGorget();
gorget.Resource = CraftResource.BeastLeather;
gorget.Hue = 2591;
LeatherGloves gloves = new LeatherGloves();
gloves.Resource = CraftResource.BeastLeather;
gloves.Hue = 2591;
BlackLeatherBoots boots = new BlackLeatherBoots();
boots.Hue = 2591;
GnarledStaff staff = new GnarledStaff();
staff.Resource = CraftResource.Redwood;
EquipItem( chest );
EquipItem( arms );
EquipItem( legs );
EquipItem( gorget );
EquipItem( gloves );
EquipItem( boots );
EquipItem( staff );
Surcoat surcoat = new Surcoat();
//.........这里部分代码省略.........
示例10: NewbLRCArmor
public static BaseArmor NewbLRCArmor()
{
BaseArmor armor = null;
switch( Utility.Random( 6 ) )
{
case 0: armor = new LeatherChest(); break;
case 1: armor = new LeatherLegs(); break;
case 2: armor = new LeatherArms(); break;
case 3: armor = new LeatherGloves(); break;
case 4: armor = new LeatherGorget(); break;
case 5: armor = new LeatherCap(); break;
}
BaseRunicTool.ApplyAttributesTo(armor, Utility.Random( 3 ), 40, 80);
armor.Attributes.LowerRegCost = 12 + Utility.Random( 5 ) + Utility.Random( 5 );
armor.Hue = 2207;
return armor;
}
示例11: SocietyGuard
//.........这里部分代码省略.........
EquipItem( chest );
EquipItem( arms );
EquipItem( legs );
EquipItem( gorget );
EquipItem( gloves );
EquipItem( shield );
EquipItem( helm );
EquipItem( new Longsword() );
break;
}
case 2:
{
StuddedChest chest = new StuddedChest();
chest.Resource = CraftResource.BeastLeather;
chest.Hue = 2830;
StuddedArms arms = new StuddedArms();
arms.Resource = CraftResource.BeastLeather;
arms.Hue = 2830;
StuddedLegs legs = new StuddedLegs();
legs.Resource = CraftResource.BeastLeather;
legs.Hue = 2830;
StuddedGorget gorget = new StuddedGorget();
gorget.Resource = CraftResource.BeastLeather;
gorget.Hue = 2830;
StuddedGloves gloves = new StuddedGloves();
gloves.Resource = CraftResource.BeastLeather;
gloves.Hue = 2830;
VhalurianMetalKiteShield shield = new VhalurianMetalKiteShield();
shield.Resource = CraftResource.Bronze;
shield.Name = "Society of Rymaliel Kite Shield";
shield.Hue = 2413;
shield.ItemID = 15726;
ThighBoots boots = new ThighBoots();
boots.Resource = CraftResource.BeastLeather;
boots.Hue = 2989;
EquipItem( chest );
EquipItem( arms );
EquipItem( legs );
EquipItem( gorget );
EquipItem( gloves );
EquipItem( shield );
EquipItem( boots );
EquipItem( new FlangedMace() );
break;
}
case 3:
{
LeatherChest chest = new LeatherChest();
chest.Resource = CraftResource.BeastLeather;
chest.Hue = 2830;
LeatherArms arms = new LeatherArms();
arms.Resource = CraftResource.BeastLeather;
arms.Hue = 2830;
LeatherLegs legs = new LeatherLegs();
legs.Resource = CraftResource.BeastLeather;
legs.Hue = 2830;
LeatherGorget gorget = new LeatherGorget();
gorget.Resource = CraftResource.BeastLeather;
gorget.Hue = 2830;
LeatherGloves gloves = new LeatherGloves();
gloves.Resource = CraftResource.BeastLeather;
gloves.Hue = 2830;
ThighBoots boots = new ThighBoots();
boots.Resource = CraftResource.BeastLeather;
boots.Hue = 2830;
EquipItem( chest );
EquipItem( arms );
EquipItem( legs );
EquipItem( gorget );
EquipItem( gloves );
EquipItem( boots );
EquipItem( new CompositeShortbow() );
AI = AIType.AI_Archer;
PackItem( new Arrow( Utility.RandomMinMax( 10, 20 ) ) );
break;
}
}
Surcoat surcoat = new Surcoat();
surcoat.Name = "Society of Rymaliel Surcoat";
surcoat.ItemID = 15483;
EquipItem( surcoat );
}
示例12: EquipVhalurian
//.........这里部分代码省略.........
PlateSabatons ps = new PlateSabatons();
ps.Resource = CraftResource.Bronze;
ps.Hue = 2105;
m.EquipItem(ps);
VhalurianOrnatePlateArms vopa = new VhalurianOrnatePlateArms();
vopa.Resource = CraftResource.Bronze;
vopa.Hue = 2101;
m.EquipItem(vopa);
VhalurianOrnatePlateGloves vopg = new VhalurianOrnatePlateGloves();
vopg.Resource = CraftResource.Bronze;
vopg.Hue = 2101;
m.EquipItem(vopg);
VhalurianOrnateKiteShield voks = new VhalurianOrnateKiteShield();
voks.Resource = CraftResource.Bronze;
voks.Hue = 2102;
m.EquipItem(voks);
m.EquipItem(new Cloak(1133));
if (m.Female)
{
VhalurianWarHammer hammer = new VhalurianWarHammer();
hammer.Resource = CraftResource.Bronze;
m.EquipItem(hammer);
VhalurianOrnateHelm voh = new VhalurianOrnateHelm();
voh.Resource = CraftResource.Bronze;
voh.Hue = 2102;
m.EquipItem(voh);
}
else
{
VhalurianBastardSword sword = new VhalurianBastardSword();
sword.Resource = CraftResource.Bronze;
m.EquipItem(sword);
VhalurianOrnatePlateHelm voph = new VhalurianOrnatePlateHelm();
voph.Resource = CraftResource.Bronze;
voph.Hue = 2102;
m.EquipItem(voph);
}
break;
}
case Armament.Ranged:
{
LeatherBoots boots = new LeatherBoots();
boots.Resource = CraftResource.BeastLeather;
boots.Hue = 2101;
m.EquipItem(boots);
LeatherCap cap = new LeatherCap();
cap.Resource = CraftResource.RegularLeather;
cap.Hue = 2101;
m.EquipItem(cap);
LeatherChest lc = new LeatherChest();
lc.Resource = CraftResource.RegularLeather;
lc.Hue = 2101;
m.EquipItem(lc);
Quiver qv = new Quiver();
qv.Layer = Layer.Earrings;
m.EquipItem(qv);
LongPants lp = new LongPants();
lp.Resource = CraftResource.Cotton;
lp.Hue = 2101;
m.EquipItem(lp);
LeatherArms la = new LeatherArms();
la.Resource = CraftResource.RegularLeather;
la.Hue = 2101;
m.EquipItem(la);
LeatherGloves lg = new LeatherGloves();
lg.Resource = CraftResource.RegularLeather;
lg.Hue = 2101;
m.EquipItem(lg);
VhalurianLongbow bow = new VhalurianLongbow();
bow.Resource = CraftResource.Yew;
m.EquipItem(bow);
if (m is BaseCreature)
{
BaseCreature bc = m as BaseCreature;
bc.AI = AIType.AI_Archer;
bc.PackItem(new Arrow(Utility.RandomMinMax(10, 20)));
}
break;
}
}
}
示例13: EquipSociety
public static void EquipSociety(Armament a, Mobile m)
{
if (a == Armament.LightCavalry)
a = (Armament)1;
else if (a == Armament.HeavyCavalry)
a = (Armament)3;
switch (a)
{
case Armament.Light:
{
LeatherChest chest = new LeatherChest();
chest.Resource = CraftResource.BeastLeather;
chest.Hue = 2830;
LeatherArms arms = new LeatherArms();
arms.Resource = CraftResource.BeastLeather;
arms.Hue = 2830;
LeatherLegs legs = new LeatherLegs();
legs.Resource = CraftResource.BeastLeather;
legs.Hue = 2830;
LeatherGorget gorget = new LeatherGorget();
gorget.Resource = CraftResource.BeastLeather;
gorget.Hue = 2830;
LeatherGloves gloves = new LeatherGloves();
gloves.Resource = CraftResource.BeastLeather;
gloves.Hue = 2830;
ThighBoots boots = new ThighBoots();
boots.Resource = CraftResource.BeastLeather;
boots.Hue = 2830;
m.EquipItem(chest);
m.EquipItem(arms);
m.EquipItem(legs);
m.EquipItem(gorget);
m.EquipItem(gloves);
m.EquipItem(boots);
Shortsword ss = new Shortsword();
ss.Resource = CraftResource.Bronze;
m.EquipItem(ss);
VhalurianMetalKiteShield shield = new VhalurianMetalKiteShield();
shield.Resource = CraftResource.Bronze;
shield.Name = "Society of Rymaliel Kite Shield";
shield.Hue = 2413;
shield.ItemID = 15726;
m.EquipItem(shield);
break;
}
case Armament.Medium:
{
ChainChest chest = new ChainChest();
chest.Resource = CraftResource.Bronze;
chest.Hue = 2830;
ChainArms arms = new ChainArms();
arms.Resource = CraftResource.Bronze;
arms.Hue = 2830;
ChainLegs legs = new ChainLegs();
legs.Resource = CraftResource.Bronze;
legs.Hue = 2830;
ChainGorget gorget = new ChainGorget();
gorget.Resource = CraftResource.Bronze;
gorget.Hue = 2830;
ChainGloves gloves = new ChainGloves();
gloves.Resource = CraftResource.Bronze;
gloves.Hue = 2830;
VhalurianMetalKiteShield shield = new VhalurianMetalKiteShield();
shield.Resource = CraftResource.Bronze;
shield.Name = "Society of Rymaliel Kite Shield";
shield.Hue = 2413;
shield.ItemID = 15726;
m.EquipItem(shield);
FlangedMace fm = new FlangedMace();
fm.Resource = CraftResource.Bronze;
m.EquipItem(fm);
ThighBoots boots = new ThighBoots();
boots.Resource = CraftResource.BeastLeather;
boots.Hue = 2989;
m.EquipItem(chest);
m.EquipItem(arms);
m.EquipItem(legs);
m.EquipItem(gorget);
m.EquipItem(gloves);
m.EquipItem(shield);
m.EquipItem(fm);
m.EquipItem(boots);
//.........这里部分代码省略.........
示例14: DummyThief
public DummyThief() : base(AIType.AI_Thief, FightMode.Closest, 15, 1, 0.2, 0.6)
{
// A Dummy Hybrid Thief
int iHue = 20 + Team * 40;
int jHue = 25 + Team * 40;
// Skills and Stats
this.InitStats( 105, 105, 105 );
this.Skills[SkillName.Healing].Base = 120;
this.Skills[SkillName.Anatomy].Base = 120;
this.Skills[SkillName.Stealing].Base = 120;
this.Skills[SkillName.ArmsLore].Base = 100;
this.Skills[SkillName.Meditation].Base = 120;
this.Skills[SkillName.Wrestling].Base = 120;
// Name
this.Name = "Hybrid Thief";
// Equip
Spellbook book = new Spellbook();
book.Movable = false;
book.LootType = LootType.Newbied;
book.Content =0xFFFFFFFFFFFFFFFF;
AddItem( book );
LeatherArms lea = new LeatherArms();
lea.Movable = false;
lea.LootType = LootType.Newbied;
lea.Crafter = this;
lea.Quality = ArmorQuality.Regular;
AddItem( lea );
LeatherChest lec = new LeatherChest();
lec.Movable = false;
lec.LootType = LootType.Newbied;
lec.Crafter = this;
lec.Quality = ArmorQuality.Regular;
AddItem( lec );
LeatherGorget leg = new LeatherGorget();
leg.Movable = false;
leg.LootType = LootType.Newbied;
leg.Crafter = this;
leg.Quality = ArmorQuality.Regular;
AddItem( leg );
LeatherLegs lel = new LeatherLegs();
lel.Movable = false;
lel.LootType = LootType.Newbied;
lel.Crafter = this;
lel.Quality = ArmorQuality.Regular;
AddItem( lel );
Sandals snd = new Sandals();
snd.Hue = iHue;
snd.LootType = LootType.Newbied;
AddItem( snd );
Cap cap = new Cap();
cap.Hue = iHue;
AddItem( cap );
Robe robe = new Robe();
robe.Hue = iHue;
AddItem( robe );
Bandage band = new Bandage( 50 );
AddToBackpack( band );
}
示例15: DummySuper
public DummySuper() : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
{
// A Dummy Super Mage
int iHue = 20 + Team * 40;
int jHue = 25 + Team * 40;
// Skills and Stats
this.InitStats( 125, 125, 125 );
this.Skills[SkillName.Magery].Base = 120;
this.Skills[SkillName.EvalInt].Base = 120;
this.Skills[SkillName.Anatomy].Base = 120;
this.Skills[SkillName.Wrestling].Base = 120;
this.Skills[SkillName.Meditation].Base = 120;
this.Skills[SkillName.Poisoning].Base = 100;
this.Skills[SkillName.Inscribe].Base = 100;
// Name
this.Name = "Super Mage";
// Equip
Spellbook book = new Spellbook();
book.Movable = false;
book.LootType = LootType.Newbied;
book.Content =0xFFFFFFFFFFFFFFFF;
AddItem( book );
LeatherArms lea = new LeatherArms();
lea.Movable = false;
lea.LootType = LootType.Newbied;
lea.Crafter = this;
lea.Quality = ArmorQuality.Regular;
AddItem( lea );
LeatherChest lec = new LeatherChest();
lec.Movable = false;
lec.LootType = LootType.Newbied;
lec.Crafter = this;
lec.Quality = ArmorQuality.Regular;
AddItem( lec );
LeatherGorget leg = new LeatherGorget();
leg.Movable = false;
leg.LootType = LootType.Newbied;
leg.Crafter = this;
leg.Quality = ArmorQuality.Regular;
AddItem( leg );
LeatherLegs lel = new LeatherLegs();
lel.Movable = false;
lel.LootType = LootType.Newbied;
lel.Crafter = this;
lel.Quality = ArmorQuality.Regular;
AddItem( lel );
Sandals snd = new Sandals();
snd.Hue = iHue;
snd.LootType = LootType.Newbied;
AddItem( snd );
JesterHat jhat = new JesterHat();
jhat.Hue = iHue;
AddItem( jhat );
Doublet dblt = new Doublet();
dblt.Hue = iHue;
AddItem( dblt );
// Spells
AddSpellAttack( typeof(Spells.First.MagicArrowSpell) );
AddSpellAttack( typeof(Spells.First.WeakenSpell) );
AddSpellAttack( typeof(Spells.Third.FireballSpell) );
AddSpellDefense( typeof(Spells.Third.WallOfStoneSpell) );
AddSpellDefense( typeof(Spells.First.HealSpell) );
}