I got this skill where, when the character casts it (Its instant), the enemies around him will be pushed back. I was attempting to do it, but it won't work. Can you show me how would you do it?
if you don't want it to do what my dmg is just remove that part in the first trigger
Trigger:
Repulsion
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Repulsion
Actions
Set unitgroup_repulsion = (Units within 315.00 of (Position of (Triggering unit)) matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and (((Matching unit) is alive) Equal to True))))
Set unit_repulsion = (Triggering unit)
Set point_repulsion = (Position of unit_repulsion)
Unit Group - Pick every unit in unitgroup_repulsion and do (Actions)
Loop - Actions
Unit - Cause (Triggering unit) to damage (Picked unit), dealing ((Real((Intelligence of (Triggering unit) (Include bonuses)))) x 6.00) damage of attack type Chaos and damage type Universal
Unit Group - Add (Picked unit) to unitgroup_repulsion1
Unit Group - Pick every unit in unitgroup_repulsion1 and do (Actions)
Loop - Actions
Set point_repulsion1 = (Position of (Picked unit))
Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Undead\CarrionSwarm\CarrionSwarmDamage.mdl
Special Effect - Destroy (Last created special effect)
Unit - Move (Picked unit) instantly to (point_repulsion offset by ((Distance between point_repulsion and point_repulsion1) + 10.00) towards (Angle from point_repulsion to point_repulsion1) degrees)
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.