Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
How to create the skill which is similar to Earthshaker's skill Enchant Totem (increases damage and lasts only for 1 attack) using simple GUI?
Thank you.
Twohand Quicken

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to Enchant Totem

Actions


Set tempLoc = (Position of (Triggering unit))


Unit - Create 1 Dummy for (Triggering player) at tempLoc facing Default building facing degrees


Unit - Add a 1.00 second Generic expiration timer to (Last created unit)


Unit - Add Inner Fire to (Last created unit)


Unit - Set level of Inner Fire for (Last created unit) to (Level of Enchant Totem for (Triggering unit))


Unit - Order (Last created unit) to Human Priest - Inner Fire (Triggering unit)


Custom script: call RemoveLocation(udg_tempLoc)
Sa Damage

Events


Game - DamageEvent becomes Equal to 1.00

Conditions


(DamageEventTarget has buff Enchant Totem ) Equal to True

Actions


Unit - Remove Enchant Totem buff from DamageEventSource
When you want to create unit somewhere, you also create a location (e.g. you create dummy at (position of (triggering unit)) - this creates new location and upon it you create dummy). Each location takes a bit of your pc's memory.One short question. As I am very very new to World Editor, why is it necessary to put the action of custom script: call RemoveLocation(udg_tempLoc)?
I mean the variables: DamageEvent, DamageEventTarget, DamageEventSource, what should I set or what should I do with them?
Those variables, I have to make it myself? It's tough...