blink strike

windale5

New Member
Reaction score
2
can anyone tell me how to create blinkstrike like they have in DOTA on Rikimaru.
What it basically does is it blinks to the enemy and strikes him. If this requires trigger can i get it in code and i also need this spell to have 6 levels.
 

Hildagarn

Member
Reaction score
20
Trigger:
  • Events - Unit - Unit Begins the effect of an ability
    • Conditions -(ability being cast) equal to Blink Strike
    • Actions - Special Effect - Create a special effect at (position of casting unit)
      • Unit - Move (casting unit) instantly to (position of target of unit of ability being cast))
      • Animation - Play (casting Units) Attack Animation
      • Unit - Damage (ytarget unit of ability being cast for (damage)

You might want to throw some variables in there....like saving the positions of the units.

you could add a condition for a level, then just Copy Paste the ability 6 times and change the damage
 

Hellohihi

New Member
Reaction score
42
I would base blinkstrike off the ability channel.

This one trigger takes care of all level of the blinkstrike, and will deal damage accordingly to the level.

And has no leaks.

Trigger:
  • Untitled Trigger 002
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to BlinkStrike
    • Actions
      • Set Temp_Point = (Position of (Target unit of ability being cast))
      • Unit - Move (Triggering unit) instantly to Temp_Point
      • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing (30.00 x (Real((Level of BlinkStrike for (Triggering unit))))) damage of attack type Spells and damage type Normal
      • Custom script: call RemoveLocation(udg_Temp_Point)
 

Angel_Island

Much long, many time, wow
Reaction score
56
Use this trigger:
Trigger:
  • Blink Strike
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Blink Strike
    • Actions
      • Set TargetPosition = (Position of (Target unit of ability being cast)
      • Unit - Move (Triggering unit) instantly to TargetPosition
      • Unit - Cause (Triggering unit) to damage (Target unit of ability being cast) dealing (30 x (Real(Level of Blink Strike for (Triggering unit))) damage of attack type Hero and damage type Normal
      • Custom Script: call RemoveLocation(udg_TargetPosition)

EDIT: Damn it. Beaten:(
 

Igor_Z

You can change this now in User CP.
Reaction score
61
Nope, that isn't exacly correct... If u blink to an ally it doesn't suppose to DMG the target. Here is the trigger:
Trigger:
  • Events
    • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Blink Strike
    • Actions
      • Set Blink_Strike_Units[1] = (Triggering unit)
      • Set Blink_Strike_Units[2] = (Target unit of ability being cast)
      • Set Blink_Strike_Level = (Level of Blink Strike for Blink_Strike_Units[1])
      • Set Blink_Strike_Point = (Position of Blink_Strike_Units[2])
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Blink_Strike_Units[2] belongs to an enemy of (Owner of Blink_Strike_Units[1])) Equal to True
        • Then - Actions
          • Unit - Move Blink_Strike_Units[1] instantly to Blink_Strike_Point
          • Unit - Cause Blink_Strike_Units[1] to damage Blink_Strike_Units[2], dealing (30 x (Real(Blink_Strike_Level)))) damage of attack type Chaos and damage type Universal
          • Unit - Order Blink_Strike_Units[1] to Attack Blink_Strike_Units[2]
        • Else - Actions
          • Unit - Move Blink_Strike_Units[1] instantly to Blink_Strike_Point
      • Set Blink_Strike_Units[2] = No unit
      • Custom script: call RemoveLocation(udg_Blink_Strike_Point)
 

Angel_Island

Much long, many time, wow
Reaction score
56
Why do you need special effects? Rikimaru's blink strike doesn't have a special effect.
 

Igor_Z

You can change this now in User CP.
Reaction score
61
Nevermind... Ok, i will fix it... Just wanted to help him

EDIT: Better?
 

Anderzzon

Active Member
Reaction score
4
Err..? Rikis Blink Strike is the one in the game..? There is a non-custom. Just remake it as a hero ability.

/Anderzzon
 

ludnica

Long gone
Reaction score
61
/off
Please, refresh our weary minds, where can we find this ability. I'm eager to find out how can a normal ability get point X and Y and port the striking target behind the enemy.
 

Anderzzon

Active Member
Reaction score
4
Okei… this is awkward. I must have dreamt it or something. I could have sworn there is an blink strike ability in the game. Not that moves you behind the target per see but an blink strike never the less.

And also I didn't see him request that the ability moves you behind the target. Unless he means an exact replica of Rikis ability.

/Anderzzon
 

Igor_Z

You can change this now in User CP.
Reaction score
61
Oh, i made the spell for him... There is no blink strike ability in the object editor. It has to be triggered, based of Chain Lightning and using the trigger above...
 

Pyroflame

New Member
Reaction score
4
Igor Z; your code should work but don't you need to pause the unit before moving it, then unpausing after moving it.. Otherwise the cooldown won't fire and no mana will be charged.
 

WolfieeifloW

WEHZ Helper
Reaction score
372
In DotA it's based off channel.
And Rikimaru actually gets behind the unit.
And yes, at least in my experience also, you have to pause/unpause.
Without it is when the cooldown doesn't fire.
 

windale5

New Member
Reaction score
2
Question

What is blink strike level is it a ability or unit variable. Also what skill should I use as blink strike.
 

UndeadDragon

Super Moderator
Reaction score
447
Integer Variable and it doesn't really matter what skill it is based off, as long as it is a unit target spell.
 

PrisonLove

Hard Realist
Reaction score
78
Blink Strike level is an integer variable that stores the level of blink strike for the casting unit. Base it off channel, make life easy.
 

Igor_Z

You can change this now in User CP.
Reaction score
61
@ everyone: I tried the spell. If u base it off channel u need to pause/unpause but base it off chain lightning it works without the pause/unpause
 
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