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.
, chết cười, bộ phải tạo dummy ra rồi bảo nó attack hay sao mà phải add spider attack?. WE tính để missile là gì thế? Để là tên lửa bay tời target nổ xong bay giề thì bựa không chiu nổi
. Làm nó có missile chính xác khó, đằng này thì cũng không biết con nào sẽ bị bằn nên phải làm custom. nếu muốn đạn bay về đúng lúc missile đầu bay và đụng phải target thì hãy dùng trigger every 0.4 sec và các action dùng để move missile đi. Muốn biết thêm chi tiết về các action move, tham khảo tutorial Slide của anh TOMEm hỏi về event cơ.Nó có kiểm tra event không?
Vd: em run trigger có event unit takes damage.Nó có kiểm tra điều này không?


Ặc, có bảo làm không biết làm mấy cái move đâu ==", chết cười, bộ phải tạo dummy ra rồi bảo nó attack hay sao mà phải add spider attack?. WE tính để missile là gì thế? Để là tên lửa bay tời target nổ xong bay giề thì bựa không chiu nổi
. Làm nó có missile chính xác khó, đằng này thì cũng không biết con nào sẽ bị bằn nên phải làm custom. nếu muốn đạn bay về đúng lúc missile đầu bay và đụng phải target thì hãy dùng trigger every 0.4 sec và các action dùng để move missile đi. Muốn biết thêm chi tiết về các action move, tham khảo tutorial Slide của anh TOM

Cho tớ hỏi cái,làm sao -Attack Speed và -Attack Dâmge được vậy
Chả hỉu sao tớ tạo Passive Skill bấm vào -80 nó ko thèm ra mà chỉ để số 0...
Câu này bế tắc à nha:
Sao em chụp ảnh map lúc xoay ngang ra thì trời màu đen là sao dzậy ?
Thấy Mí ông Khác Chụp ẢNh Trời nó có màu đàng hoàng![]()

Ặc, có bảo làm không biết làm mấy cái move đâu =="
Cái chính là làm sao để set được target là cái con gần thằng cast nhất, ngộ chỉ hỏi thế thôi![]()

Cho e hỏi: pick 2 unit rồi set vào biến unit thì biến đấy chỉ con nào, khi kill thì con nào chết. Tương tự với pick lần lượt 2 unit.


Tui cũng nghĩ thế chưng không biết xàiTrong Condition có cái Math - Min. Chưa động vào nó bao giờ nhưng chắc nó dùng để phát hiện giá trị nhỏ nhất. Hỏi anh Tom để biết cách sử dụng


Trigger 1
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Storm Bolt1
(Random integer number between 1 and 100) Less than or equal to (((Level of Storm Bolt1 for (Triggering unit)) x 5) + 35)
Actions
Set TriggerLoc1 = (Position of (Target unit of ability being cast))
Set Uni = (Target unit of ability being cast)
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at TriggerLoc1 facing Default building facing degrees
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Add Storm Bolt7 to (Last created unit)
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt Uni
Custom script: call RemoveLocation(udg_TriggerLoc1)
Trigger 2
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Bloodlust5
Actions
Set Unit_CS = (Target unit of ability being cast)
Unit - Add Critical Strike to Unit_CS
Wait 25.00 seconds
Unit - Remove Critical Strike from Unit_CS
YAN[asian];11897383 nói:Mình có làm 2 trigger như này :
Mã:Trigger 1 Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Storm Bolt1 (Random integer number between 1 and 100) Less than or equal to (((Level of Storm Bolt1 for (Triggering unit)) x 5) + 35) Actions Set TriggerLoc1 = (Position of (Target unit of ability being cast)) Set Uni = (Target unit of ability being cast) Unit - Create 1 Dummy for (Owner of (Triggering unit)) at TriggerLoc1 facing Default building facing degrees Unit - Add a 1.00 second Generic expiration timer to (Last created unit) Unit - Add Storm Bolt7 to (Last created unit) Unit - Order (Last created unit) to Human Mountain King - Storm Bolt Uni Custom script: call RemoveLocation(udg_TriggerLoc1)
Mã:Trigger 2 Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Bloodlust5 Actions Set Unit_CS = (Target unit of ability being cast) Unit - Add Critical Strike to Unit_CS Wait 25.00 seconds Unit - Remove Critical Strike from Unit_CS
Ko hiểu sao các skill kiểu 1 thì "stun" rất chậm, nếu vào đúng % thì 0,5 - 1s sau mới thấy dummy nó "stun" mặc dù đã set poi tại target, còn kiểu 2 thì nhiều lúc hết thời gian mà nó chẳng chịu remove skill đi j cả, mình để ý hình như meele thì nó remove, còn ranged thì ko. Giải thích lý do và cách sửa dùm mình với.
function Trig_Spell_Conditions takes nothing returns boolean
return GetSpellAbilityId() == 'A000'
endfunction
function Trig_Spell_Actions takes nothing returns nothing
local unit cast = GetTriggerUnit()
local unit tar = GetSpellTargetUnit()
call UnitAddAbility(tar,'A001')
call TriggerSleepAction(25.)
call UnitRemoveAbility(tar,'A001')
endfunction
//===========================================================================
function InitTrig_Spell takes nothing returns nothing
set gg_trg_Spell = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Spell, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddCondition( gg_trg_Spell, Condition( function Trig_Spell_Conditions ) )
call TriggerAddAction( gg_trg_Spell, function Trig_Spell_Actions )
endfunction