Dressage
Post by Ex-Mélodie - April 23, 2006 at 11:30 PM
Ce post sert a ceux qui ont choisit cette branche pour travailler. Le post initial sera mit a jour afin de contenir le materiel final a chaque étape de votre travail.
Il suffit que vous marquiez d'un * chaque chose prette a ce que je regarde ( souvent on en aura discuté aussi ) et si je l'accepte je le passe dans ce poste.
Post by Ragnamord Trenor, Ind - May 6, 2006 at 8:40 PM
Je me lance donc.
Ant Lion.
using System;
using System.Collections;
using Server.Items;
using Server.Targeting;
namespace Server.Mobiles
{
\t[CorpseName( "an ant lion corpse" )]
\tpublic class AntLion : BaseCreature
\t{
\t\t
\t\tpublic AntLion() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
\t\t{
\t\t\tName = "an ant lion";
\t\t\tBody = 787;
\t\t\tBaseSoundID = 1006;
\t\t\tSetStr( 296, 320 );
\t\t\tSetDex( 81, 105 );
\t\t\tSetInt( 36, 60 );
\t\t\tSetHits( 151, 162 );
\t\t\tSetDamage( 7, 21 );
\t\t\tSetDamageType( ResistanceType.Physical, 70 );
\t\t\tSetDamageType( ResistanceType.Poison, 30 );
\t\t\tSetResistance( ResistanceType.Physical, 45, 60 );
\t\t\tSetResistance( ResistanceType.Fire, 25, 35 );
\t\t\tSetResistance( ResistanceType.Cold, 30, 40 );
\t\t\tSetResistance( ResistanceType.Poison, 40, 50 );
\t\t\tSetResistance( ResistanceType.Energy, 30, 35 );
\t\t\tSetSkill( SkillName.MagicResist, 70.0 );
\t\t\tSetSkill( SkillName.Tactics, 90.0 );
\t\t\tSetSkill( SkillName.Wrestling, 90.0 );
\t\t\tFame = 4500;
\t\t\tKarma = -4500;
\t\t\tVirtualArmor = 45;
\t Tamable = true;
\t\t\tControlSlots = 2;
\t\t\tMinTameSkill = 53.1;
\t\t\tPackGem();
\t\t\tPackGem();
\t\t\tPackItem( new Bone() );
\t\t\tPackGold( 125, 175 );
\t\t\tint amount = Utility.RandomMinMax( 1, 10 );
\t\t\tswitch ( Utility.Random( 4 ) )
\t\t\t{
\t\t\t\tcase 0: PackItem( new DullCopperOre( amount ) ); break;
\t\t\t\tcase 1: PackItem( new ShadowIronOre( amount ) ); break;
\t\t\t\tcase 2: PackItem( new CopperOre( amount ) ); break;
\t\t\t\tcase 3: PackItem( new BronzeOre( amount ) ); break;
\t\t\t}
\t\t\tPackItem( new FertileDirt( Utility.RandomMinMax( 1, 5 ) ) );
\t\t\t// TODO: skeleton
\t\t}
\t\tpublic override int GetAngerSound()
\t\t{
\t\t\treturn 0x5A;
\t\t}
\t\tpublic override int GetIdleSound()
\t\t{
\t\t\treturn 0x5A;
\t\t}
\t\tpublic override int GetAttackSound()
\t\t{
\t\t\treturn 0x164;
\t\t}
\t\tpublic override int GetHurtSound()
\t\t{
\t\t\treturn 0x187;
\t\t}
\t\tpublic override int GetDeathSound()
\t\t{
\t\t\treturn 0x1BA;
\t\t}
\t\tpublic AntLion( Serial serial ) : base( serial )
\t\t{
\t\t}
\t\tpublic override void Serialize( GenericWriter writer )
\t\t{
\t\t\tbase.Serialize( writer );
\t\t\twriter.Write( (int) 0 );
\t\t}
\t\tpublic override void Deserialize( GenericReader reader )
\t\t{
\t\t\tbase.Deserialize( reader );
\t\t\tint version = reader.ReadInt();
\t\t}
\t}
}
Dread Spider
using System;
using Server;
using Server.Items;
namespace Server.Mobiles
{
\t[CorpseName( "a dread spider corpse" )]
\tpublic class DreadSpider : BaseCreature
\t{
\t\t
\t\tpublic DreadSpider () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
\t\t{
\t\t\tName = "a dread spider";
\t\t\tBody = 11;
\t\t\tBaseSoundID = 1170;
\t\t\tSetStr( 196, 220 );
\t\t\tSetDex( 126, 145 );
\t\t\tSetInt( 286, 310 );
\t\t\tSetHits( 118, 132 );
\t\t\tSetDamage( 5, 17 );
\t\t\tSetDamageType( ResistanceType.Physical, 20 );
\t\t\tSetDamageType( ResistanceType.Poison, 80 );
\t\t\tSetResistance( ResistanceType.Physical, 40, 50 );
\t\t\tSetResistance( ResistanceType.Fire, 20, 30 );
\t\t\tSetResistance( ResistanceType.Cold, 20, 30 );
\t\t\tSetResistance( ResistanceType.Poison, 90, 100 );
\t\t\tSetResistance( ResistanceType.Energy, 20, 30 );
\t\t\tSetSkill( SkillName.EvalInt, 65.1, 80.0 );
\t\t\tSetSkill( SkillName.Magery, 65.1, 80.0 );
\t\t\tSetSkill( SkillName.Meditation, 65.1, 80.0 );
\t\t\tSetSkill( SkillName.MagicResist, 45.1, 60.0 );
\t\t\tSetSkill( SkillName.Tactics, 55.1, 70.0 );
\t\t\tSetSkill( SkillName.Wrestling, 60.1, 75.0 );
\t\t\tFame = 5000;
\t\t\tKarma = -5000;
\t\t\tVirtualArmor = 36;
Tamable = true;
\t\t\tControlSlots = 2;
\t\t\tMinTameSkill = 73.1;
\t\t\tPackItem( new SpidersSilk( 8 ) );
\t\t}
\t\tpublic override void GenerateLoot()
\t\t{
\t\t\tAddLoot( LootPack.FilthyRich );
\t\t}
\t\tpublic override Poison PoisonImmune{ get{ return Poison.Lethal; } }
\t\tpublic override Poison HitPoison{ get{ return Poison.Lethal; } }
\t\tpublic override int TreasureMapLevel{ get{ return 3; } }
\t\tpublic DreadSpider( Serial serial ) : base( serial )
\t\t{
\t\t}
\t\tpublic override void Serialize( GenericWriter writer )
\t\t{
\t\t\tbase.Serialize( writer );
\t\t\twriter.Write( (int) 0 );
\t\t}
\t\tpublic override void Deserialize( GenericReader reader )
\t\t{
\t\t\tbase.Deserialize( reader );
\t\t\tint version = reader.ReadInt();
\t\t\tif ( BaseSoundID == 263 )
\t\t\t\tBaseSoundID = 1170;
\t\t}
\t}
}
Gazer
\t\t
\t\tpublic Gazer () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
\t\t{
\t\t\tName = "a gazer";
\t\t\tBody = 22;
\t\t\tBaseSoundID = 377;
\t\t\tSetStr( 96, 125 );
\t\t\tSetDex( 86, 105 );
\t\t\tSetInt( 141, 165 );
\t\t\tSetHits( 58, 75 );
\t\t\tSetDamage( 5, 10 );
\t\t\tSetDamageType( ResistanceType.Physical, 100 );
\t\t\tSetResistance( ResistanceType.Physical, 35, 40 );
\t\t\tSetResistance( ResistanceType.Fire, 40, 50 );
\t\t\tSetResistance( ResistanceType.Cold, 20, 30 );
\t\t\tSetResistance( ResistanceType.Poison, 10, 20 );
\t\t\tSetResistance( ResistanceType.Energy, 20, 30 );
\t\t\tSetSkill( SkillName.EvalInt, 50.1, 65.0 );
\t\t\tSetSkill( SkillName.Magery, 50.1, 65.0 );
\t\t\tSetSkill( SkillName.MagicResist, 60.1, 75.0 );
\t\t\tSetSkill( SkillName.Tactics, 50.1, 70.0 );
\t\t\tSetSkill( SkillName.Wrestling, 50.1, 70.0 );
\t\t\tFame = 3500;
\t\t\tKarma = -3500;
\t\t\tVirtualArmor = 36;
Tamable = true;
ControlSlots = 2;
MinTameSkill = 63.0;
\t\t\tPackItem( new Nightshade( 4 ) );
\t\t}
\t\tpublic override void GenerateLoot()
\t\t{
\t\t\tAddLoot( LootPack.Average );
\t\t\tAddLoot( LootPack.Potions );
\t\t}
\t\tpublic override int TreasureMapLevel{ get{ return 1; } }
\t\tpublic override int Meat{ get{ return 1; } }
\t\tpublic Gazer( Serial serial ) : base( serial )
\t\t{
\t\t}
\t\tpublic override void Serialize( GenericWriter writer )
\t\t{
\t\t\tbase.Serialize( writer );
\t\t\twriter.Write( (int) 0 );
\t\t}
\t\tpublic override void Deserialize( GenericReader reader )
\t\t{
\t\t\tbase.Deserialize( reader );
\t\t\tint version = reader.ReadInt();
\t\t}
\t}
}
Elder Gazer
using System;
using Server;
using Server.Items;
namespace Server.Mobiles
{
\t[CorpseName( "an elder gazer corpse" )]
\tpublic class ElderGazer : BaseCreature
\t{
\t\t
\t\tpublic ElderGazer () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
\t\t{
\t\t\tName = "an elder gazer";
\t\t\tBody = 22;
\t\t\tBaseSoundID = 377;
\t\t\tSetStr( 296, 325 );
\t\t\tSetDex( 86, 105 );
\t\t\tSetInt( 291, 385 );
\t\t\tSetHits( 178, 195 );
\t\t\tSetDamage( 8, 19 );
\t\t\tSetDamageType( ResistanceType.Physical, 50 );
\t\t\tSetDamageType( ResistanceType.Energy, 50 );
\t\t\tSetResistance( ResistanceType.Physical, 45, 55 );
\t\t\tSetResistance( ResistanceType.Fire, 60, 70 );
\t\t\tSetResistance( ResistanceType.Cold, 40, 50 );
\t\t\tSetResistance( ResistanceType.Poison, 40, 50 );
\t\t\tSetResistance( ResistanceType.Energy, 40, 50 );
\t\t\tSetSkill( SkillName.Anatomy, 62.0, 100.0 );
\t\t\tSetSkill( SkillName.EvalInt, 90.1, 100.0 );
\t\t\tSetSkill( SkillName.Magery, 90.1, 100.0 );
\t\t\tSetSkill( SkillName.MagicResist, 115.1, 130.0 );
\t\t\tSetSkill( SkillName.Tactics, 80.1, 100.0 );
\t\t\tSetSkill( SkillName.Wrestling, 80.1, 100.0 );
\t\t\tFame = 12500;
\t\t\tKarma = -12500;
\t\t\tVirtualArmor = 50;
Tamable = true;
ControlSlots = 2;
MinTameSkill = 82.3;
\t\t}
\t\tpublic override int TreasureMapLevel{ get{ return Core.AOS ? 4 : 0; } }
\t\tpublic override void GenerateLoot()
\t\t{
\t\t\tAddLoot( LootPack.FilthyRich );
\t\t\tAddLoot( LootPack.Rich );
\t\t}
\t\tpublic ElderGazer( Serial serial ) : base( serial )
\t\t{
\t\t}
\t\tpublic override void Serialize( GenericWriter writer )
\t\t{
\t\t\tbase.Serialize( writer );
\t\t\twriter.Write( (int) 0 );
\t\t}
\t\tpublic override void Deserialize( GenericReader reader )
\t\t{
\t\t\tbase.Deserialize( reader );
\t\t\tint version = reader.ReadInt();
\t\t}
\t}
}
Skeletal Dragon
using System;
using Server;
using Server.Items;
namespace Server.Mobiles
{
\t[CorpseName( "a skeletal dragon corpse" )]
\tpublic class SkeletalDragon : BaseCreature
\t{
\t\t
\t\tpublic SkeletalDragon () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
\t\t{
\t\t\tName = "a skeletal dragon";
\t\t\tBody = 104;
\t\t\tBaseSoundID = 0x488;
\t\t\tSetStr( 898, 1030 );
\t\t\tSetDex( 68, 200 );
\t\t\tSetInt( 488, 620 );
\t\t\tSetHits( 558, 599 );
\t\t\tSetDamage( 29, 35 );
\t\t\tSetDamageType( ResistanceType.Physical, 75 );
\t\t\tSetDamageType( ResistanceType.Fire, 25 );
\t\t\tSetResistance( ResistanceType.Physical, 75, 80 );
\t\t\tSetResistance( ResistanceType.Fire, 40, 60 );
\t\t\tSetResistance( ResistanceType.Cold, 40, 60 );
\t\t\tSetResistance( ResistanceType.Poison, 70, 80 );
\t\t\tSetResistance( ResistanceType.Energy, 40, 60 );
\t\t\tSetSkill( SkillName.EvalInt, 80.1, 100.0 );
\t\t\tSetSkill( SkillName.Magery, 80.1, 100.0 );
\t\t\tSetSkill( SkillName.MagicResist, 100.3, 130.0 );
\t\t\tSetSkill( SkillName.Tactics, 97.6, 100.0 );
\t\t\tSetSkill( SkillName.Wrestling, 97.6, 100.0 );
\t\t\tFame = 22500;
\t\t\tKarma = -22500;
\t\t\tVirtualArmor = 80;
Tamable = true;
\t\t\tControlSlots = 5;
\t\t\tMinTameSkill = 97.3;
\t\t}
\t\tpublic override void GenerateLoot()
\t\t{
\t\t\tAddLoot( LootPack.FilthyRich, 4 );
\t\t\tAddLoot( LootPack.Gems, 5 );
\t\t}
\t\tpublic override bool HasBreath{ get{ return true; } } // fire breath enabled
\t\tpublic override int BreathFireDamage{ get{ return 0; } }
\t\tpublic override int BreathColdDamage{ get{ return 100; } }
\t\tpublic override int BreathEffectHue{ get{ return 0x480; } }
\t\t// TODO: Undead summoning?
\t\tpublic override bool AutoDispel{ get{ return true; } }
\t\tpublic override Poison PoisonImmune{ get{ return Poison.Lethal; } }
\t\tpublic override int Meat{ get{ return 19; } } // where's it hiding these? \t\tpublic override int Hides{ get{ return 20; } }
\t\tpublic override HideType HideType{ get{ return HideType.Barbed; } }
\t\tpublic SkeletalDragon( Serial serial ) : base( serial )
\t\t{
\t\t}
\t\tpublic override void Serialize( GenericWriter writer )
\t\t{
\t\t\tbase.Serialize( writer );
\t\t\twriter.Write( (int) 0 );
\t\t}
\t\tpublic override void Deserialize( GenericReader reader )
\t\t{
\t\t\tbase.Deserialize( reader );
\t\t\tint version = reader.ReadInt();
\t\t}
\t}
}
Skeletal Mont
using System;
using Server.Mobiles;
namespace Server.Mobiles
{
\t[CorpseName( "an undead horse corpse" )]
\tpublic class SkeletalMount : BaseMount
\t{
\t\t
\t\tpublic SkeletalMount() : this( "a skeletal steed" )
\t\t{
\t\t}
\t\t
\t\tpublic SkeletalMount( string name ) : base( name, 793, 0x3EBB, AIType.AI_Animal, FightMode.Agressor, 10, 1, 0.2, 0.4 )
\t\t{
\t\t\tSetStr( 91, 100 );
\t\t\tSetDex( 46, 55 );
\t\t\tSetInt( 46, 60 );
\t\t\tSetHits( 41, 50 );
\t\t\tSetDamage( 5, 12 );
\t\t\tSetDamageType( ResistanceType.Physical, 50 );
\t\t\tSetDamageType( ResistanceType.Cold, 50 );
\t\t\tSetResistance( ResistanceType.Physical, 50, 60 );
\t\t\tSetResistance( ResistanceType.Cold, 90, 95 );
\t\t\tSetResistance( ResistanceType.Poison, 100 );
\t\t\tSetResistance( ResistanceType.Energy, 10, 15 );
\t\t\tSetSkill( SkillName.MagicResist, 95.1, 100.0 );
\t\t\tSetSkill( SkillName.Tactics, 50.0 );
\t\t\tSetSkill( SkillName.Wrestling, 70.1, 80.0 );
\t\t\tFame = 0;
\t\t\tKarma = 0;
Tamable = true;
\t\t\tControlSlots = 5;
\t\t\tMinTameSkill = 93.7;
\t\t}
\t\tpublic override Poison PoisonImmune{ get{ return Poison.Lethal; } }
\t\tpublic SkeletalMount( Serial serial ) : base( serial )
\t\t{
\t\t}
\t\tpublic override void Serialize( GenericWriter writer )
\t\t{
\t\t\tbase.Serialize( writer );
\t\t\twriter.Write( (int) 0 ); // version
\t\t}
\t\tpublic override void Deserialize( GenericReader reader )
\t\t{
\t\t\tbase.Deserialize( reader );
\t\t\tint version = reader.ReadInt();
\t\t\tName = "a skeletal steed";
\t\t\tTamable = false;
\t\t\tMinTameSkill = 0.0;
\t\t\tControlSlots = 0;
\t\t}
\t}
}
LavaSerpent
using System;
using Server;
using Server.Items;
using Server.Mobiles;
namespace Server.Mobiles
{
\t[CorpseName( "a lava serpent corpse" )]
\t[TypeAlias( "Server.Mobiles.Lavaserpant" )]
\tpublic class LavaSerpent : BaseCreature
\t{
\t\t
\t\tpublic LavaSerpent() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
\t\t{
\t\t\tName = "a lava serpent";
\t\t\tBody = 90;
\t\t\tBaseSoundID = 219;
\t\t\tSetStr( 386, 415 );
\t\t\tSetDex( 56, 80 );
\t\t\tSetInt( 66, 85 );
\t\t\tSetHits( 232, 249 );
\t\t\tSetMana( 0 );
\t\t\tSetDamage( 10, 22 );
\t\t\tSetDamageType( ResistanceType.Physical, 20 );
\t\t\tSetDamageType( ResistanceType.Fire, 80 );
\t\t\tSetResistance( ResistanceType.Physical, 35, 45 );
\t\t\tSetResistance( ResistanceType.Fire, 70, 80 );
\t\t\tSetResistance( ResistanceType.Poison, 30, 40 );
\t\t\tSetResistance( ResistanceType.Energy, 10, 20 );
\t\t\tSetSkill( SkillName.MagicResist, 25.3, 70.0 );
\t\t\tSetSkill( SkillName.Tactics, 65.1, 70.0 );
\t\t\tSetSkill( SkillName.Wrestling, 60.1, 80.0 );
\t\t\tFame = 4500;
\t\t\tKarma = -4500;
\t\t\tVirtualArmor = 40;
Tamable = true;
ControlSlots = 2;
MinTameSkill = 69.1;
\t\t\tPackItem( new SulfurousAsh( 3 ) );
\t\t\tPackItem( new Bone() );
\t\t\t// TODO: body parts, armour
\t\t}
\t\tpublic override void GenerateLoot()
\t\t{
\t\t\tAddLoot( LootPack.Average );
\t\t}
\t\tpublic override bool DeathAdderCharmable{ get{ return true; } }
\t\tpublic override bool HasBreath{ get{ return true; } } // fire breath enabled
\t\tpublic override int Meat{ get{ return 4; } }
\t\tpublic override int Hides{ get{ return 15; } }
\t\tpublic override HideType HideType{ get{ return HideType.Spined; } }
\t\tpublic LavaSerpent(Serial serial) : base(serial)
\t\t{
\t\t}
\t\tpublic override void Serialize(GenericWriter writer)
\t\t{
\t\t\tbase.Serialize(writer);
\t\t\twriter.Write((int) 0);
\t\t}
\t\tpublic override void Deserialize(GenericReader reader)
\t\t{
\t\t\tbase.Deserialize(reader);
\t\t\tint version = reader.ReadInt();
\t\t\tif ( BaseSoundID == -1 )
\t\t\t\tBaseSoundID = 219;
\t\t}
\t}
}
¥-¥-¥ Je prend une Petite pause ¥-¥-¥
Post by Ex-Mélodie - May 6, 2006 at 9:45 PM
Wow..
Post by Ragnamord Trenor, Ind - May 12, 2006 at 7:59 AM
* Ajoute un petit ---> * <---- Chaque coter des scripts
Post by Sharon, la vagabonde - May 12, 2006 at 9:04 AM
Pense tu pouvoir trouvée de quoi pour montée des loups et cerf ?
J'ai déja entendu parlée d'une patch qui le permettait mais ou le trouvée... Sa je l'ignore, mais je sais qu'elle existe quelque part.
Post by Ragnamord Trenor, Ind - May 12, 2006 at 9:19 AM
Je doit avoir un script a quelque part pour chevaucher des ours polaire..
Post by Sharon, la vagabonde - May 12, 2006 at 10:16 AM
Faudrait je retrouve le site ou on pouvais montée des loup, cerf, dragon [les vrai]...
Doit faire 3 ans de sa... Sait pas si le site existera toujours mais ma fouillée un peu.
Le surnom de sharon est louve, alors imaginée si elle monte une louve ^^
Elle va resemblée un peu a la princesse mononoké mais pas grave ^^