示例#1
0
        public void processAbilityScript(AbilityItem abilityItem)
        {
            // Display Cast Bar if it is necessary
            ServerPackets pak = new ServerPackets();

            if (this.currentAbility.getCastingTime() > 0)
            {
                pak.sendCastAbilityBar(this.currentAbility.getAbilityID(), this.currentAbility.getCastingTime());
                this.processSelfAnimation(abilityItem);
            }
            this.processCharacterAnimationSelf(abilityItem.getAbilityID());

            if (currentAbility.getAbilityID() == 12 || currentAbility.getAbilityID() == 184)
            {
                pak.sendHyperSpeed();
            }
            pak.sendISCurrent(Store.currentClient, 50);
        }