Пример #1
0
        /*
         * Author: egoisto
         * Modified by: Kroy
         *
         * Shadowmeld racial ability.
         *
         * Parameter ba BaseAbility.
         * Parameter c Character to apply the ability on.
         */
        public static void OnCastShadowmeld(BaseAbility ba, Mobile c)
        {
            AuraEffect ae   = (AuraEffect)ba;
            Aura       aura = new Aura();

            aura.OnRelease = new Aura.AuraReleaseDelegate(OnCastShadowmeldEnded);
            c.Visible      = InvisibilityLevel.Lesser;
            c.AddAura(ae, aura);
        }