• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Polymorphic Energy v1.0.0

This bundle is marked as pending. It has not been reviewed by a staff member yet.
Polymorphic Energy



SPELL DESCRIPTION

full




TECHNICAL DESCRIPTION

JASS:
/*
    |-----------------|
    | SPELL MECHANICS |
    |-----------------|

        It is better if you try the spell first in-game before reading its mechanics below, to
        give you a better context especially on the terms used.

        Definitions:
            > HERO - the wielder/learner of this spell

        Phases (In sequence):
            1. Energy Stack Creation:
                - Upon learning the 'passive' ability, the HERO will acquire its <energy stack>.
                The stack will contain vacant <energy spheres> that will orbit around the HERO.

            2. Energy Absorption:
                - When an enemy unit targets the HERO with a single-target spell, the spell will
                be blocked if the HERO's <energy stack> is not full.
                - When a spell is blocked, it is transformed into potential energy and is
                extracted from the enemy unit by the HERO.

            3. Energy Transfer:
                - The energy will be transferred to the HERO in the form of an <energy proxy>
                that travels towards one of the HERO's vacant <energy spheres>.

            4. Energy Storing:
                - Upon contact between the <energy proxy> and the vacant <energy sphere>, the
                <energy proxy> gives off its energy into the vacant <energy sphere>, changing
                its state from being 'vacant' to 'charged'/'occupied'. Once all <energy spheres>
                belonging to an <energy stack> are charged, that <energy stack> is considered
                'full'.

            5. Energy Spheres Orbit:
                - Charged <energy spheres> orbiting the HERO deals damage through time to units
                within their radius.
                - The HERO also takes damage equal to percentage of its max HP over time, for
                each charged <energy spheres> in its <energy stack> (the damage taken by the
                HERO is multiplied by the number of charged <energy spheres>).

            6. Energy Activation:
                - When the HERO uses the activation ability, a charged <energy sphere> is popped
                from its <energy stack>. The energy will be extracted from the <energy sphere>
                (changing its state to vacant) and will travel towards the HERO, again, in the
                form of an <energy proxy>.

            7. Energy Consumption:
                - Finally, when the <energy proxy> contacts the HERO, the contained potential
                energy is extracted and the HERO will morph that energy to whatever is its
                original form and sends it towards a target.
*/


PREVIEW

full

Figure 1: Polymorphic Energy spell in action



DEPENDENCIES

Required
Spell Framework
Missile
SpecialEffect
UnitDex
Table


Optional
Resource Preloader



HOW TO IMPORT

1. Install all the required dependencies listed above and (optionally) the optional dependencies.
2. Copy the ability object data for the spell, named 'Polymorphic Energy', found in the downloaded map.
3. Copy the 'Polymorphic Energy' folder in the Trigger Editor from the downloaded map into your map.
4. Spend some time to configure the spell to suit your liking.
5. You're all set!




NOTES

- Only supports patches 1.31+



CREDITS

The Panda
Icon Resource (BTNWarpPortal)

Bribe
Code (Table)

TriggerHappy
Code (UnitDex)

Bannar
Code (RegisterPlayerUnitEvent)

Nestharus
Code (ErrorMessage)




Changelogs
v1.0.0
  • Initial Release
Contents

Polymorphic Energy v1.0.0 (Map)

Top