dannyminhduc
T.E.T.Я.I.S
- 20/1/09
- 616
- 39
Cho em hỏi lệnh gọi con dummy cast spell Thunder Clap là gì vậy ạ? Em mò không ra???
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.
dummy có mana chưa , còn ko thì set mana và cooldown của thunderclap thành 0 là ok
lệnh cast thunderclap nè
Mã:Unit - Order (Triggering unit) to Human Mountain King - Thunder Clap
?Lù lù ở trang trước. Mắt mũi để đi đâu thế?
không ai chỉ tớ à Làm sao để Camera Bám Sát Theo Hero Như Kiểu Map WarChess Ý Ai Chỉ Với
2 trang trước có màCamera - Lock camera target for Player 1 (Red) to (Triggering unit), offset by (0.00, 0.00) using Default rotation
(Camera - Lock Camera Target To Unit)
.Unit - Issue Order With No Target
!
Cho em hỏi vị trí của số lượng các ô chứa của hero ở đâu trong worldedit vậy![]()

Em muốn xin dòng điều kiện "Unit x còn % HP" và "Unit x còn % MP" được không ạ!
Check Life and Mana
Events
-------- Events thì tự chọn -------
Conditions
Actions
-------- Check Life --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
[B](((Life of (Triggering unit))[/B] / [B](Max life of (Triggering unit)))[/B] x 100.00) Equal to 10.00
Then - Actions
-------- Thích làm gì thì làm --------
Else - Actions
-------- Check Mana --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
[B](((Mana of (Triggering unit))[/B] / [B](Max mana of (Triggering unit)))[/B] x 100.00) Equal to 10.00
Then - Actions
-------- Thích làm gì thì làm --------
Else - Actions
Circle Pit
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Circle Pit
Actions
[B]Set CirclePitTimes = (CirclePitTimes + 1)[/B]
Set CirclePitCaster = (Casting unit)
Set CirclePitTargetPoint = (Target point of ability being cast)
Set CirlcePitRegion = (Region centered at CirclePitTargetPoint with size (410.00, 400.00))
Set CirclePitStopGroup = (Units within 410.00 of CirclePitTargetPoint matching (((Matching unit) belongs to an enemy of (Owner of CirclePitCaster)) Equal to True))
Unit Group - Pick every unit in CirclePitStopGroup and do (Actions)
Loop - Actions
Set CirclePitStopVictim = (Picked unit)
Set CirclePitPickLoc = (Position of CirclePitStopVictim)
Unit Group - Remove CirclePitStopVictim from CirclePitGroup
Unit - Create 1 Dummy Human (Stand) for (Owner of CirclePitCaster) at CirclePitPickLoc facing Default building facing degrees
Unit - Add Circle Pit Effect (Senth) to (Last created unit)
Unit - Set level of Circle Pit Effect (Senth) for (Last created unit) to (Level of Circle Pit for CirclePitCaster)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Orc Raider - Ensnare CirclePitStopVictim
Custom script: call RemoveLocation(udg_CirclePitPickLoc)
For each (Integer A) from 1 to 16, do (Actions)
Loop - Actions
Set CirclePitPoint[((Integer A) + (CirclePitTimes x 16))] = (CirclePitTargetPoint offset by 365.00 towards (22.50 x (Real((Integer A)))) degrees)
Special Effect - Create a special effect at CirclePitPoint[((Integer A) + (CirclePitTimes x 16))] using Abilities\Spells\Undead\Graveyard\GraveMarker.mdl
Set CirclePitEffect[((Integer A) + (CirclePitTimes x 16))] = (Last created special effect)
Wait 6.00 seconds
Set CirlcePitRegion = No region
For each (Integer B) from 1 to 16, do (Actions)
Loop - Actions
[B]Special Effect - Destroy CirclePitEffect[((Integer B) + (CirclePitTimes x 16))][/B]