1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. The long-awaited results for Concept Art Contest #11 have finally been released!
    Dismiss Notice
  3. The mythological era has spawned some interesting characters around. Check them out and be sure to vote for them in the 30th Poll of the Texturing Contest.
    Dismiss Notice
  4. The 20th iteration of the Terraining Contest is upon us! Join and create exquisite Water Structures for it.
    Dismiss Notice
  5. Hivers united and created a bunch of 2v2 melee maps. Vote for the best in our Melee Mapping Contest #4 - Poll!
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice

Tsukuyomi v1.2

Submitted by Daffa the Mage
This bundle is marked as approved. It works and satisfies the submission rules.
TSUKUYOMI
"Seventy two hours in 1 second"


IMPORT GUIDE :
  1. Tick "Create Unknown Variable when Pasting Trigger Data" in Preferences
  2. Import Tsukuyomi buff, Tsukuyomi ability and Slow (Tsukuyomi) ability
  3. Configure the Slow (Tsukuyomi) buff to pinpoint to the Tsukuyomi buff
  4. Import Spell System into your map from GUI Spell System v1.8.0.0 thread
  5. Copy the Tsukuyomi folder into your map
  6. Configure the Tsukuyomi Config to mimic the one in the test map (Especially ability and buff settings at the top of the trigger config), you can play around with the real values though
  7. Enjoy!
Below is a video alternative to the text above, take note it doesn't exactly follow as told, but it works properly.


SPELL DESCRIPTION :

Awakens the power of Tsukuyomi after 4 seconds channeling. Slows down every enemy within 800 radius of user, slowing by 80% of their attack and movement speed. Enemies also takes 10/20/30 damage per fifth of a second while inside Tsukuyomi.
Tsukuyomi saps 10/20/30 health and mana every second for 25 seconds and cannot be cancelled once activated. Interruption during channeling will cancel Tsukuyomi activation. Automatic de-activation upon mana depletion. Cooldown reset upon failure.

SPELL INFORMATION :
  • Uses GUI Spell System
  • Based on Itachi's Awakening in Naruto Ultimate Ninja 5
  • Pretty OP in normal melee game
  • This is the second 'anime' based spell I uploaded (first one is Kirin).
MEDIA SHOWCASE :

CHANGE LOG :
Version 1.2:
Thanks to MyPad for fixing an issue with the spell :)
Thanks to KILLCIDE for recommending to make the irritating movement optional :D
Fixed a bug where the slow persist even after spell ends, though it still persist despite out of proximity (I'd say it's a feature, though fixable but too operation heavy imo for the fix).
Version 1.1.2: Added a debug message to track down an issue found by MyPad. This allows users to avoid running into the issue by following the messages given in the document.
Version 1.1.1 : Added video variant for importing guide
Version 1.1 : Separated SFX and Spell Dummy to reduce erratic turning, now it only occurs when the hero changes direction, and this is intentional.
Version 1.0.2 : documentation update
Version 1.0.1 : Adjust the aura slightly, added a warning for buggy low second loop.
Version 1.0 : Uploaded.

Contents

Tsukuyomi v1.2 (Map)

