Kod:
using System;
using Server;
using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "a fire wyrm corpse" )]
public class FireWyrm : BaseCreature
{
[Constructable]
public FireWyrm () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Body = 49;
Name = "a Fire Wyrm";
BaseSoundID = 362;
Hue = 0x489;
SetStr( 421, 560 );
SetDex( 201, 230 );
SetInt( 386, 425 );
SetHits( 433, 456 );
SetDamage( 20, 45 );
SetDamageType( ResistanceType.Fire, 100 );
SetDamageType( ResistanceType.Physical, 50 );
SetResistance( ResistanceType.Physical, 70, 60 );
SetResistance( ResistanceType.Fire, 99, 105 );
SetResistance( ResistanceType.Cold, 25, 35 );
SetResistance( ResistanceType.Poison, 40, 50 );
SetResistance( ResistanceType.Energy, 40, 50 );
SetSkill( SkillName.EvalInt, 99.1, 120.0 );
SetSkill( SkillName.Magery, 99.1, 110.0 );
SetSkill( SkillName.MagicResist, 99.1, 101.0 );
SetSkill( SkillName.Tactics, 97.6, 110.0 );
SetSkill( SkillName.Wrestling, 90.1, 110.0 );
Fame = 18000;
Karma = -18000;
VirtualArmor = 64;
Tamable = true;
ControlSlots = 4;
MinTameSkill = 106.3;
int gems = Utility.RandomMinMax( 1, 5 );
for ( int i = 0; i < gems; ++i )
PackGem();
PackMagicItems( 1, 5, 0.70, 0.55 );
PackMagicItems( 1, 5, 0.50, 0.45 );
PackMagicItems( 1, 5 );
// TODO: Bandage self
}
public override void OnDamage( int amount, Mobile from, bool willKill )
{
if ( from != null && !willKill && amount > 5 && from.Player && 5 > Utility.Random( 100 ) )
{
string[] toSay = new string[]
{
"{0}!! You will have to do better than that!",
"{0}!! Prepare to meet your doom!",
"{0}!! My armies will crush you!",
"{0}!! You will pay for that!"
};
this.Say( true, String.Format( toSay[Utility.Random( toSay.Length )], from.Name ) );
}
base.OnDamage( amount, from, willKill );
}
public override int TreasureMapLevel{ get{ return 4; } }
public override int Meat{ get{ return 19; } }
public override int Hides{ get{ return 20; } }
public override HideType HideType{ get{ return HideType.Barbed; } }
public override int Scales{ get{ return 12; } }
public override ScaleType ScaleType{ get{ return ScaleType.Blue; } }
public override FoodType FavoriteFood{ get{ return FoodType.Meat | FoodType.Gold; } }
public FireWyrm( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}
using Server;
using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "a fire wyrm corpse" )]
public class FireWyrm : BaseCreature
{
[Constructable]
public FireWyrm () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Body = 49;
Name = "a Fire Wyrm";
BaseSoundID = 362;
Hue = 0x489;
SetStr( 421, 560 );
SetDex( 201, 230 );
SetInt( 386, 425 );
SetHits( 433, 456 );
SetDamage( 20, 45 );
SetDamageType( ResistanceType.Fire, 100 );
SetDamageType( ResistanceType.Physical, 50 );
SetResistance( ResistanceType.Physical, 70, 60 );
SetResistance( ResistanceType.Fire, 99, 105 );
SetResistance( ResistanceType.Cold, 25, 35 );
SetResistance( ResistanceType.Poison, 40, 50 );
SetResistance( ResistanceType.Energy, 40, 50 );
SetSkill( SkillName.EvalInt, 99.1, 120.0 );
SetSkill( SkillName.Magery, 99.1, 110.0 );
SetSkill( SkillName.MagicResist, 99.1, 101.0 );
SetSkill( SkillName.Tactics, 97.6, 110.0 );
SetSkill( SkillName.Wrestling, 90.1, 110.0 );
Fame = 18000;
Karma = -18000;
VirtualArmor = 64;
Tamable = true;
ControlSlots = 4;
MinTameSkill = 106.3;
int gems = Utility.RandomMinMax( 1, 5 );
for ( int i = 0; i < gems; ++i )
PackGem();
PackMagicItems( 1, 5, 0.70, 0.55 );
PackMagicItems( 1, 5, 0.50, 0.45 );
PackMagicItems( 1, 5 );
// TODO: Bandage self
}
public override void OnDamage( int amount, Mobile from, bool willKill )
{
if ( from != null && !willKill && amount > 5 && from.Player && 5 > Utility.Random( 100 ) )
{
string[] toSay = new string[]
{
"{0}!! You will have to do better than that!",
"{0}!! Prepare to meet your doom!",
"{0}!! My armies will crush you!",
"{0}!! You will pay for that!"
};
this.Say( true, String.Format( toSay[Utility.Random( toSay.Length )], from.Name ) );
}
base.OnDamage( amount, from, willKill );
}
public override int TreasureMapLevel{ get{ return 4; } }
public override int Meat{ get{ return 19; } }
public override int Hides{ get{ return 20; } }
public override HideType HideType{ get{ return HideType.Barbed; } }
public override int Scales{ get{ return 12; } }
public override ScaleType ScaleType{ get{ return ScaleType.Blue; } }
public override FoodType FavoriteFood{ get{ return FoodType.Meat | FoodType.Gold; } }
public FireWyrm( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}
Yorumlar |
OylamalarOylama :![]()
Üyelerin oylama ortalaması (10 dışında) : Henüz Oylanmamış
Oylar: 0 |
Benzer Sayfalar
| Sayfalar | Yorumlar | Gönderen | Tarih |
| Fire Field | 0 | The And | 27-09-2009 |
| Fire Elemental | 0 | The And | 23-09-2009 |
| Cleanse By Fire | 0 | The And | 23-09-2009 |
| Fire Giant | 0 | TheRaskol | 21-09-2009 |
| Cleanse By Fire | 0 | Amesron | 01-09-2009 |







