1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Module Power Hour API 1.0.0.1

Exposes an advanced API that provides a complete Power Hour solution.

  1. Vorspire
    Requirements:
    Vita-Nex: Core


    Power Hour API
    Exposes an advanced API that provides a complete Power Hour solution.

    With this module, you can easily integrate Power Hour checks into your code with one simple line! The rest of the hard work is done by the module.

    Can be easily integrated into Skill and Stat gain checks, Loot drops, or anywhere you wish to give the user a bonus when they have an active session.

    Sessions are tracked per-character and can be activated at will.
    The duration of a session can be configured in the module options.

    Sessions have a cool-down period before they can be activated again, once they have finished.
    The cool-down duration can be configured in the module options.

    Power Hour fully supports the Vita-Nex: Core TimeBoost service and allows players to reduce their remaining cool-down time using any Time Boosts they have available.
    TimeBoost integration can be enabled or disabled in the module options.

    Users can be Notified upon login if they are eligible to start a new Power Hour session.
    This option can be enabled or disabled in the module options.

    Options:
    GoldLootFactor
    is a double type representing the percentage to increase corpse-bound gold.
    A value of 0 disables the feature.
    A negative value will decrease the gold amount.
    The default value is 0.
    To increase Power Hour Gold loot by 25%, set GoldLootFactor to 0.25

    SkillGainChance is a double type representing the chance to perform an additional Skill check.
    A value of 0 disables the feature.
    A negative value disables the feature.
    The default value is 0.
    To give a 25% chance to perform an extra skill gain check, set SkillGainChance to 0.25

    Constructable Items:
    PowerHourResetToken

    Commands:
    (Players) To start or check a Power Hour session use:
    [PowerHour or [PH

    (Staff) To view the properties of a user's Power Hour session use:
    [PowerHourProps or [PHProps

    (Staff) To globally reset the Power Hour sessions of all users use:
    [PowerHourReset or [PHReset

    Usage:
    Configure this module using the [VNC command.

    Code:
    Code (C#):
    1.  
    2. var hasPowerHour = VitaNex.Modules.PowerHour.PowerHour.HasPowerHour( mobile );
    3.  
    4. if( hasPowerHour )
    5. {
    6.     // They have an active session, apply bonuses.
    7. }
    8.  
    Notes:
    This module requires additional development in order to implement fully.
    Power Hour provides features for increasing Gold loot and Skill gains, but can be expanded to support almost anything you can think of!

    Images

    1. PHActive.png
    2. PHConfirm.png
    3. PHMessage.png
    4. PHNotify.png
    5. PHReset.png

Recent Updates

  1. 1.0.0.1

Recent Reviews

  1. Punkte
    Punkte
    5/5,
    Version: 1.0.0.1
    Use it on Ultima Shards and its great!