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.
Cho mình hỏi cách đổi màu của water trong terrain
Spell ko hoạt động ở phần set group. Nếu group = rỗng thì loop chạy suôn sẻ, nhưng nếu có unit trong group thì loop của bạn sẽ ngừng.mọi người coi dùm cái skill tạo bằng trigger của ngoc nhé , không biết lỗi ở đâu nữa
line : http://maxup.vn/tai-ve/rlelm88v8ey3pme/hero&evil.w3x.html
ngoc muốn tạo một skill tạo damage xung quanh nhân vật, mở một máp mới làm skill đẹp lắm má sao copy vô map của ngoc lại bị lỗi , mọi người coi dùm ngoc nhé , có một con tướng tên thử nghiệm ở ngoài , skill tên là aura power of holy , trigger nằm trong thư mục ability !!!
gggg
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Aura power of holy (special)
Actions
Set cast = (Triggering unit)
Set point[1] = (Position of cast)
For each (Integer A) from 1 to 100, do (Actions)
Loop - Actions
Set point[2] = (point[1] offset by 300.00 towards (3.60 x (Real((Integer A)))) degrees)
Special Effect - Create a special effect at point[2] using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_point[2])
Set range = (Units within 800.00 of point[1] matching (((Matching unit) is A Hero) Equal to False))
Unit Group - Pick every unit in range and do (Actions)
Loop - Actions
Unit - Cause cast to damage (Picked unit), dealing 20000000.00 damage of attack type Spells and damage type Normal
Custom script: call DestroyGroup(udg_range)
Custom script: call RemoveLocation(udg_point[1])
Spell ko hoạt động ở phần set group. Nếu group = rỗng thì loop chạy suôn sẻ, nhưng nếu có unit trong group thì loop của bạn sẽ ngừng.
Tớ chỉ sửa để spell bạn có thể hoạt động theo cách đơn giản nhất: đầu tiên tạo 100 effects Thunder Clap và sau đó gây damage cho các unit trong AoE bán kính 800 (=300 + 500, AoE sẽ có chênh lệch 1 tí so với spell gốc).
[spoil][/spoil]Mã:gggg Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Aura power of holy (special) Actions Set cast = (Triggering unit) Set point[1] = (Position of cast) For each (Integer A) from 1 to 100, do (Actions) Loop - Actions Set point[2] = (point[1] offset by 300.00 towards (3.60 x (Real((Integer A)))) degrees) Special Effect - Create a special effect at point[2] using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl Special Effect - Destroy (Last created special effect) Custom script: call RemoveLocation(udg_point[2]) Set range = (Units within 800.00 of point[1] matching (((Matching unit) is A Hero) Equal to False)) Unit Group - Pick every unit in range and do (Actions) Loop - Actions Unit - Cause cast to damage (Picked unit), dealing 20000000.00 damage of attack type Spells and damage type Normal Custom script: call DestroyGroup(udg_range) Custom script: call RemoveLocation(udg_point[1])
Muốn hoàn chỉnh hơn theo ý đồ spell gốc (hay theo tôi hiểu..blah blah) thì thay vì dùng loop như thế thì tạo thêm 1 trigger chạy theo thời gian và tạo effect + gây damage.
Ai làm hộ em skill Ominislash của Yurnero trong DotA nhưng nó chỉ chém 1 thằng chứ ko nhảy sang thằng khác đc ko? (= GUI nhé) Em thanks trước.
.
Mình chưa chơi Dota nên cũng không tưởng tượng được nó như nào,chỉ nghe nói vào game pick Hero rồi chọn Ability cho Hero đó. Mà không biết gán cho Hero qua trigger như nào để vẫn learn được

Đây. Có 3 kiểu trong đó. Nhưng nói thật tôi khuyên nên làm cách như post trên thì hơn, vì set group từ các điểm như vậy thì AoE chả khác nhau gì cả, mà spell chạy "ít khó khăn" hơn.vậy bạn cho ngoc xin cái trgger chạy theo thơi gian lun nha , lấy map của ngoc cũng dược , khỏi phải tạo map mới !!
thân !!!
Dota LOD nó làm kiểu gì vậy mọi ngườiMình chưa chơi Dota nên cũng không tưởng tượng được nó như nào,chỉ nghe nói vào game pick Hero rồi chọn Ability cho Hero đó. Mà không biết gán cho Hero qua trigger như nào để vẫn learn được
![]()
Phải chăng dùng trigger enable ability for player,còn add Ability thì dùng event Unit buy a item hoặc Unit sell a unit rồi gán Ability ?
Ai biết thì vui lòng chỉ mình hướng để làm với![]()
)

Mã:Alpha Events Unit - A unit Learns a skill Conditions Actions Set TempLoc = (Position of (Learning Hero)) Destructible - Pick every destructible within 200.00 of TempLoc and do (Actions) Loop - Actions Destructible - Kill (Picked destructible) Memory Leak - Remove TempLoc
Có ai chỉ dùm em cách cộng tiền khi giết 1 unit của player khác được ko? Nếu có map demo thì càng tốt. Thanks trước!
Cho mình hỏi có cách nào thay đổi pitch/roll của unit bằng trigger ko?

Hướng dẫn pick hero skill
)E chuyển spell Slow Aura từ unit thành hero nhưng khi learn skill rùi thì nó lại ko xuất hiện skill aura đó khác phục dùm e ? tương tự e muốn hỏi cách làm ngược lại ? thanks
Ai zup e voi :( cai spell slow aura no' khong hien Icon voi lai chi e cach lam nguoc lai di
Cho em hỏi cái này tí:
Lúc vừa pick hero xong, nó chỉ hiện lên dòng chữ " has chosen Kingdra" thôi, ko có tên của player vừa pick.Mã:Pick Events Unit - A unit Sells a unit Conditions ((Sold unit) is A Hero) Equal to True Actions Player Group - Pick every player in (All players) and do (Actions) Loop - Actions Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by (Picked player) [B][COLOR="#FF0000"] Game - Display to (All allies of (Picked player)) the text: (((Name of (Triggering player)) + has chosen) + (Name of (Sold unit)))[/COLOR][/B] Selection - Select (Sold unit) for (Owner of (Sold unit))
Game - Display to (All allies of (Picked player)) the text: (((Name of (Owner of (Sold unit))) + has chosen) + (Name of (Sold unit)))