- Joined
- Apr 7, 2020
- Messages
- 32
Is there any reason this isn't working? I've done similar GUI triggers that changed attack range and it was successful.
I'd like to be able to modify a unit's Castpoint and Cast backswing through obtaining an item.
The trigger itself works, it's the two actions regarding the castpoint and cast backswing that do not work.
I'd like to be able to modify a unit's Castpoint and Cast backswing through obtaining an item.
The trigger itself works, it's the two actions regarding the castpoint and cast backswing that do not work.
-
broom handle blue
-
Events
-
Unit - A unit Acquires an item
-
-
Conditions
-
(Item-type of (Item being manipulated)) Equal to Ring of Protection +5
-
(Owner of (Hero manipulating item)) Equal to Player 1 (Red)
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Hero manipulating item) is A melee attacker) Equal to True
-
-
Then - Actions
-
Unit - Set Unit: (Hero manipulating item)'s Real Field: Animation - Cast Backswing ('ucbs') to Value: ((Unit: (Hero manipulating item)'s Real Field: Animation - Cast Backswing ('ucbs')) - 1.00)
-
Unit - Set Unit: (Hero manipulating item)'s Real Field: Animation - Cast Point ('ucpt') to Value: ((Unit: (Hero manipulating item)'s Real Field: Animation - Cast Point ('ucpt')) - 1.00)
-
-
Else - Actions
-
-
-
Last edited: