help! I want to my dummy cast stun ability with 1-5 second duration ? Like in Dota chaos knight
May 22, 2009 #1 S Sonic New Member Reaction score 10 help! I want to my dummy cast stun ability with 1-5 second duration ? Like in Dota chaos knight
May 22, 2009 #2 E Expelliarmus Where to change the sig? Reaction score 48 Trigger: Chaos Bolt Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Chaos Bolt Actions <Create Dummy> Unit - Add Storm Bolt to (Last created unit) Unit - Set level of Storm Bolt for (Last created unit) to (Random integer number between 1 and 5) ...
Trigger: Chaos Bolt Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Chaos Bolt Actions <Create Dummy> Unit - Add Storm Bolt to (Last created unit) Unit - Set level of Storm Bolt for (Last created unit) to (Random integer number between 1 and 5) ...
May 22, 2009 #3 Komaqtion You can change this now in User CP. Reaction score 469 You could do this: First make you spell, then make a 5-level dummy spell, based on Storm Bolt, and change the duration of each level to 1 through 5. Then just use this trigger to make the stun: Trigger: Stun Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Stun Actions Set TempPoint = (Position of (Triggering unit)) Unit - Create 1 Dummy for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees Custom script: call RemoveLocation(udg_TempPoint) Unit - Add Stun (Dummy) to (Last created unit) Unit - Set level of Stun (Dummy) for (Last created unit) to (Random integer number between 1 and 5) Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Target unit of ability being cast)
You could do this: First make you spell, then make a 5-level dummy spell, based on Storm Bolt, and change the duration of each level to 1 through 5. Then just use this trigger to make the stun: Trigger: Stun Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Stun Actions Set TempPoint = (Position of (Triggering unit)) Unit - Create 1 Dummy for (Owner of (Triggering unit)) at TempPoint facing Default building facing degrees Custom script: call RemoveLocation(udg_TempPoint) Unit - Add Stun (Dummy) to (Last created unit) Unit - Set level of Stun (Dummy) for (Last created unit) to (Random integer number between 1 and 5) Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Target unit of ability being cast)