- Joined
- Jun 20, 2017
- Messages
- 380
I have an item that can use Bloodlust (Channel) on self or a friendly unit!
My problem is that if I use the item on the target, it still buffing me and not the target!
What I'm trying to achieve is an item that uses a channel ability or whatever which applies a buff to the target.
My problem is that if I use the item on the target, it still buffing me and not the target!
What I'm trying to achieve is an item that uses a channel ability or whatever which applies a buff to the target.
-
Bloodlust
-

Events
-


Unit - A unit Uses an item
-
-

Conditions
-


(Item-type of (Item being manipulated)) Equal to Bloodlust
-
-

Actions
-


-------- Setup --------
-


Set VariableSet TriggeringUnit = (Triggering unit)
-


Set VariableSet OwnerOfUnitPlayer = (Owner of TriggeringUnit)
-


-------- --------
-


-------- Setup Point --------
-


Set VariableSet PositionOfUnit = (Position of TriggeringUnit)
-


-------- --------
-


-------- Setup Dummy --------
-


Unit - Create 1 Dummy Bloodlust for OwnerOfUnitPlayer at PositionOfUnit facing Default building facing degrees
-


Set VariableSet LastCreatedUnit = (Last created unit)
-


Unit - Add a 0.50 second Generic expiration timer to LastCreatedUnit
-


-------- --------
-


-------- Cast Bloodlust --------
-


Unit - Add Bloodlust [Dummy] to LastCreatedUnit
-


Unit - Set level of Bloodlust [Dummy] for LastCreatedUnit to (Level of Channel [Custom] for TriggeringUnit)
-


Unit - Order LastCreatedUnit to Orc Shaman - Bloodlust TriggeringUnit
-


-------- --------
-


Custom script: call RemoveLocation(udg_PositionOfUnit)
-
-

