sendISCurrent() public method

public sendISCurrent ( WorldClient client, UInt16 innerStrengthValue ) : void
client WorldClient
innerStrengthValue System.UInt16
return void
Esempio n. 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);
        }