Shukuchi

FoxWizzy

New Member
Reaction score
3
Shukuchi is a D.O.T.A. spell
INFO :
Causes the Hero to move so fast as to become invisible. Any units passed through will take damage.

This is what i tryed :
Base spell : Wind Walk
AoE damage : Immoliation (Item)

Trigger:
  • Shukuchi
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Shukuchi
    • Actions
      • Unit - Add ShukuchiITEM to (Casting unit)
      • Unit - Set level of ShukuchiITEM for (Casting unit) to (Level of Shukuchi for (Casting unit))
      • Wait until (((Casting unit) has buff Shukuchi) Equal to False), checking every 1.00 seconds
      • Unit - Remove ShukuchiITEM from (Casting unit)


But ShukuchiITEM is removed right after i cast Shukuchi
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
1). Wait and Casting unit should clash horribly. Try using Triggering unit instead.
2). I don't think Immolation will have the desired effect. Imagine if you stood at the same spot without moving. Units around you would keep taking damage, instead of the single instance of damage.

I would suggest triggering the damage with hashtables. A unit group or two should do fine.
 

WolfieeifloW

WEHZ Helper
Reaction score
372
You need to periodically check for units in range of the triggering unit == enemy (And other conditions you want).

Also, the units can't take the damage more then once, so you'd probably have to add them to a group for three seconds or something, then remove them.
Then, in the spell also check if they're in the group or not, and if they are, don't damage them, but if they aren't, do your normal actions.

That's probably how I'd do it, anyways.
 

Dirac

22710180
Reaction score
147
If you're going to use a Wait go this way...

Wait (((Level of ability for unit)x2)+1) seconds
 

keychup

Active Member
Reaction score
34
Ah thats easy.
TRIGGER 1
EVENTS
A unit starts the effect of an ability
CONDITIONS
Ability being cast is equal to Shukuchi
ACTIONS
Set ShukuchiCaster: Casting Unit

TRIGGER 2
EVENTS
Every 0.2 seconds
CONDITIONS
ACTIONS
If:
If ShukuchiCaster has specific buff (Shukuchi buff)
Then:
Set UnitGroup: Units within 100 range of ShukuchiCaster:
Pick Every unit in UnitGroup and
-if:
picked unit has specific buff (Shukuchi buff) and Picked Unit is in ShukuchiTargetsGroup is not equal to true
-then:
--add picked unit to ShukuchiTargetsGroup
--Damage picked unit dealing X damage of attack type spell and damage type spell
-call DetroyGroup (udg_UnitGroup)
Else:
Set ShukuchiCaster: No Unit

ADIT: This is just rough
 

TheOverWhelm

Member
Reaction score
16
Wouldn't it be wise to do the event?
A Unit comes within 25 range of Unit
And GetTriggerUnit() would return the unit coming near.
It would work multiple times and a douche could patrol ontop an enemy unit.
Only issue would be if there is a damage bonus for the Unit that is the caster from higher levels.
You can't actually detect that unit without hardcoding it

Actually, you could give the Caster immolation anyways and have it be +1 range higher then the event and you could detect the buff level.
 

vypur85

Hibernate
Reaction score
803
Dota uses Phoenix Fire. If you noticed, affected units are buffed. The damage isn't triggered.

Create a Phoenix Fire ability. Set the cooldown to 0.01. Set Art - Missile speed to 0. Set duration to the duration of your Wind Walk skill, say, 3 seconds. Then trigger the ability addition. Base it off Wind Walk.

Code:
Event
 A unit Starts the effect of an ability
Condition
 Ability being cast Equal to Wind Walk
Actions
 Unit - Add Phoenix Fire to (Triggering unit)
 Unit - Set level of Phoenix Fire to (Level of (Ability being cast) for (Triggering unit))
 Wait 3.00 game-time seconds
 Unit - Remove Phoenix Fire from (Triggering unit)
 

WolfieeifloW

WEHZ Helper
Reaction score
372
You can't use a specific wait though, because you can prematurely come out of the spell by attacking or using an item.

Oh, and you'd need to check if the unit already has the buff, or else you could unlimitedly damage a single unit.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top