Пример #1
0
        public Axe(Character character, WeaponAxeSubType subType) : base(character)
        {
            this.subType = (byte)PowerSubType.Axe;
            this.baseStr = "ranged";
            this.subStr  = "axe";
            this.sound   = Systems.sounds.axe;
            this.SetActivationSettings(72, 1, 36);

            // Power Settings
            this.multMomentum = FInt.Create(0.65);
            this.xVel         = FInt.Create(5);
            this.yVel         = FInt.Create(-12);
            this.yVelUp       = FInt.Create(-18);
            this.yVelDown     = FInt.Create(1);

            this.ApplySubType(subType);
        }
Пример #2
0
        public void ApplySubType(WeaponAxeSubType subType)
        {
            this.projSubType = (byte)subType;

            if (subType == WeaponAxeSubType.Axe)
            {
                this.IconTexture = "Weapon/Axe";
            }
            else if (subType == WeaponAxeSubType.Axe2)
            {
                this.IconTexture = "Weapon/Axe2";
            }
            else if (subType == WeaponAxeSubType.Axe3)
            {
                this.IconTexture = "Weapon/Axe3";
            }
        }