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.
xin hỏi các bác về striger player nào giết được 1000 con creep đầu tiên sẽ được move đánh boss ?
Untitled Trigger 001
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to False
Actions
Set Integer = (Integer + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer Equal to 1000
Then - Actions
Unit - Move (Killing unit) instantly to (Center of (Playable map area))
Else - Actions
Integer Là tên biến, type là integer.
Mã:Untitled Trigger 001 Events Unit - A unit Dies Conditions ((Dying unit) is A Hero) Equal to False Actions Set Integer = (Integer + 1) If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions Integer Equal to 1000 Then - Actions Unit - Move (Killing unit) instantly to (Center of (Playable map area)) Else - Actions
bác nào cho em hỏi làm sao để khi giết 1 con boss nào đó sẽ rơi ra đồ đúng bằng số lượng người chơi. vd giết con boss xong rơi ra 1 viên đá 3 người chơi rơi 3 viên 4 người thì rơi 4 viên .
---------- Post added at 22:08 ---------- Previous post was at 21:49 ----------
bác ởi em hỏi tí . em làm theo cái triger của bác xuất hiện 1 lỗi là . 1000 creep ở đây là tính tổng của tất cả player và thằng nào last hit dc con thứ 1000 thì được vào even . em muốn 1000 creep của riêng từng player và ai giết được 1000 con trước thì hero của player đấy vô event và refresh lại skill của hero đó ........ em test thì 2 thằng đánh được 1000 con con đệ nó last hit con 1000 bay vô event mới đau
Untitled Trigger 001
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Set Integer = (Number of players in (All players matching (((Picked player) slot status) Equal to Is playing)))
Untitled Trigger 001
Events
Unit - A unit Dies
Conditions
Actions
For each (Integer A) from 1 to Integer, do (Actions)
Loop - Actions
Item - Create Tome of Experience at (Center of (Playable map area))

Untitled Trigger 001
Events
Unit - A unit Dies
Conditions
Actions
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Killing unit)) Equal to (Player((Integer A)))
Then - Actions
Set integer[(Integer A)] = (integer[(Integer A)] + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
integer[(Integer A)] Equal to 1000
Then - Actions
Unit - Move (Killing unit) instantly to (Center of (Playable map area))
Else - Actions
Skip remaining actions
Else - Actions

Các bác cho em hỏi cái random % ghép đồ của em có sai không vậy mà sao khi em để ở giá trị 80 thì toàn ra đồ +5 còn để >85 thì lại toàn ra đồ +4 . tiện thể bác nào có striger ghép đồ theo % share em luôn với
![]()
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 100) Less than or equal to 80
Then - Actions
-------- Then --------
Else - Actions
-------- Else --------
thử để thế xem
nhớ việc random khi chơi single có thể toàn là bị cùng giá trị random ra chỉ chơi mang lan hay online(garena) thì giá trị nó luôn luôn ngẫu nhiênMã:If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Random integer number between 1 and 100) Less than or equal to 80 Then - Actions -------- Then -------- Else - Actions -------- Else --------