Okey, so I want my "Rexxar" to cast a shockwave that deals 50 (x lvl of ability) + 0.25 of str of hero, but I'm having trouble setting a point where the damage is done.
So I kinda didn't finish.. Pretty hopeless? This is pretty much nothing I think.. I can't imagine how selecting units in a line is done by triggers. I need a "pointing" in the right direction :S
You could just link to a similar spell-setup if you'd like
Ty for any help..
Code:
ShockWave
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Shockwave
Actions
Set SW_Target_loc = (Target point of ability being cast) ---- ?????
Set SW_Caster = (Triggering unit)
Set SW_Group[1] = (Units within 400.00 of (Target point of ability being cast) matching ((((Triggering unit) is A structure) Equal to False) and ((((Triggering unit) is alive) Equal to True) and (((Triggering unit) belongs to an enemy of (Owner of SW_Caster)) Equal to True)))) ???
Unit - Cause (Triggering unit) to damage SW_Units[1], dealing (((Real((Strength of SW_Caster (Include bonuses)))) x 0.25) + (50.00 x (Real((Level of Shockwave for SW_Caster))))) damage of attack type Spells and damage type Normal
Custom script: call RemoveLocation(udg_SW_Target_loc)
Custom script: call DestroyGroup(udg_SW_Group[1])
So I kinda didn't finish.. Pretty hopeless? This is pretty much nothing I think.. I can't imagine how selecting units in a line is done by triggers. I need a "pointing" in the right direction :S
You could just link to a similar spell-setup if you'd like
Ty for any help..