dannyminhduc
T.E.T.Я.I.S
- 20/1/09
- 616
- 39
Vậy với trigger rớt Items, mình có thể làm cho nó có tỷ lệ rớt đồ giống Items table không ạ?
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.

Events
Conditions
Actions
Set Chance = (Random real number between 1.00 and 100.00)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Chance Less than or equal to 10.00
Then - Actions
Else - Actions

Cho hỏi cái này:
_Làm sao để cho một unit vào một vùng nào đó sẽ bị làm chậm khả năng cast spell, tức là thời gian cast chiu đó lâu hơn bt ý. Cái này chả hiểu làm kiểu gì luôn:o
chưa thấy ai giúp :( update câu hỏi: làm sao để cho tất cả hero ( đang chơi thuộc force 1 ) tới 1 điểm .. như mấy event đi lấy tiền của XHero ý ạ .. em làm đủ kiểu tạo cả biến nó vẫn ko chịu :(
...................................

ko ai trả lời dùm em đc ah` ::(::(Khi Ta Cast A Thì mới dc cast B thì làm trigger thế nào![]()


Ai giải thích cho em khúc này với, ko hiểu tại sao nên dùng đoạn thứ 2 thay cho đoạn thứ 1 ?function Test takes nothing returns nothing
local string s = ""
//So the path will be nothing, so it won't show at all
if GetLocalPlayer() == Player(0) then
set s = "war3mapImported\\FX.mdl"
//An actual path, so it will have a path for that player but not for
//the other players
endif
call DestroyEffect(AddSpecialEffect(s,0.,0.))
endfunction
But according to some recent thread viewing, I found out that this has a chance of making the string table unsynced, thus we should do this instead:
function Test takes nothing returns nothing
local string s = "war3mapImported\\FX.mdl"
if GetLocalPlayer() != Player(0) then
set s = ""
endif
call DestroyEffect(AddSpecialEffect(s,0.,0.))
endfunction







