gini idennya , saya mau buat spell , dia basennya thunder clap, tp khusus buat hero yg bs kena thunder clap ini, AOEnya 99999, nah setelah kena thunderclap ini , maksudnya saya buat unit buat nyerang musuh yg kena thunder clap ini disekitar area musuh yg kena buff thunderclap ini.
ini contoh triggernya, tp kok unitnya ga bisa keluar di position hero musuh yg kena buffnya ya?
Koloni Kecoak
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Koloni Kecoak
Actions
Set Kecoakz = (Triggering unit)
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) belongs to an enemy of (Owner of Kecoakz)) Equal to True
((Picked unit) has buff Serbuan Kecoak ) Equal to True
Then - Actions
Unit - Create (((Level of Koloni Kecoak for (Triggering unit)) x 2) + 4) Kecoak for (Owner of Kecoakz) at (Position of (Picked unit)) facing Default building facing degrees
Else - Actions
Share This Thread