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.
không khó thì làm đi?![]()



Quái khi Hero skill phải là 1 trong 1 màu, nếu để màu đen thì hay bị thế, lv ko lên đc nữaCho mình hỏi, làm thế nào để Hero có thể lên được lvl 100 vậy?:( Không hiểu sao mình làm map mà lvl chỉ max đến 66 thôi @ @ mặc dù mình đã thay đổi thông tin trong phần Gamplay Constants rồi :(.
Ý cậu là sao, mình không hiểu lắm. Ý cậu là thay đổi màu sắc cho tên của quái hả ?Quái khi Hero skill phải là 1 trong 1 màu, nếu để màu đen thì hay bị thế, lv ko lên đc nữa
Ví dụ như mấy map Defense ng` ta hay cho player máu nâu là kẻ gian, còm mau xám là bên Defense, bạn làm trong map các quái train lv đều là màu nâu thì sẽ lên Lv hoài, còn nếu để quái là màu đen Neutral Hostion rì đó thì hay bị đúng LvÝ cậu là sao, mình không hiểu lắm. Ý cậu là thay đổi màu sắc cho tên của quái hả ?
Ra là thếVí dụ như mấy map Defense ng` ta hay cho player máu nâu là kẻ gian, còm mau xám là bên Defense, bạn làm trong map các quái train lv đều là màu nâu thì sẽ lên Lv hoài, còn nếu để quái là màu đen Neutral Hostion rì đó thì hay bị đúng Lv
mình hiểu rồi :) cảm ơn bạn.
: http://www.thehelper.net/forums/showthread.php/57735-Hero-and-Creep-Revive-Item-Combiner-2?p=178548 Events
Map initialization
Conditions
Actions
Set Exort1 = Sphere - Exort 1
Set Exort2 = Sphere - Exort 2
Set Exort3 = Sphere - Exort 3
Set Quas1 = Sphere - Quas 1
Set Quas2 = Sphere - Quas 2
Set Quas3 = Sphere - Quas 3
Set Wex1 = Sphere - Wex 1
Set Wex2 = Sphere - Wex 2
Set Wex3 = Sphere - Wex 3
Set InvokeSpells[3] = Blizzard [QQQ] (Invoke)
Set InvokeSpells[12] = Ghost Walk [QQW]
Set InvokeSpells[21] = Storm Bolt [QWW] (Invoke)
Set InvokeSpells[30] = Alacrity (WWW)
Set InvokeSpells[102] = Siphon Mana [QQE] (Invoke)
Set InvokeSpells[111] = Banish [QWE] (Invoke)
Set InvokeSpells[120] = Holy Light [WWE] (Invoke)
Set InvokeSpells[201] = Divine Shield [QEE] (Invoke)
Set InvokeSpells[210] = Flame Strike [WEE] (Invoke)
Set InvokeSpells[300] = Phoenix [EEE] (Invoke)
Events
Time - Elapsed game time is 0.50 seconds
Conditions
Actions
Unit Group - Pick every unit in (Units owned by Player 1 (Red) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
Loop - Actions
Unit - Add Invoker Spell Book to (Picked unit)
Player - Disable Invoker Spell Book for (Owner of (Picked unit))
Trigger - Turn off (This trigger)
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Quas
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SphereCheck[(Player number of (Owner of (Triggering unit)))] Equal to 3
Then - Actions
Set SphereCheck[(Player number of (Owner of (Triggering unit)))] = 1
Else - Actions
Set SphereCheck[(Player number of (Owner of (Triggering unit)))] = (SphereCheck[(Player number of (Owner of (Triggering unit)))] + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SphereCheck[(Player number of (Owner of (Triggering unit)))] Equal to 1
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SphereValue1[(Player number of (Owner of (Triggering unit)))] Equal to 0
Then - Actions
Set SphereValue1[(Player number of (Owner of (Triggering unit)))] = 1
Set Sphere1[(Player number of (Owner of (Triggering unit)))] = Quas1
Unit - Add Sphere1[(Player number of (Owner of (Triggering unit)))] to (Triggering unit)
Trigger - Run Instance Counting <gen> (checking conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SphereValue1[(Player number of (Owner of (Triggering unit)))] Equal to 10
Then - Actions
Set SphereValue1[(Player number of (Owner of (Triggering unit)))] = 1
Unit - Remove Sphere1[(Player number of (Owner of (Triggering unit)))] from (Triggering unit)
Set Sphere1[(Player number of (Owner of (Triggering unit)))] = Quas1
Unit - Add Sphere1[(Player number of (Owner of (Triggering unit)))] to (Triggering unit)
Trigger - Run Instance Counting <gen> (checking conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SphereValue1[(Player number of (Owner of (Triggering unit)))] Equal to 100
Then - Actions
Set SphereValue1[(Player number of (Owner of (Triggering unit)))] = 1
Unit - Remove Sphere1[(Player number of (Owner of (Triggering unit)))] from (Triggering unit)
Set Sphere1[(Player number of (Owner of (Triggering unit)))] = Quas1
Unit - Add Sphere1[(Player number of (Owner of (Triggering unit)))] to (Triggering unit)
Trigger - Run Instance Counting <gen> (checking conditions)
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SphereCheck[(Player number of (Owner of (Triggering unit)))] Equal to 2
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SphereValue2[(Player number of (Owner of (Triggering unit)))] Equal to 0
Then - Actions
Set SphereValue2[(Player number of (Owner of (Triggering unit)))] = 1
Set Sphere2[(Player number of (Owner of (Triggering unit)))] = Quas2
Unit - Add Sphere2[(Player number of (Owner of (Triggering unit)))] to (Triggering unit)
Trigger - Run Instance Counting <gen> (checking conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SphereValue2[(Player number of (Owner of (Triggering unit)))] Equal to 10
Then - Actions
Set SphereValue2[(Player number of (Owner of (Triggering unit)))] = 1
Unit - Remove Sphere2[(Player number of (Owner of (Triggering unit)))] from (Triggering unit)
Set Sphere2[(Player number of (Owner of (Triggering unit)))] = Quas2
Unit - Add Sphere2[(Player number of (Owner of (Triggering unit)))] to (Triggering unit)
Trigger - Run Instance Counting <gen> (checking conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SphereValue2[(Player number of (Owner of (Triggering unit)))] Equal to 100
Then - Actions
Set SphereValue2[(Player number of (Owner of (Triggering unit)))] = 1
Unit - Remove Sphere2[(Player number of (Owner of (Triggering unit)))] from (Triggering unit)
Set Sphere2[(Player number of (Owner of (Triggering unit)))] = Quas2
Unit - Add Sphere2[(Player number of (Owner of (Triggering unit)))] to (Triggering unit)
Trigger - Run Instance Counting <gen> (checking conditions)
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SphereCheck[(Player number of (Owner of (Triggering unit)))] Equal to 3
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SphereValue3[(Player number of (Owner of (Triggering unit)))] Equal to 0
Then - Actions
Set SphereValue3[(Player number of (Owner of (Triggering unit)))] = 1
Set Sphere3[(Player number of (Owner of (Triggering unit)))] = Quas3
Unit - Add Sphere3[(Player number of (Owner of (Triggering unit)))] to (Triggering unit)
Trigger - Run Instance Counting <gen> (checking conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SphereValue3[(Player number of (Owner of (Triggering unit)))] Equal to 10
Then - Actions
Set SphereValue3[(Player number of (Owner of (Triggering unit)))] = 1
Unit - Remove Sphere3[(Player number of (Owner of (Triggering unit)))] from (Triggering unit)
Set Sphere3[(Player number of (Owner of (Triggering unit)))] = Quas3
Unit - Add Sphere3[(Player number of (Owner of (Triggering unit)))] to (Triggering unit)
Trigger - Run Instance Counting <gen> (checking conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SphereValue3[(Player number of (Owner of (Triggering unit)))] Equal to 100
Then - Actions
Set SphereValue3[(Player number of (Owner of (Triggering unit)))] = 1
Unit - Remove Sphere3[(Player number of (Owner of (Triggering unit)))] from (Triggering unit)
Set Sphere3[(Player number of (Owner of (Triggering unit)))] = Quas3
Unit - Add Sphere3[(Player number of (Owner of (Triggering unit)))] to (Triggering unit)
Trigger - Run Instance Counting <gen> (checking conditions)
Else - Actions
Else - Actions
Events
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Set InvokeInteger[(Player number of (Picked player))] = (SphereValue1[(Player number of (Picked player))] + (SphereValue2[(Player number of (Picked player))] + SphereValue3[(Player number of (Picked player))]))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 1
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 1
Set ExortInstances[(Player number of (Picked player))] = 0
Set WexInstances[(Player number of (Picked player))] = 0
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 2
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 2
Set ExortInstances[(Player number of (Picked player))] = 0
Set WexInstances[(Player number of (Picked player))] = 0
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 3
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 3
Set ExortInstances[(Player number of (Picked player))] = 0
Set WexInstances[(Player number of (Picked player))] = 0
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 10
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 0
Set ExortInstances[(Player number of (Picked player))] = 0
Set WexInstances[(Player number of (Picked player))] = 1
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 11
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 1
Set ExortInstances[(Player number of (Picked player))] = 0
Set WexInstances[(Player number of (Picked player))] = 1
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 12
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 2
Set ExortInstances[(Player number of (Picked player))] = 0
Set WexInstances[(Player number of (Picked player))] = 1
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 20
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 0
Set ExortInstances[(Player number of (Picked player))] = 0
Set WexInstances[(Player number of (Picked player))] = 2
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 21
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 1
Set ExortInstances[(Player number of (Picked player))] = 0
Set WexInstances[(Player number of (Picked player))] = 2
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 30
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 0
Set ExortInstances[(Player number of (Picked player))] = 0
Set WexInstances[(Player number of (Picked player))] = 3
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 100
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 0
Set ExortInstances[(Player number of (Picked player))] = 1
Set WexInstances[(Player number of (Picked player))] = 0
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 101
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 1
Set ExortInstances[(Player number of (Picked player))] = 1
Set WexInstances[(Player number of (Picked player))] = 0
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 102
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 2
Set ExortInstances[(Player number of (Picked player))] = 1
Set WexInstances[(Player number of (Picked player))] = 0
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 110
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 0
Set ExortInstances[(Player number of (Picked player))] = 1
Set WexInstances[(Player number of (Picked player))] = 1
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 111
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 1
Set ExortInstances[(Player number of (Picked player))] = 1
Set WexInstances[(Player number of (Picked player))] = 1
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 120
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 0
Set ExortInstances[(Player number of (Picked player))] = 1
Set WexInstances[(Player number of (Picked player))] = 2
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 200
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 0
Set ExortInstances[(Player number of (Picked player))] = 2
Set WexInstances[(Player number of (Picked player))] = 0
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 201
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 1
Set ExortInstances[(Player number of (Picked player))] = 2
Set WexInstances[(Player number of (Picked player))] = 0
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 210
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 0
Set ExortInstances[(Player number of (Picked player))] = 2
Set WexInstances[(Player number of (Picked player))] = 1
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeInteger[(Player number of (Picked player))] Equal to 300
Then - Actions
Set QuasInstances[(Player number of (Picked player))] = 0
Set ExortInstances[(Player number of (Picked player))] = 3
Set WexInstances[(Player number of (Picked player))] = 0
Else - Actions
Unit - Set level of Wex Attack Speed bonus for Invoker[(Player number of (Picked player))] to (((Level of Wex for Invoker[(Player number of (Picked player))]) x WexInstances[(Player number of (Picked player))]) + 1)
Unit - Set level of Wex Movement Speed Bonus for Invoker[(Player number of (Picked player))] to (((Level of Wex for Invoker[(Player number of (Picked player))]) x WexInstances[(Player number of (Picked player))]) + 1)
Unit - Set level of Exort Bonus Damage for Invoker[(Player number of (Picked player))] to (((Level of Exort for Invoker[(Player number of (Picked player))]) x ExortInstances[(Player number of (Picked player))]) + 1)
Learning Skills
Events
Unit - A unit Learns a skill
Conditions
Or - Any (Conditions) are true
Conditions
(Learned Hero Skill) Equal to Exort
(Learned Hero Skill) Equal to Quas
(Learned Hero Skill) Equal to Wex
Actions
Set Invoker[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)
Trigger - Run Instance Counting <gen> (checking conditions)
Trigger - Run Alternative Spell leveling <gen> (checking conditions)
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Invoke
Actions
Set Invoker[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)
Set InvokeInteger[(Player number of (Owner of (Triggering unit)))] = (SphereValue1[(Player number of (Owner of (Triggering unit)))] + (SphereValue2[(Player number of (Owner of (Triggering unit)))] + SphereValue3[(Player number of (Owner of (Triggering unit)))]))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Invoke for (Triggering unit)) Equal to 1
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeSpell1Check[(Player number of (Owner of (Triggering unit)))] Equal to False
Then - Actions
Unit - Add InvokeSpells[InvokeInteger[(Player number of (Owner of (Triggering unit)))]] to (Triggering unit)
Set InvokeSpell1[(Player number of (Owner of (Triggering unit)))] = InvokeSpells[InvokeInteger[(Player number of (Owner of (Triggering unit)))]]
Set InvokeSpell1Check[(Player number of (Owner of (Triggering unit)))] = True
Else - Actions
Unit - Remove InvokeSpell1[(Player number of (Owner of (Triggering unit)))] from (Triggering unit)
Unit - Add InvokeSpells[InvokeInteger[(Player number of (Owner of (Triggering unit)))]] to (Triggering unit)
Set InvokeSpell1[(Player number of (Owner of (Triggering unit)))] = InvokeSpells[InvokeInteger[(Player number of (Owner of (Triggering unit)))]]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeSpell1Check[(Player number of (Owner of (Triggering unit)))] Equal to False
Then - Actions
Unit - Add InvokeSpells[InvokeInteger[(Player number of (Owner of (Triggering unit)))]] to (Triggering unit)
Set InvokeSpell1[(Player number of (Owner of (Triggering unit)))] = InvokeSpells[InvokeInteger[(Player number of (Owner of (Triggering unit)))]]
Set InvokeSpell1Check[(Player number of (Owner of (Triggering unit)))] = True
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeSpell2Check[(Player number of (Owner of (Triggering unit)))] Equal to False
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeSpell1[(Player number of (Owner of (Triggering unit)))] Not equal to InvokeSpells[InvokeInteger[(Player number of (Owner of (Triggering unit)))]]
Then - Actions
Set InvokeSpell2[(Player number of (Owner of (Triggering unit)))] = InvokeSpell1[(Player number of (Owner of (Triggering unit)))]
Unit - Add InvokeSpells[InvokeInteger[(Player number of (Owner of (Triggering unit)))]] to (Triggering unit)
Set InvokeSpell1[(Player number of (Owner of (Triggering unit)))] = InvokeSpells[InvokeInteger[(Player number of (Owner of (Triggering unit)))]]
Set InvokeSpell2Check[(Player number of (Owner of (Triggering unit)))] = True
Else - Actions
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
InvokeSpell1[(Player number of (Owner of (Triggering unit)))] Not equal to InvokeSpells[InvokeInteger[(Player number of (Owner of (Triggering unit)))]]
Then - Actions
Unit - Remove InvokeSpell2[(Player number of (Owner of (Triggering unit)))] from (Triggering unit)
Set InvokeSpell2[(Player number of (Owner of (Triggering unit)))] = InvokeSpell1[(Player number of (Owner of (Triggering unit)))]
Unit - Add InvokeSpells[InvokeInteger[(Player number of (Owner of (Triggering unit)))]] to (Triggering unit)
Set InvokeSpell1[(Player number of (Owner of (Triggering unit)))] = InvokeSpells[InvokeInteger[(Player number of (Owner of (Triggering unit)))]]
Else - Actions
Trigger - Run Alternative Spell leveling <gen> (checking conditions)
. Mới system thôi đó . Chưa làm spell khi học đc ultimate đó
Dựa vào đây mới thấy đc anh " ếch băng " quả là professionalOMG...quả là "vậy thôi"
Không đủ kiên nhẫn để tham khảo cách làm, khó chịu nhất mấy cái đoạn Player number of (...), sao không đưa vào biến rùi dùng cho ngắn gọn, để cho đoạn mã lệnh dài lê thê ... =.=

Cho mình hỏi làm thế nào để thay đổi cái ảnh minimap trong game (đang chơi) thành hình ảnh hả các bạn?
Làm thế nào để sửa tên của 1 người chơi khi 1 người chơi thoát khỏi game chẳng hạn? .
Từ một map củ chuối thành một map sử dụng để bán hành =]],phối hợp spell phải nói là thiên tài.Anh ấy pro ở chỗ khác
từ 1 map của người khác thậm chí cả spell của người khác mà có thể làm thành map của mình và nổi tiếng!

Haha..cảm ơn bạn, cái này làm mình bó chiếu mãi :) thế bạn biết cách làm cái thứ 2 không ? Nếu muốn sửa tên người chơi trong multiboard khi họ thoát thì liệu mình có phải làm một trigger kiểu như mỗi 0.03s của game thì nếu người chơi(....) thoát ra thì set name của người chôi trong multiboard là(...) dạng như thế có đúng không nhỉ?.Lấy cái ảnh convert qua .blp đổi tên thành war3mapMap.blp rồi import vào