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.
Infernal
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Summon Infernal
Actions
[COLOR="Red"]Set Units = (Triggering unit)
Set Ability_muon_hoc[(Player number of (Owner of Units))] = Inferno[/COLOR]
[COLOR="Blue"]Set Ability_can_hoc1[(Player number of (Owner of Units))] = Firebolt
Set Ability_can_hoc2[(Player number of (Owner of Units))] = Raise Dead[/COLOR]
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
[COLOR="Red"](Level of Ability_muon_hoc[(Player number of (Owner of Units))] for (Triggering unit)) Less than 1
(Level of Ability_can_hoc1[(Player number of (Owner of Units))] for (Triggering unit)) Greater or equal to 1
(Level of Ability_can_hoc2[(Player number of (Owner of Units))] for (Triggering unit)) Greater or equal to 1[/COLOR]
Then - Actions
Unit - Add Ability_muon_hoc[(Player number of (Owner of Units))] to (Triggering unit)
Game - Display to (Player group((Owner of Units))) for 10.00 seconds the text: You have bought the...
Else - Actions
Game - Display to (Player group((Owner of Units))) for 5.00 seconds the text: You already have th...
Player - Add 350 to (Owner of Units) Current lumber
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Inferno
Actions
[COLOR="Red"]Set Units = (Triggering unit)
Set Ability_muon_hoc[(Player number of (Owner of Units))] = Inferno
Set Ability_can_hoc1[(Player number of (Owner of Units))] = Firebolt
Set Ability_can_hoc2[(Player number of (Owner of Units))] = Raise Dead[/COLOR]
[COLOR="Blue"]If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Ability_can_hoc1[(Player number of (Owner of Units))] for (Triggering unit)) Greater or equal to 1
(Level of Ability_can_hoc2[(Player number of (Owner of Units))] for (Triggering unit)) Greater or equal to 1
Then - Actions
Do nothing.
Else - Actions
Game - Display to (Player group((Owner of Units))) for 5.00 seconds the text: You don't have 2 basic spell to learn
Skip Remaining action.
[/COLOR]
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Ability_muon_hoc[(Player number of (Owner of Units))] for (Triggering unit)) Less than 1
Then - Actions
Unit - Add Ability_muon_hoc[(Player number of (Owner of Units))] to Units
Game - Display to (Player group((Owner of Units))) for 10.00 seconds the text: Inferno Learned...
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Ability_muon_hoc[(Player number of (Owner of Units))] for Units) Less than 3
Then - Actions
Unit - Increase level of Ability_muon_hoc[(Player number of (Owner of Units))] for Units
Game - Display to (Player group((Owner of Units))) for 5.00 seconds the text: (Infernal's Level + ( is + ( + (String((Level of Infenal for Units))))))
Else - Actions
Game - Display to (Player group((Owner of Units))) for 5.00 seconds the text: This spell is already max
Player - Add 100 to (Owner of Units) Current lumber
Sao mình làm ko đc, bạn giúp đi, mình chỉ cần Single Target Spell, add buff bất kì vào target là đc.
Unit - Create 1 dummy for Lonewolf at MyPoint facing Default degrees
Unit - Add Slow to (Last created unit)
Unit - Set level of Slow for (Last created unit) to 10
Unit - Order (Last created unit) to Slow MyTarget
Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
Thế bạn cứ làm cho mình skill critical aura theo ý của bạn cũng được ,rồi mình xem sau :)
Nếu là bảng Counddown Time ( Thời gian game or even), thì dùng cái Pause All Countdown Time là mọi bảng thời gian đều stop lại hết.Nếu sử dụng trigger on/off thì không có tác dụng bạn ạ. Mình thử rồi. Nếu dùng on/off time game vẫn chạy.

cảm ơn bạn rất nhìu, mà sao mình thanks hok đc, Bâm vào dấu ngôi sao nó báo cái gì ák @@^
^ Butcher, copy cũng là vấn đề đấy
Toàn bộ thứ bạn từng yêu cầu, mất cả chiều mới xong. Quên cập nhập trong chú ý nên nói ở đây:
1_ Spell Blink thay tí effect
2_ThunderClap với Knockback
3_Di chuyển vào khu vực bằng xa phu, giới hạn level.
4_3 nhiệm vụ khác nhau: giết creep theo số lượng; giết hero; tổng hợp (giết hero+nhặt item). Kiểm tra Quest ở F9
View attachment 129580
@LeoNguyen: ông thử với model tướng khác xem, nếu được thì lỗi model tướng, nếu nó vẫn xa thì bỏ cái kiếm ấy cho rồi @@, muốn níu kéo thêm thì thỉnh ông raivor chắc được đấy![]()
Theo như phương diện của mình thì ko thế đc, tại khi đã đặt every xxx seconds, thì khi vào game là nó chạy dù on hay off, off chỉ là tắt ảo nhưng xxx vẫn chạy, nên khi on lại thì nó ko thể theo ý mình mà theo chu kỳ của nóBạn không hiểu ý mình hỏi rồi. Nghĩa là có event Time- Every xxx seconds of game time.
Khi turn off thì time vẫn chạy nên khi mở on nếu đùng thời điểm thì nó chạy luôn không như mình mong muốn.
Nghĩa là ở đây dùng time game đó. Có cách nào dừng nó lại không? Hay là phải tạo countdown time. :(




Bạn không hiểu ý mình hỏi rồi. Nghĩa là có event Time- Every xxx seconds of game time.
Khi turn off thì time vẫn chạy nên khi mở on nếu đùng thời điểm thì nó chạy luôn không như mình mong muốn.
Nghĩa là ở đây dùng time game đó. Có cách nào dừng nó lại không? Hay là phải tạo countdown time. :(
Vậy còn 3 câu này hic hic :
1.Bác nào chỉ kĩ lưỡng cho em về ý nghĩa và cách dùng của Action - For each Integer A (hay B gì đó) from x => y, do.....
2.Làm thế nào để tạo 1 Trigger có dạng % chance thực hiện: ví dụ như hero cast spell, 90% là target mất 200HP, 10% là target chết luôn
3.Làm thế nào để set Varible = damage của unit.
Action - For each (Integer A) from 1 to 10 do (Actions)
Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default buiding facing degrees
Set Dummy(Integer A) = (Last Created Unit)

Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to (tên ability, ở đây mình dùng Storm Bolt)
Actions
If....
If - Conditions
(Random integer number between 1 and 100) Less than or equal to 90
Then - Actions
Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) - 200)
Else - Actions
Unit - Kill (Target unit of ability being cast)
Set (biến dmg) = ((Streng of (Triggering unit)(Exclude bonuses)) + (2 x 6))