コード例 #1
0
ファイル: Souless.cs プロジェクト: evildude807/kaltar
 public Souless(AncientPeerSpell m_spell)
     : base(AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4)
 {
     Body = 777;
     Title = " The Mystic Lama Herder";
     CantWalk = true;
     spell = m_spell;
 }
コード例 #2
0
ファイル: Souless.cs プロジェクト: zerodowned/kaltar
 public Souless(AncientPeerSpell m_spell)
     : base(AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4)
 {
     Body     = 777;
     Title    = " The Mystic Lama Herder";
     CantWalk = true;
     spell    = m_spell;
 }
コード例 #3
0
            public InternalTimer(Mobile owner, int body, Souless m_Fake, AncientPeerSpell spell)
                : base(TimeSpan.FromSeconds(0))
            {
                m_Owner   = owner;
                m_OldBody = body;
                fake      = m_Fake;
                m_spell   = spell;

                int val = (int)owner.Skills[SkillName.Magery].Value;

                if (val > 100)
                {
                    val = 100;
                }
                double   loss2 = (0 - m_Owner.Skills[SkillName.Magery].Base);
                SkillMod sk2   = new DefaultSkillMod(SkillName.Magery, true, loss2);

                m_Owner.AddSkillMod(sk2);
                m_spell.m_PeerMod.Add(sk2);

                Delay    = TimeSpan.FromSeconds(val);
                Priority = TimerPriority.TwoFiftyMS;
            }
コード例 #4
0
ファイル: PeerSpell.cs プロジェクト: evildude807/kaltar
            public InternalTimer(Mobile owner, int body, Souless m_Fake, AncientPeerSpell spell)
                : base(TimeSpan.FromSeconds(0))
            {
                m_Owner = owner;
                m_OldBody = body;
                fake = m_Fake;
                m_spell = spell;

                int val = (int)owner.Skills[SkillName.Magery].Value;

                if (val > 100)
                    val = 100;
                double loss2 = (0 - m_Owner.Skills[SkillName.Magery].Base);
                SkillMod sk2 = new DefaultSkillMod(SkillName.Magery, true, loss2);
                m_Owner.AddSkillMod(sk2);
                m_spell.m_PeerMod.Add(sk2);

                Delay = TimeSpan.FromSeconds(val);
                Priority = TimerPriority.TwoFiftyMS;
            }