annuncio

Comprimi
Ancora nessun annuncio.

[SCRIPT] NPC Necromancer

Comprimi
X
 
  • Filtro
  • Ora
  • Visualizza
Elimina tutto
nuovi messaggi

  • [SCRIPT] NPC Necromancer

    Da copiare in Necromancer.cs da mettere in Scripts/Mobiles/Vendors/NPC:

    codice:
    using System;
    using System.Collections;
    using Server;
    
    namespace Server.Mobiles
    {
      public class Necromancer : BaseVendor
      {
        private ArrayList m_SBInfos = new ArrayList();
        protected override ArrayList SBInfos{ get { return m_SBInfos; } }
    
        [Constructable]
        public Necromancer() : base( "the necromancer" )
        {
          SetSkill( SkillName.EvalInt, 65.0, 88.0 );
          SetSkill( SkillName.Inscribe, 60.0, 83.0 );
          SetSkill( SkillName.Meditation, 60.0, 83.0 );
          SetSkill( SkillName.MagicResist, 65.0, 88.0 );
          SetSkill( SkillName.Necromancy, 64.0, 100.0 );
        }
    
        public override void InitSBInfo()
        {
          m_SBInfos.Add( new SBMage() );
        }
    
        public override VendorShoeType ShoeType
        {
          get{ return Utility.RandomBool() ? VendorShoeType.Shoes : VendorShoeType.Sandals; }
        }
    
        public override void InitOutfit()
        {
          base.InitOutfit();
    
          AddItem( new Server.Items.Robe( 0x497 ) );
        }
    
        public Necromancer( Serial serial ) : base( serial )
        {
        }
    
        public override void Serialize( GenericWriter writer )
        {
          base.Serialize( writer );
    
          writer.Write( (int) 0 ); // version
        }
    
        public override void Deserialize( GenericReader reader )
        {
          base.Deserialize( reader );
    
          int version = reader.ReadInt();
        }
      }
    }
    Si scrive Felucca, non Felluca o Fellucca!

  • #2


    speriamo solo che qualche scriptere lo faccia



    ICQ 212316268

    Commenta

    Sto operando...
    X