Faerie Tale
Youtube Master Race
đây...được chưaMã:Double Tide Slide Events Time - Elapsed game time is 0.04 seconds Conditions Actions Unit Group - Pick every unit in Casters and do (Actions) Loop - Actions Set Caster = (Picked unit) Set Real[1] = (Load 0 of (Key (Picked unit)) from Hashtable) Set Real[1] = (Real[1] - 56.00) Set Real[2] = (Load 4 of (Key (Picked unit)) from Hashtable) Set Real[3] = (Load 1 of (Key (Picked unit)) from Hashtable) If (Real[1] Greater than or equal to Real[2]) then do (Set Real[3] = (Real[3] + 16.00)) else do (Set Real[3] = (Real[3] - 16.00)) Set Real[4] = (Load 2 of (Key (Picked unit)) from Hashtable) Set Real[5] = (Load 3 of (Key (Picked unit)) from Hashtable) Set Points[1] = (Position of Caster) Set Points[2] = (Points[1] offset by (Real(3)) towards (Real[4] - 90.00) degrees) Set Points[3] = (Points[1] offset by (Real(3)) towards (Real[4] + 90.00) degrees) Set Integer = 2 For each (Integer A) from 1 to 2, do (Actions) Loop - Actions Special Effect - Create a special effect at Points[Integer] using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl Special Effect - Destroy (Last created special effect) Set Enemies = (Units within 100.00 of Points[Integer] matching ((((Matching unit) is A structure) Not equal to True) and ((((Matching unit) has buff Double Tide ) Not equal to True) and ((((Matching unit) is Magic Immune) Not equal to True) and ((((Triggering unit) is A gr Unit Group - Pick every unit in Enemies and do (Actions) Loop - Actions Unit - Create 1 Dummy Unit for (Owner of Caster) at Points[2] facing Default building facing degrees Unit - Add a 2.00 second Generic expiration timer to (Last created unit) Unit - Add Dummy Slow to (Last created unit) Unit - Order (Last created unit) to Human Sorceress - Slow (Picked unit) Unit - Cause Caster to damage (Picked unit), dealing Real[5] damage of attack type Spells and damage type Normal Special Effect - Create a special effect attached to the origin of (Picked unit) using NetherStrike.mdx Special Effect - Destroy (Last created special effect) Custom script: call DestroyGroup(udg_Enemies) Set Integer = (Integer + 1) If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions Real[1] Greater than or equal to 0.00 Then - Actions Set Points[4] = (Points[1] offset by 56.00 towards Real[4] degrees) If ((Terrain pathing at Points[4] of type Walkability is off) Equal to True) then do (Unit - Move Caster instantly to Points[1]) else do (Unit - Move Caster instantly to Points[4]) Hashtable - Save Real[1] as 0 of (Key (Picked unit)) in Hashtable Hashtable - Save Real[3] as 1 of (Key (Picked unit)) in Hashtable Custom script: call RemoveLocation(udg_Points[4]) Else - Actions Hashtable - Clear all child hashtables of child (Key (Picked unit)) in Hashtable Animation - Change Caster's vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency Animation - Change Caster's size to (100.00%, 100.00%, 100.00%) of its original size Unit - Turn collision for Caster On Unit Group - Remove (Picked unit) from Casters Custom script: call RemoveLocation(udg_Points[1]) Custom script: call RemoveLocation(udg_Points[2]) Custom script: call RemoveLocation(udg_Points[3]) If ((Casters is empty) Equal to True) then do (Trigger - Turn off (This trigger)) else do (Do nothing)..
Skill lúc cast bị mất hero ..nó teo lại bé tí..không di chuyển..
Tớ chịu.
@Love...Story: Đọc 2 cái này có lẽ sẽ giải đáp đc tất cả câu hỏi của bạn:
http://forum.gamevn.com/showthread.php?t=485055
http://forum.gamevn.com/showthread.php?515441-Tutorial-Basics-of-Structs
1> Nhập đc. Nhưng khuyên là kô nên, nếu nó đã là GUI convert ra Jass thì cứ để GUI như ban đầu, bạn đừng convert làm gì.
2> Nếu là global của GUI ( viết trong Jass sẽ là udg_VariableName ) thì bắt buộc phải tạo biến trong "Ctrl + B" trước. Còn nếu global là global của Jass, VD:
Mã:
globals
integer I
endglobals
3> Đương nhiên là chỉ trong 1 function.
..








Camera cao hơn hero thì được chứ cái camera chỉ có thể xoay ngang là cao lắm rồi, sao chĩa lên trời được. Còn nữa, dùng chuột trái để xoay mình chỉ thấy duy nhất 1 map có, mà map đó đang làm chưa xong, bạn đòi hỏi cao quá 
ăn đao như chơi. Nếu mún skin khác thì có thể 