本文整理汇总了C#中Server.Items.Spellbook类的典型用法代码示例。如果您正苦于以下问题:C# Spellbook类的具体用法?C# Spellbook怎么用?C# Spellbook使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Spellbook类属于Server.Items命名空间,在下文中一共展示了Spellbook类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: Beholder
public Beholder() : base( AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "Beholder";
Body = 22;
Hue = 0x0492;
BaseSoundID = 377;
SetStr( 1500 );
SetDex( 200 );
SetInt( 800 );
SetHits( 1500 );
SetStam( 200 );
SetMana( 800 );
SetDamage( 30, 50 );
SetSkill( SkillName.Magery, 200.0 );
SetSkill( SkillName.MagicResist, 100.0 );
SetSkill( SkillName.Tactics, 150.0 );
SetSkill( SkillName.Wrestling, 200.0 );
Fame = 19000;
Karma = -9000;
VirtualArmor = 50;
Spellbook book = new Spellbook();
book.Content = ulong.MaxValue;
book.LootType = LootType.Regular;
AddItem(book);
}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:33,代码来源:Beholder.cs
示例2: 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));
}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:60,代码来源:Khal'nga.cs
示例3: RoyalArchivistSF
public RoyalArchivistSF()
: base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
{
Name = "Llewellyn";
Body = 400;
Hue = 33777;
SpecialTitle = "Royal Archivist";
TitleHue = 1926;
Blessed = true;
CantWalk = true;
SpeechHue = YellHue = 2049;
VirtualArmor = 36;
TranscriptionBooks = new Dictionary<PlayerMobile, bool>();
AddItem(new Robe(Utility.RandomYellowHue()));
AddItem(new Sandals(Utility.RandomYellowHue()));
var book = new Spellbook();
book.Name = "Tome of Chaos";
book.Hue = 1194;
book.LootType = LootType.Newbied;
AddItem(Immovable(book));
HairItemID = 8265;
FacialHairItemID = 8254;
HairHue = 2577;
FacialHairHue = 2577;
}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:34,代码来源:RoyalArchivistSoulForge.cs
示例4: Altageas
public Altageas()
: base(AIType.AI_SphereMage, FightMode.Closest, 10, 5, 0.2, 0.4)
{
Name = "Altageas";
Body = 0x03ca;
Hue = 0x1;
SetStr(600, 700);
SetDex(350, 450);
SetInt(300, 400);
SetHits(610, 720);
SetStam(350, 450);
SetMana(400);
SetDamage(38, 51);
SetSkill(SkillName.Magery, 120.0);
SetSkill(SkillName.Tactics, 300.0, 400.0);
SetSkill(SkillName.MagicResist, 100.0, 150.0);
SetSkill(SkillName.Parry, 200.0, 250.0);
SetSkill(SkillName.Wrestling, 100.0);
SetSkill(SkillName.EvalInt, 120.0);
Fame = Utility.RandomMinMax(2500, 4000);
Karma = Utility.RandomMinMax(-4000, -6000);
VirtualArmor = 80;
PackGold(650, 1150);
PlateGloves glo = new PlateGloves {Hue = 0x1};
PackItem(glo);
Spellbook book = new Spellbook {Content = ulong.MaxValue, LootType = LootType.Regular};
AddItem(book);
}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:35,代码来源:Altageas.cs
示例5: SlayerSelectSpellbookGump
public SlayerSelectSpellbookGump( Spellbook item ) : base( 0, 0 )
{
m_Item = item;
this.Closable=true;
this.Disposable=true;
this.Dragable=true;
this.Resizable=false;
AddPage(0);
AddBackground(131, 90, 185, 292, 9200);
AddAlphaRegion(137, 96, 172, 25);
AddAlphaRegion(137, 130, 172, 247);
AddHtml( 137, 96, 172, 25, @"<BASEFONT COLOR=#FFFFFF><CENTER>Select A Slayer</CENTER></BASEFONT>", (bool)false, (bool)false);
AddButton(145, 140, 4023, 4024, 1, GumpButtonType.Reply, 0);
AddLabel(180, 140, 1152, @"Repond Slayer");
AddButton(145, 170, 4023, 4024, 2, GumpButtonType.Reply, 0);
AddLabel(180, 170, 1152, @"Reptile Slayer");
AddButton(145, 200, 4023, 4024, 3, GumpButtonType.Reply, 0);
AddLabel(180, 200, 1152, @"Demon Slayer");
AddButton(145, 230, 4023, 4024, 4, GumpButtonType.Reply, 0);
AddLabel(180, 230, 1152, @"Elemental Slayer");
AddButton(145, 260, 4023, 4024, 5, GumpButtonType.Reply, 0);
AddLabel(180, 260, 1152, @"Undead Slayer");
AddButton(145, 290, 4023, 4024, 6, GumpButtonType.Reply, 0);
AddLabel(180, 290, 1152, @"Arachnid Slayer");
AddButton(145, 320, 4023, 4024, 7, GumpButtonType.Reply, 0);
AddLabel(180, 320, 1152, @"Fey Slayer");
}
开发者ID:romeov007,项目名称:imagine-uo,代码行数:29,代码来源:SlayerSelectSpellbookGump.cs
示例6: FrostElfShaman
public FrostElfShaman() : base( AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Title = "the Frost Elf";
Hue = 1328;
AddItem( new Robe() );
AddItem( new Spellbook() );
AddItem( new Sandals() );
Female = Utility.RandomBool();
if( Female )
{
Body = 0x191;
Name = NameList.RandomName( "pixie" );
AddItem( new LongHair( Serial.NewItem ) );
}
else
{
Body = 0x190;
Name = NameList.RandomName( "golem controller" );
AddItem( new KrisnaHair( Serial.NewItem ) );
}
SetStr( 126, 150 );
SetDex( 96, 120 );
SetInt( 151, 175 );
SetHits( 150, 200 );
SetDamage( 3, 9 );
SetDamageType( ResistanceType.Physical, 100 );
SetResistance( ResistanceType.Physical, 30, 40 );
SetResistance( ResistanceType.Fire, 25, 35 );
SetResistance( ResistanceType.Cold, 35, 45 );
SetResistance( ResistanceType.Poison, 5, 15 );
SetResistance( ResistanceType.Energy, 15, 25 );
SetSkill( SkillName.EvalInt, 95.1, 100.0 );
SetSkill( SkillName.Magery, 95.1, 100.0 );
SetSkill( SkillName.Meditation, 95.1, 100.0 );
SetSkill( SkillName.MagicResist, 102.5, 125.0 );
SetSkill( SkillName.Tactics, 65.0, 87.5 );
SetSkill( SkillName.Wrestling, 65.0, 87.5 );
Fame = Utility.RandomMinMax( 2500, 1500 );
Karma = Utility.RandomMinMax( -5000, 2000 );
VirtualArmor = 16;
if (Utility.RandomDouble() <= 0.7)
{
Spellbook book = new Spellbook();
book.Content = ulong.MaxValue;
book.LootType = LootType.Regular;
AddItem(book);
}
}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:59,代码来源:Frost+Elves.cs
示例7: DemonScholar
public DemonScholar() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a demonic scholar";
Body = 400;
BaseSoundID = 412;
Hue = 1175;
SetStr( 416, 505 );
SetDex( 146, 165 );
SetInt( 566, 655 );
SetHits( 250, 303 );
SetDamage( 11, 13 );
SetSkill( SkillName.EvalInt, 90.1, 100.0 );
SetSkill( SkillName.Magery, 90.1, 100.0 );
SetSkill( SkillName.MagicResist, 150.5, 200.0 );
SetSkill( SkillName.Tactics, 50.1, 70.0 );
SetSkill( SkillName.Wrestling, 60.1, 80.0 );
Fame = 18000;
Karma = -18000;
VirtualArmor = 50;
Lantern hands = new Lantern();
hands.Name = "latern of souls";
hands.Hue = 1258;
hands.Movable = false;
AddItem( hands );
Spellbook hands2 = new Spellbook();
hands2.Name = "ancient spellbook";
hands2.Hue = 1158;
hands2.Movable = false;
hands2.Content = ulong.MaxValue;
AddItem( hands2 );
HoodedShroudOfShadows chest = new HoodedShroudOfShadows();
chest.Name = "hooded shroud";
chest.Hue = 1175;
chest.Movable = false;
AddItem( chest );
Sandals feet = new Sandals();
feet.Name = "sandals";
feet.Hue = 1258;
feet.Movable = false;
AddItem( feet );
PackReg( 30 );
if ( Utility.Random( 2500 ) == 0 ) PackItem( new DemonSandals() );
if ( Utility.Random( 2500 ) == 0 ) PackItem( new DemonDoublet() );
if ( Utility.Random( 2500 ) == 0 ) PackItem( new DemonWizardsHat() );
if ( Utility.Random( 2500 ) == 0 ) PackItem( new DemonHalfApron() );
if ( Utility.Random( 2500 ) == 0 ) PackItem( new DemonSkirt() );
}
开发者ID:kamronbatman,项目名称:DefianceUO-Pre1.10,代码行数:59,代码来源:DemonScholar.cs
示例8: FullSpellbook
public Spellbook FullSpellbook()
{
Spellbook book = new Spellbook();
book.Movable = false;
book.LootType = LootType.Blessed;
book.Content =0xFFFFFFFFFFFFFFFF;
return book;
}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:8,代码来源:FamousPirates.cs
示例9: 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);
}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:58,代码来源:VampireCount.cs
示例10: GiveEquipment
public override void GiveEquipment()
{
var spellbook = new Spellbook();
spellbook.Name = "a book of chaos";
spellbook.Hue = 1920;
spellbook.Movable = false;
AddItem(Immovable(spellbook));
base.GiveEquipment();
}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:9,代码来源:CovenMemberCaster.cs
示例11: 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 );
}
开发者ID:justdanofficial,项目名称:khaeros,代码行数:56,代码来源:LysanderGathenwale.cs
示例12: LysanderGathenwale
public LysanderGathenwale() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Title = "the Cursed";
Hue = 0x8838;
Body = 0x190;
AddItem( Immovable( new Boots( 0x599 )) );
AddItem( Immovable(new Cloak( 0x96F )) );
Spellbook spellbook = new Spellbook();
spellbook.LootType = LootType.Blessed;
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( Immovable(spellbook) );
AddItem( Immovable( gloves) );
AddItem( Immovable(chest) );
AddItem( Immovable(arms) );
SetStr( 111, 120 );
SetDex( 71, 80 );
SetInt( 121, 130 );
SetHits( 180, 207 );
SetMana( 227, 265 );
SetDamage( 5, 13 );
SetSkill( SkillName.Wrestling, 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.EvalInt, 95.1, 100.0 );
SetSkill( SkillName.Meditation, 90.1, 100.0 );
Fame = 5000;
Karma = -10000;
Item reags = Loot.RandomReagent();
reags.Amount = 30;
PackItem( reags );
}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:50,代码来源:LysanderGathenwale.cs
示例13: EvilMageLord
public EvilMageLord() : base( AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = NameList.RandomName( "evil mage lord" );
Body = Utility.RandomList( 125, 126 );
PackItem( new Robe( Utility.RandomMetalHue() ) );
PackItem( new WizardsHat( Utility.RandomMetalHue() ) );
SetStr( 81, 105 );
SetDex( 191, 215 );
SetInt( 126, 150 );
SetHits( 49, 63 );
SetDamage( 5, 10 );
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 = 10500;
Karma = -7000;
VirtualArmor = 16;
PackReg( 23 );
if ( Utility.RandomBool() )
PackItem( new Shoes() );
else
PackItem( new Sandals() );
if (Utility.RandomDouble() <= 0.3)
{
Spellbook book = new Spellbook();
book.Content = ulong.MaxValue;
book.LootType = LootType.Regular;
AddItem(book);
}
}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:49,代码来源:EvilMageLord.cs
示例14: Imp
public Imp() : base( AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "Imp";
Body = 74;
BaseSoundID = 422;
SetStr( 91, 115 );
SetDex( 61, 80 );
SetInt( 86, 98 );
SetHits( 55, 70 );
SetDamage( 10, 14 );
SetDamageType( ResistanceType.Physical, 0 );
SetDamageType( ResistanceType.Fire, 50 );
SetDamageType( ResistanceType.Poison, 50 );
SetResistance( ResistanceType.Physical, 25, 35 );
SetResistance( ResistanceType.Fire, 40, 50 );
SetResistance( ResistanceType.Cold, 20, 30 );
SetResistance( ResistanceType.Poison, 30, 40 );
SetResistance( ResistanceType.Energy, 30, 40 );
SetSkill( SkillName.EvalInt, 20.1, 40.0 );
SetSkill( SkillName.Magery, 85.1, 90.0 );
SetSkill( SkillName.MagicResist, 39.1, 59.0 );
SetSkill( SkillName.Tactics, 42.1, 50.0 );
SetSkill( SkillName.Wrestling, 40.1, 44.0 );
Fame = 2500;
VirtualArmor = 30;
Tamable = true;
ControlSlots = 2;
MinTameSkill = 83.1;
if (Core.ML && Utility.RandomDouble() < 0.09)
PackItem(Engines.Plants.Seed.RandomPeculiarSeed(2));
if (Utility.RandomDouble() <= 0.2)
{
Spellbook book = new Spellbook();
book.Content = ulong.MaxValue;
book.LootType = LootType.Regular;
AddItem(book);
}
}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:49,代码来源:Imp.cs
示例15: Lich
public Lich() : base( AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "Lich";
Body = 24;
BaseSoundID = 0x3E9;
SetStr( 171, 200 );
SetDex( 126, 145 );
SetInt( 276, 305 );
SetHits( 103, 120 );
SetDamage( 24, 26 );
SetDamageType( ResistanceType.Physical, 10 );
SetDamageType( ResistanceType.Cold, 40 );
SetDamageType( ResistanceType.Energy, 50 );
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.Necromancy, 89, 99.1);
//SetSkill(SkillName.SpiritSpeak, 90.0, 99.0);
SetSkill(SkillName.EvalInt, 100.0);
SetSkill( SkillName.Magery, 70.1, 80.0 );
SetSkill( SkillName.Meditation, 85.1, 95.0 );
SetSkill( SkillName.MagicResist, 80.1, 100.0 );
SetSkill( SkillName.Tactics, 70.1, 90.0 );
Fame = 8000;
Karma = -4000;
VirtualArmor = 50;
PackItem( new GnarledStaff() );
PackNecroReg( 17, 24 );
if (Utility.RandomDouble() <= 0.3)
{
Spellbook book = new Spellbook();
book.Content = ulong.MaxValue;
book.LootType = LootType.Regular;
AddItem(book);
}
}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:48,代码来源:Lich.cs
示例16: InitOutfit
public override void InitOutfit()
{
FloppyHat head = new FloppyHat();
head.Hue = 1175;
AddItem( head );
PlainDress chest = new PlainDress();
chest.Hue = 1175;
AddItem( chest );
AddItem( new GoldNecklace() );
Spellbook lefthand = new Spellbook();
lefthand.Hue = 1217;
AddItem( lefthand );
Sandals feet = new Sandals();
feet.Hue = 1175;
AddItem( feet );
}
开发者ID:Tukaramdas,项目名称:ServUO-EC-Test-Fork,代码行数:16,代码来源:Veronica.cs
示例17: OrcishMage
public OrcishMage () : base( AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "Orcish Mage";
Body = 140;
BaseSoundID = 0x45A;
SetStr( 116, 150 );
SetDex( 91, 115 );
SetInt( 161, 180 );
SetHits( 70, 90 );
SetDamage( 4, 14 );
SetDamageType( ResistanceType.Physical, 100 );
SetResistance( ResistanceType.Physical, 25, 35 );
SetResistance( ResistanceType.Fire, 30, 40 );
SetResistance( ResistanceType.Cold, 20, 30 );
SetResistance( ResistanceType.Poison, 30, 40 );
SetResistance( ResistanceType.Energy, 30, 40 );
SetSkill( SkillName.EvalInt, 60.1, 69.5 );
SetSkill( SkillName.Magery, 60.1, 69.5 );
SetSkill( SkillName.MagicResist, 60.1, 75.0 );
SetSkill( SkillName.Tactics, 50.1, 65.0 );
SetSkill( SkillName.Wrestling, 40.1, 50.0 );
Fame = 3000;
VirtualArmor = 30;
PackReg( 6 );
if ( 0.05 > Utility.RandomDouble() )
PackItem( new OrcishKinMask() );
if (Utility.RandomDouble() <= 0.7)
{
Spellbook book = new Spellbook();
book.Content = ulong.MaxValue;
book.LootType = LootType.Regular;
AddItem(book);
}
}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:47,代码来源:OrcishMage.cs
示例18: RatmanMage
public RatmanMage() : base( AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = NameList.RandomName( "ratman" );
Body = 0x8F;
BaseSoundID = 437;
SetStr( 146, 180 );
SetDex( 101, 130 );
SetInt( 186, 200 );
SetHits( 88, 108 );
SetDamage( 7, 14 );
SetDamageType( ResistanceType.Physical, 100 );
SetResistance( ResistanceType.Physical, 40, 45 );
SetResistance( ResistanceType.Fire, 10, 20 );
SetResistance( ResistanceType.Cold, 10, 20 );
SetResistance( ResistanceType.Poison, 10, 20 );
SetResistance( ResistanceType.Energy, 10, 20 );
SetSkill( SkillName.EvalInt, 70.1, 75.0 );
SetSkill( SkillName.Magery, 70.1, 75.0 );
SetSkill( SkillName.MagicResist, 65.1, 90.0 );
SetSkill( SkillName.Tactics, 50.1, 75.0 );
SetSkill( SkillName.Wrestling, 50.1, 75.0 );
Fame = 7500;
VirtualArmor = 44;
PackReg( 6 );
if ( 0.02 > Utility.RandomDouble() )
PackStatue();
if (Utility.RandomDouble() <= 0.7)
{
Spellbook book = new Spellbook();
book.Content = ulong.MaxValue;
book.LootType = LootType.Regular;
AddItem(book);
}
}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:45,代码来源:RatmanMage.cs
示例19: Balron
public Balron () : base( AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = NameList.RandomName( "Balron" );
Body = 40;
BaseSoundID = 357;
SetStr( 986, 1185 );
SetDex( 177, 255 );
SetInt( 151, 250 );
SetHits( 592, 711 );
SetDamage( 22, 29 );
SetDamageType( ResistanceType.Physical, 50 );
SetDamageType( ResistanceType.Fire, 25 );
SetDamageType( ResistanceType.Energy, 25 );
SetResistance( ResistanceType.Physical, 65, 80 );
SetResistance( ResistanceType.Fire, 60, 80 );
SetResistance( ResistanceType.Cold, 50, 60 );
SetResistance( ResistanceType.Poison, 100 );
SetResistance( ResistanceType.Energy, 40, 50 );
SetSkill( SkillName.Anatomy, 25.1, 50.0 );
SetSkill( SkillName.EvalInt, 90.1, 100.0 );
SetSkill( SkillName.Magery, 95.5, 100.0 );
SetSkill( SkillName.Meditation, 25.1, 50.0 );
SetSkill( SkillName.MagicResist, 100.5, 150.0 );
SetSkill( SkillName.Tactics, 90.1, 100.0 );
SetSkill( SkillName.Wrestling, 90.1, 100.0 );
Fame = 24000;
Karma = -18000;
VirtualArmor = 90;
PackItem( new Longsword() );
Spellbook book = new Spellbook();
book.Content = ulong.MaxValue;
book.LootType = LootType.Regular;
AddItem(book);
}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:44,代码来源:Balron.cs
示例20: AncientLich
public AncientLich() : base( AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = NameList.RandomName( "Ancient Lich" );
Body = 78;
BaseSoundID = 412;
SetStr( 216, 305 );
SetDex( 96, 115 );
SetInt( 966, 1045 );
SetHits( 560, 595 );
SetDamage( 15, 27 );
SetDamageType( ResistanceType.Physical, 20 );
SetDamageType( ResistanceType.Cold, 40 );
SetDamageType( ResistanceType.Energy, 40 );
SetResistance( ResistanceType.Physical, 55, 65 );
SetResistance( ResistanceType.Fire, 25, 30 );
SetResistance( ResistanceType.Cold, 50, 60 );
SetResistance( ResistanceType.Poison, 50, 60 );
SetResistance( ResistanceType.Energy, 25, 30 );
SetSkill( SkillName.EvalInt, 120.1, 130.0 );
SetSkill( SkillName.Magery, 120.1, 130.0 );
SetSkill( SkillName.Meditation, 100.1, 101.0 );
SetSkill( SkillName.Poisoning, 100.1, 101.0 );
SetSkill( SkillName.MagicResist, 175.2, 200.0 );
SetSkill( SkillName.Tactics, 90.1, 100.0 );
SetSkill( SkillName.Wrestling, 75.1, 100.0 );
Fame = 23000;
Karma = -16000;
VirtualArmor = 60;
PackNecroReg( 30, 275 );
Spellbook book = new Spellbook();
book.Content = ulong.MaxValue;
book.LootType = LootType.Regular;
AddItem(book);
}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:44,代码来源:AncientLich.cs
注:本文中的Server.Items.Spellbook类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论