Reviews
KILLCIDE
Good use of Bribe's Spell System. The spell has a lot of configurables and given the number of Anime style maps in WC3, this can prove to be useful. Needs Fixed Nothing Suggestions Preload ability / effects used in the spell I would add attachment...
  1. Daffa the Mage

    Daffa the Mage

    Map Moderator

    Joined:
    Jan 30, 2013
    Messages:
    7,523
    Resources:
    26
    Packs:
    1
    Maps:
    8
    Spells:
    16
    Tutorials:
    1
    Resources:
    26
    Due to how the spell is technically is similar to an aura once activated, I used Passive/Aura tag along with No Target.
     
  2. TheCarnerox

    TheCarnerox

    Joined:
    Apr 17, 2018
    Messages:
    3
    Resources:
    0
    Resources:
    0
    The biggest problem I see, is how the SFX is an eye sore, especially when changing directions. You could possibly lock the effect into facing a single direction by using a dummy unit and periodically update its location to the caster or rotate its direction smoothly in a 360 degree, while using the method above. On mobile, so I can't view the code over. But it seems to work like you have written.
     
  3. MyPad

    MyPad

    Spell Reviewer

    Joined:
    May 9, 2014
    Messages:
    1,221
    Resources:
    5
    Models:
    1
    Icons:
    1
    Spells:
    2
    JASS:
    1
    Resources:
    5

    MyPad's Review:



    Notes:


    • [Potential Bug] When setting the time interval for the enumeration to a value lower than 0.05 in the Config Trigger, the probability of the spell failing to work as intended is very likely. A warning could be released, advising users not to set the time interval to such a low value.

    Suggestions:


    • The rotation of the aura effect could be addressed, since it seems very odd to see it rotate by itself, and on such disparate angles (erratic turning).
    • Similarly, a fade-in mechanism could be introduced to the special effect, which would increase aesthetic appeal.
     
    Last edited: Sep 19, 2018
  4. Daffa the Mage

    Daffa the Mage

    Map Moderator

    Joined:
    Jan 30, 2013
    Messages:
    7,523
    Resources:
    26
    Packs:
    1
    Maps:
    8
    Spells:
    16
    Tutorials:
    1
    Resources:
    26
    Thank you for the review. Will be addressed soon. @MyPad

    EDIT :
    Addressed the bug issue with warning. As for the erratic turning, can't do much without making additional dummy. 2nd suggestion will cause a lost in backward compatibility.
     
    Last edited: Sep 20, 2018
  5. MyPad

    MyPad

    Spell Reviewer

    Joined:
    May 9, 2014
    Messages:
    1,221
    Resources:
    5
    Models:
    1
    Icons:
    1
    Spells:
    2
    JASS:
    1
    Resources:
    5
    Very well. I might add some more suggestions here.

    Suggestion/s:


    • A certain effect should be created when the Aura ends, since its' sudden disappearance makes it appear plain.


    However, if it turns out that my suggestions run contrary to what you envision as Tsukuyomi in Warcraft 3, you may disregard it.
     
  6. Daffa the Mage

    Daffa the Mage

    Map Moderator

    Joined:
    Jan 30, 2013
    Messages:
    7,523
    Resources:
    26
    Packs:
    1
    Maps:
    8
    Spells:
    16
    Tutorials:
    1
    Resources:
    26
    Odd I can't see the most recent post of @TheCarnerox unless it's the post above @MyPad's
    I can make it have some sort of quick mark of dissipation, if there's something to pick out. I'll think of it. The original one is just 'pop out' when it dies, and the aura wasn't suppose to even pop while channel originally.

    The first seconds reflect how this Tsukuyomi based on.


    Since the problem with the aura is the rotation, I will need a secondary dummy to handle the spell, as the aura erratic turn comes from the slow ability used to make enemies slowed down.
     
  7. Pyrogasm

    Pyrogasm

    Joined:
    Feb 27, 2007
    Messages:
    2,285
    Resources:
    0
    Resources:
    0
    Or use the new SFX move natives.
     
  8. Daffa the Mage

    Daffa the Mage

    Map Moderator

    Joined:
    Jan 30, 2013
    Messages:
    7,523
    Resources:
    26
    Packs:
    1
    Maps:
    8
    Spells:
    16
    Tutorials:
    1
    Resources:
    26
    That kills the backward compat. As much as I don't want to support earlier patches, pretty much it'll lower the usability of this spell.
     
  9. MyPad

    MyPad

    Spell Reviewer

    Joined:
    May 9, 2014
    Messages:
    1,221
    Resources:
    5
    Models:
    1
    Icons:
    1
    Spells:
    2
    JASS:
    1
    Resources:
    5
    There is an alternative. You can try using the dummy unit already provided by the Spell System, based on the code that I read.
     
  10. Daffa the Mage

    Daffa the Mage

    Map Moderator

    Joined:
    Jan 30, 2013
    Messages:
    7,523
    Resources:
    26
    Packs:
    1
    Maps:
    8
    Spells:
    16
    Tutorials:
    1
    Resources:
    26
    The dummy is used for SFX, though I can allocate my resources with a second dummy.
     
  11. Daffa the Mage

    Daffa the Mage

    Map Moderator

    Joined:
    Jan 30, 2013
    Messages:
    7,523
    Resources:
    26
    Packs:
    1
    Maps:
    8
    Spells:
    16
    Tutorials:
    1
    Resources:
    26
    Updated Tsukuyomi with 1.1. It now has a dissipate effect on caster (want to put it to dummy but it's sort of messy and will add complication due to removed unit erase effect) and has MUCH LESS erratic turns. Only when caster change facing direction it will turn now.
     
  12. MyPad

    MyPad

    Spell Reviewer

    Joined:
    May 9, 2014
    Messages:
    1,221
    Resources:
    5
    Models:
    1
    Icons:
    1
    Spells:
    2
    JASS:
    1
    Resources:
    5
    After further tests, I figured out why the bug occurs in the first place for such low values.

    If we take a look at this:

    • Tsukuyomi Config
      • Events
        • Map initialization
      • Conditions
      • Actions
        • -------- --------
        • -------- Do not put values below 0.20, there's a high chance of bug out on extremely low values like 0.05 --------
        • Set Spell__Time = 0.20
        • -------- Spell Duration is for channeling time --------
        • Set Spell__Duration = 4.00


    We can see that Spell__Duration is divisible by Spell__Time, thus enabling this trigger's after-effects. However, if we set Spell__Time to anything that, when used as the divisor, and Spell__Duration as the dividend, will leave a visible remainder (e.g. not result in a whole number)

    • Tsukuyomi Loop
      • Events
      • Conditions
      • Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Spell__Channeling Equal to False
          • Then - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • Spell__Completed Equal to True
              • Then - Actions
                • --- --- --- --- --- --- --- ---
                • --- More actions here ---
                • --- --- --- --- --- --- --- ---
              • Else - Actions
                • --- --- --- --- --- --- --- ---
                • --- More actions here ---
                • --- --- --- --- --- --- --- ---
          • Else - Actions


    So, going by these tests, we can conclude that the Spell__Duration, when negative, will never execute the inner portion of the trigger above (when Spell__Channeling is false).

    In a nutshell, 4.00/0.05 is OK, but 4.00/0.045 isn't (remainder).
     
  13. Daffa the Mage

    Daffa the Mage

    Map Moderator

    Joined:
    Jan 30, 2013
    Messages:
    7,523
    Resources:
    26
    Packs:
    1
    Maps:
    8
    Spells:
    16
    Tutorials:
    1
    Resources:
    26
    Interesting, so I now need to scan for duration bound too eh? Guess I got some more work here :D
     
  14. Directive255

    Directive255

    Joined:
    Nov 4, 2010
    Messages:
    2,260
    Resources:
    0
    Resources:
    0
    Oh wow, tis' some really awesome master-tier spell, with so many effects at once!

    Gonna make good use of it ;)
     
  15. Daffa the Mage

    Daffa the Mage

    Map Moderator

    Joined:
    Jan 30, 2013
    Messages:
    7,523
    Resources:
    26
    Packs:
    1
    Maps:
    8
    Spells:
    16
    Tutorials:
    1
    Resources:
    26
    Thanks! Really appreciate it!
     
  16. Daffa the Mage

    Daffa the Mage

    Map Moderator

    Joined:
    Jan 30, 2013
    Messages:
    7,523
    Resources:
    26
    Packs:
    1
    Maps:
    8
    Spells:
    16
    Tutorials:
    1
    Resources:
    26
    Added some debugging helper for users to circumvent this issue with 1.1.2 @MyPad
     
  17. MyPad

    MyPad

    Spell Reviewer

    Joined:
    May 9, 2014
    Messages:
    1,221
    Resources:
    5
    Models:
    1
    Icons:
    1
    Spells:
    2
    JASS:
    1
    Resources:
    5
    Re-examined the triggers and the same issue persists. However, I think that can be circumvented by having another variable determine the stage at which the spell is at, thereby making the test a lot easier, or doing something like this:

    • Tsukuyomi Loop
      • Events
      • Conditions
      • Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Spell__Channeling Equal to False
          • Then - Actions
          • Else - Actions
            • ...
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • Spell__Duration Less than or equal to 0.00
              • Then - Actions
                • Set Spell__Duration = (Spell__Duration mod Spell__Interval)
              • Else - Actions


    The important part of the second conditional statement within the else statement of the first conditional statement is that you ensure that no overflow occurs, (e.g.: Spell__Duration less than 0, which causes the spell to fail at that point, since a negative duration tells the system that the looped part of the spell is done)
     
  18. Daffa the Mage

    Daffa the Mage

    Map Moderator

    Joined:
    Jan 30, 2013
    Messages:
    7,523
    Resources:
    26
    Packs:
    1
    Maps:
    8
    Spells:
    16
    Tutorials:
    1
    Resources:
    26
    I see, so I need to circumvent that way eh? I was thinking of having user doing the fix with a debug message for spotting the issue.

    Sure, I'll arrange a fix.
     
  19. KILLCIDE

    KILLCIDE

    Administrator

    Joined:
    Jul 22, 2015
    Messages:
    3,485
    Resources:
    20
    Models:
    2
    Icons:
    10
    Spells:
    7
    Tutorials:
    1
    Resources:
    20
    Good use of Bribe's Spell System. The spell has a lot of configurables and given the number of Anime style maps in WC3, this can prove to be useful.

    Needs Fixed

    • Nothing

    Suggestions

    • Preload ability / effects used in the spell
    • I would add attachment point configurables for the SFX. Different effects may look good or bad depending on the attachment point.
    • Adjusting the facing angle of DummyUnitSFX gives me a huge headache. I'm not even sure why you would need to do that given the mechanics of the spell.

    Status


    Approved