HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Blink Attack

08-04-2007, 09:01 PM#1
botanic
I have a spell that blinks a unit around and i want to make it evade damage that it would have gotten at the last location however that doesn't work it takes damage even the mele damage...

(Please don't say disable homing for all units i need that for other triggers )
Trigger:
Attack Fury
Collapse Events
Time - Every 0.45 seconds of game time
Conditions
Collapse Actions
Set Fury[1] = (Fury[1] + 1)
Set AttackFuryEffect = (Last created special effect)
Set L = (Position of Fury_Unit[2])
Set L_Region = (Region centered at L with size (500.00, 500.00))
Set PointArray[5] = (Random point in L_Region)
Unit - Move Fury_Unit[1] instantly to PointArray[5]
Wait 0.05 game-time seconds
Custom script: call RemoveLocation(udg_PointArray[5])
Custom script: call RemoveLocation(udg_L)
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
Fury[1] Less than or equal to Fury[2]
Collapse Then - Actions
Unit - Order Fury_Unit[1] to Attack Fury_Unit[2]
Collapse Else - Actions
Trigger - Turn off (This trigger)
08-05-2007, 10:24 AM#2
Pyritie
Do the melee units have projectile homing enabled? As most melee units have that turned off, you know.
08-05-2007, 10:26 AM#3
Histenchist
Add 100% evade?
Or make it invulnerable.
08-05-2007, 09:33 PM#4
botanic
for what amount of time would i need todo that for i dont want a "Target is invunerable" message to pop up

or i dont want it to still hit them if the evade is too short
08-06-2007, 12:00 PM#5
Pyritie
Just add evade to it, make it blink, and then remove evade. If you don't want it to show up on the UI, put it in a disabled spellbook.
08-06-2007, 09:20 PM#6
botanic
so if it has evade for a second it will still make the attacks miss even if when the projectile would hit it doesnt have evade?
08-07-2007, 08:29 AM#7
NightBreeze
Evade will work for melee attacks and instant projectiles. What you could do is detect ranged attack, check for the target and if it has your evasion buff. If it does you can give the attacker a curse debuff for a fraction of a second so that its attack will have a chance to miss.