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.
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
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
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
/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.
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.
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...
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.
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.
Ghan has said he has fixed this. Monovertex please confirm this fix. This was only a problem with people that had signatures in the upper levels like not the special members but the respected members.