Exemplo n.º 1
0
        public static bool Run(ZuluHitscript Hitscript, Mobile Attacker, Mobile Defender, BaseWeapon Weapon, ref int BaseDamage)
        {
            bool RunDamage = true;

            try
            {
                Call HitscriptCall = HitscriptCalls[(int)Hitscript];

                HitscriptCall(Attacker, Defender, Weapon, ref BaseDamage);
            }
            catch { Console.WriteLine("Couldnt run hitscript {0}", Hitscript); }

            return(RunDamage);
        }
Exemplo n.º 2
0
        public static bool Run(ZuluHitscript Hitscript, Mobile Attacker, Mobile Defender, BaseWeapon Weapon, ref int BaseDamage)
        {
            bool RunDamage = true;

            try
            {
                Call HitscriptCall = HitscriptCalls[(int)Hitscript];

                HitscriptCall(Attacker, Defender, Weapon, ref BaseDamage);
            }
            catch { Console.WriteLine("Couldnt run hitscript {0}", Hitscript); }

            return RunDamage;
        }