Beispiel #1
0
            protected override void OnTargetFinish(Mobile from)
            {
                m_Owner.FinishSequence();

                if (!from.CheckSkill(SkillName.Hiding, 0.0, 100.0))                     //TODO: Hiding check or stealth check?
                {
                    from.RevealingAction();
                }
            }
Beispiel #2
0
            protected override void OnTargetFinish(Mobile from)
            {
                int armorRating = (int)from.ArmorRating;

                // TODO: Should stealth be gained here?
                if (!from.CheckSkill(SkillName.Stealth, -20.0 + (armorRating * 2), 80.0 + (armorRating * 2)))
                {
                    from.SendLocalizedMessage(502731);                       // You fail in your attempt to move unnoticed.
                    from.RevealingAction();
                }

                m_Owner.FinishSequence();
            }
Beispiel #3
0
 protected override void OnTargetFinish(Mobile from)
 {
     m_Owner.FinishSequence();
 }
Beispiel #4
0
            protected override void OnTargetFinish(Mobile from)
            {
                m_Owner.FinishSequence();

                Server.SkillHandlers.Stealth.OnUse(from);
            }