Esempio n. 1
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int         version   = reader.ReadInt();
            TarjanTimer thisTimer = new TarjanTimer(this);

            thisTimer.Start();
        }
Esempio n. 2
0
        public Tarjan() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "Tarjan";
            Title       = "the mad god";
            Body        = 9;
            Hue         = 0x5B7;
            BaseSoundID = 357;
            EmoteHue    = 123;

            SetStr(476, 505);
            SetDex(76, 95);
            SetInt(301, 325);

            SetHits(286, 303);

            SetDamage(7, 14);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 45, 60);
            SetResistance(ResistanceType.Fire, 50, 60);
            SetResistance(ResistanceType.Cold, 30, 40);
            SetResistance(ResistanceType.Poison, 20, 30);
            SetResistance(ResistanceType.Energy, 30, 40);

            SetSkill(SkillName.EvalInt, 70.1, 80.0);
            SetSkill(SkillName.Magery, 70.1, 80.0);
            SetSkill(SkillName.MagicResist, 85.1, 95.0);
            SetSkill(SkillName.Tactics, 70.1, 80.0);
            SetSkill(SkillName.Wrestling, 60.1, 80.0);

            Fame  = 15000;
            Karma = -15000;

            VirtualArmor = 58;

            TarjanTimer thisTimer = new TarjanTimer(this);

            thisTimer.Start();
        }
Esempio n. 3
0
            protected override void OnTick()
            {
                if (m_tarjan != null)
                {
                    if (m_tarjan.Warmode == false)
                    {
                        TarjanStatue MyStatue = new TarjanStatue();
                        Map          map      = m_tarjan.Map;
                        Point3D      sloc     = new Point3D(5559, 1121, 45);
                        MyStatue.MoveToWorld(sloc, map);

                        Effects.SendLocationParticles(EffectItem.Create(MyStatue.Location, MyStatue.Map, EffectItem.DefaultDuration), 0x3728, 10, 10, 2023);
                        m_tarjan.PlaySound(0x1FE);
                        Effects.SendLocationParticles(EffectItem.Create(m_tarjan.Location, m_tarjan.Map, EffectItem.DefaultDuration), 0x3728, 10, 10, 5023);
                        m_tarjan.Delete();
                    }
                    else
                    {
                        TarjanTimer thisTimer = new TarjanTimer(m_tarjan);
                        thisTimer.Start();
                    }
                }
            }