Beispiel #1
0
        public static void Initialize()
        {
            Notoriety.Hues[Notoriety.Innocent]      = 0x59;
            Notoriety.Hues[Notoriety.Ally]          = 0x3F;
            Notoriety.Hues[Notoriety.CanBeAttacked] = 0x3B2;
            Notoriety.Hues[Notoriety.Criminal]      = 0x3B2;
            Notoriety.Hues[Notoriety.Enemy]         = 0x90;
            Notoriety.Hues[Notoriety.Murderer]      = 0x22;
            Notoriety.Hues[Notoriety.Invulnerable]  = 0x35;

            Notoriety.Handler = new NotorietyHandler(MobileNotoriety);
            CorpseHandler     = new CorpseNotorietyHandler(CorpseNotoriety);

            Mobile.AllowBeneficialHandler = new AllowBeneficialHandler(Mobile_AllowBeneficial);
            Mobile.AllowHarmfulHandler    = new AllowHarmfulHandler(Mobile_AllowHarmful);
        }
Beispiel #2
0
        public static void Initialize()
        {
            Notoriety.Hues[Notoriety.Innocent] = 0x59;
            Notoriety.Hues[Notoriety.Ally] = 0x3F;
            Notoriety.Hues[Notoriety.CanBeAttacked] = 0x3B2;
            Notoriety.Hues[Notoriety.Criminal] = 0x3B2;
            Notoriety.Hues[Notoriety.Enemy] = 0x90;
            Notoriety.Hues[Notoriety.Murderer] = 0x22;
            Notoriety.Hues[Notoriety.Invulnerable] = 0x35;

            Notoriety.Handler = new NotorietyHandler( MobileNotoriety );
            CorpseHandler = new CorpseNotorietyHandler( CorpseNotoriety );

            Mobile.AllowBeneficialHandler = new AllowBeneficialHandler( Mobile_AllowBeneficial );
            Mobile.AllowHarmfulHandler = new AllowHarmfulHandler( Mobile_AllowHarmful );
        }