Spell Shukuchi

RedRage

New Member
Reaction score
7
Gui - Yes
Mui- Don't think so
Leakless - Yes

Shukuchi (S)
Nerubian Weaver becomes invisible and has 522 move speed for 4 seconds. Any units passed through will take damage.
Level 1 - 13 second cooldown. 90 Damage.
Level 2 - 11 second cooldown. 100 Damage
Level 3 - 9 second cooldown. 110 Damage
Mana Cost: 60
Cooldown: 13/ 11/ 9


Code:
[CODE]Shukuchi Set
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Shukuchi - S 
    Actions
        Set ShukuchiCaster = (Triggering unit)
        Unit - Set ShukuchiCaster movement speed to 600.00
        Trigger - Turn on Shukuchi Effect <gen>
Shukuchi Effect
Events
Time - Every 0.20 seconds of game time
Conditions
Actions
Set ShukuchiCasterPoint = (Position of ShukuchiCaster)
Custom script: set bj_wantDestroyGroup = true
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(ShukuchiCaster has buff Shukuchi ) Equal to False
Then - Actions
Unit - Set ShukuchiCaster movement speed to (Default movement speed of ShukuchiCaster)
Unit Group - Remove all units from ShukuchiGroup
Trigger - Turn off (This trigger)
Else - Actions
Do nothing
Unit Group - Pick every unit in (Units within 100.00 of ShukuchiCasterPoint matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of ShukuchiCaster)) Equal to True) and (((Matching unit) is alive) Equal to True)))) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is in ShukuchiGroup) Not equal to True
Then - Actions
Unit Group - Add (Picked unit) to ShukuchiGroup
Unit - Cause ShukuchiCaster to damage (Picked unit), dealing (90.00 + (10.00 x (Real((Level of Shukuchi - S for ShukuchiCaster))))) damage of attack type Spells and damage type Normal
Special Effect - Create a special effect attached to the hand of (Picked unit) using Abilities\Spells\Human\Feedback\ArcaneTowerAttack.mdl
Special Effect - Destroy (Last created special effect)
Else - Actions
Do nothing
Custom script: call RemoveLocation(udg_ShukuchiCasterPoint)[/CODE]
 

Attachments

  • [Spell]Shukuchi.w3x
    19.6 KB · Views: 781

Sim

Forum Administrator
Staff member
Reaction score
534
> Custom script: call RemoveLocation(udg_ShukuchiCasterPoint)

This should be at the very end of the trigger.

Trigger objects named Untitled Trigger 001 and such aren't very descriptive... :p
 

Sim

Forum Administrator
Staff member
Reaction score
534
After the whole if-then-else and the unit group loop.
 

Sim

Forum Administrator
Staff member
Reaction score
534
It still isn't at the very end of the trigger.
 

hell_knight

Playing WoW
Reaction score
126
Uhh if I were you , Phoneix Fire, but with a duration as long as the spell lasts and it doing 0 damage per second.

But anyways nice spell.
 

Naminator

Coming Back To Life
Reaction score
76
You forget one thing. You have to remove all units from the Sukuchi Group. Also change the name of the triggers as Daxtreme told you, and fix the leaks.
So I can add this into the index.
 

Tinki3

Special Member
Reaction score
418
Good.

Though, the periodic trigger runs too slow. Change its interval to 0.1 and it works much better.
Code:
Shukuchi Effect
    Events
        Time - Every 0.10 seconds of game time
    Conditions
    Actions
        Set ShukuchiCasterPoint = (Position of ShukuchiCaster)
        Custom script:   set bj_wantDestroyGroup = true
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (ShukuchiCaster has buff Shukuchi ) Equal to False
            Then - Actions
                Unit - Set ShukuchiCaster movement speed to (Default movement speed of ShukuchiCaster)
                Unit Group - Remove all units from ShukuchiGroup
                Trigger - Turn off (This trigger)
            Else - Actions
                Do nothing
        Unit Group - Pick every unit in (Units within 100.00 of ShukuchiCasterPoint matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of ShukuchiCaster)) Equal to True) and (((Matching unit) is alive) Equal to True)))) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        ((Picked unit) is in ShukuchiGroup) Not equal to True
                    Then - Actions
                        Unit Group - Add (Picked unit) to ShukuchiGroup
                        Unit - Cause ShukuchiCaster to damage (Picked unit), dealing (90.00 + (10.00 x (Real((Level of Shukuchi - S  for ShukuchiCaster))))) damage of attack type Spells and damage type Normal
                        Special Effect - Create a special effect attached to the hand of (Picked unit) using Abilities\Spells\Human\Feedback\ArcaneTowerAttack.mdl
                        Special Effect - Destroy (Last created special effect)
                    Else - Actions
                        Do nothing
        Custom script:   call RemoveLocation(udg_ShukuchiCasterPoint)
The "Do nothing" actions aren't needed as they're doing nothing anyway.

Also, I don't think air units should be picked in the unit group - you should filter them out.

Otherwise, good :)
 

emjlr3

Change can be a good thing
Reaction score
395
this is not how its done in dota.....at all....you made this far to complicated
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top