Advertisement
TheNewGreatChocobo

TroglodyteShaman

Dec 18th, 2014
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     using System;
  2.     using Server.Mobiles;
  3.      
  4.     namespace Server.Mobiles
  5.     {
  6.             [CorpseName( "Cadavre de troglodyte" )]
  7.             public class TroglodyteShaman : BaseCreature
  8.             {
  9.                     [Constructable]
  10.                     public TroglodyteShaman() : base( AIType.AI_Melee, FightMode.Closest, 11, 1, 0.2, 0.4 )
  11.                     {
  12.                             Name = "Troglodyte Shaman";
  13.                             Body = 154;
  14.                             BaseSoundID = 442;
  15.  
  16.                             PlayersAreEnemies = true;  
  17.  
  18.                             SetStr( 80 );
  19.                             SetDex( 80 );
  20.                             SetInt( 80 );
  21.      
  22.                             SetHits( 220 );
  23.                             SetMana( 160 );
  24.                             SetStam( 100 );    
  25.                             SetArme(14, 21, 40);
  26.      
  27.                             SetResistance( ResistanceType.Physical, 0 );
  28.                             SetResistance( ResistanceType.Magie, 30 );
  29.      
  30.                             SetSkill( SkillName.ArmureNaturelle, 86 );
  31.                             SetSkill( SkillName.Tactiques, 86 );
  32.                             SetSkill( SkillName.Epee, 86 );
  33.                             SetSkill( SkillName.ArtDeLaMagie, 86 );
  34.                             SetSkill( SkillName.Necromencie, 86 );
  35.                             SetSkill( SkillName.Thaumaturgie, 86 );
  36.                             SetSkill( SkillName.Parer, 44 );  
  37.                     }
  38.                 public override void GenerateLoot()
  39.                 {
  40.                         AddLoot( LootPack.Bouffe );
  41.                         AddLoot( LootPack.Utile );
  42.                         AddLoot( LootPack.Reg );
  43.                         AddLoot( LootPack.Reg );
  44.                         AddLoot( LootPack.RegNecro );
  45.                         AddLoot( LootPack.RegNecro );
  46.  
  47.         }
  48.      
  49.                     public override int Bones { get { return 3; } }
  50.                     public override BoneType BoneType { get { return BoneType.Maritime; } }
  51.  
  52.         }
  53.  
  54.  
  55.                     public TroglodyteShaman(Serial serial) : base(serial)
  56.                     {
  57.                     }
  58.      
  59.                     public override void Serialize(GenericWriter writer)
  60.                     {
  61.                             base.Serialize(writer);
  62.      
  63.                             writer.Write((int) 0);
  64.                     }
  65.      
  66.                     public override void Deserialize(GenericReader reader)
  67.                     {
  68.                             base.Deserialize(reader);
  69.      
  70.                             int version = reader.ReadInt();
  71.                     }
  72.             }
  73.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement