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.
Tìm Item ability Spell Book, bạn thêm các Unit ability vào là có thêm spellCho em hỏi,Chỗ bảng skill em nhìn thấy mấy map có cuốn sách click vào thì có nhiều skill vậy muốn làm quyển sách skill đó thì làm kiểu gì vậy mấy anh![]()
Skill 3 Ursa:Khi ATK đối phương, + Đam cho mỗi phát đánh từ phát thứ 2 trở đi, vd số đam tăng lên 6 cho mỗi phát=> phát thứ 2 +6 đam, Phát thứ 3 +12 Đam, 4 +18đam...
Level 1 +6đam, level 2 +10đam, level 3 +14 đam,....
Bác nào biết làm Xin Thanks nhìu.
Nó từ spell này ra đấy bạn, sửa AoE và damage lại.Edit Post: đó là skill Incinerate
Vào ability "Select Hero" và "Select unit" tăng "Data - Activation radius".Ai cho hỏi làm sao đứng xa cũng mua shop đc . Chỉnh chỗ nào vậy
NPC xa phu chăng?Ai có thể chỉ mính sơ qua về cách làm npc di chuyển giống map kiếm thế?
Vào Scenario -> Force Properties, stick Use Custom Forces và Fixed Player SettingsYAN[asian];17731304 nói:Làm thế nào để cố định màu của player như trong dota, lúc chuẩn bị vào game ấy? Đại loại như ko cho chọn màu nữa mà vào slot nào là mang màu đấy, và cả cố định race nữa, vd cố định là Human hoặc Computer...
YAN[asian];17732748 nói:Tại sao khi mình đặt unit làm item shop thì lúc select nó lại ko "nói" gì nhỉ? Như trong Dota khi mình click vào thì có sound set của unit đó ấy?
làm sao remove location khi biến location của mình là 1 array?
call RemoveLocation( udg_<biến>[<index sử dụng>] )
call RemoveLocation( udg_TempLocs[1] )
Agent curse
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Agent curse
Actions
Set SW_caster = (Casting unit)
Set SW_point[1] = (Position of SW_caster)
Set SW_point[2] = (SW_point[1] offset by 150.00 towards (Facing of SW_caster) degrees)
Set SW_point[3] = (SW_point[2] offset by 900.00 towards (Facing of SW_caster) degrees)
Set Dame = ((Real((Level of Agent curse for SW_caster))) x ((Real((Strength of SW_caster (Include bonuses)))) x 5.00))
Unit - Create 1 Agent curse for (Owner of SW_caster) at SW_point[2] facing SW_point[3]
Set SW_dummy = (Last created unit)
For each (Integer A) from 1 to 2, do (Actions)
Loop - Actions
Custom script: call RemoveLocation(udg_SW_point[bj_forLoopAIndex])
Trigger - Turn on Agent curse move <gen>
Agent curse move
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Set SW_point[1] = (Position of SW_dummy)
Set SW_point[2] = (SW_point[1] offset by 15.00 towards (Facing of SW_dummy) degrees)
Unit - Move SW_dummy instantly to SW_point[2]
Environment - Create a 0.01 second Temporary crater deformation at SW_point[1] with radius 200.00 and depth 10.00
Set SW_group[1] = (Units within 225.00 of SW_point[1] matching (((((Matching unit) is alive) Equal to True) and (((Owner of (Matching unit)) is an enemy of (Owner of SW_caster)) Equal to True)) and (((Matching unit) is in SW_group[2]) Equal to False)))
Unit Group - Pick every unit in SW_group[1] and do (Actions)
Loop - Actions
Unit - Cause SW_caster to damage (Picked unit), dealing Dame damage of attack type Spells and damage type Normal
Unit Group - Add (Picked unit) to SW_group[2]
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Distance between SW_point[2] and SW_point[3]) Less than or equal to 10.00
Then - Actions
Unit - Kill SW_dummy
Unit Group - Remove all units from SW_group[1]
Unit Group - Remove all units from SW_group[2]
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Custom script: call RemoveLocation(udg_SW_point[bj_forLoopAIndex])
Trigger - Turn off (This trigger)
Else - Actions
For each (Integer A) from 1 to 2, do (Actions)
Loop - Actions
Custom script: call RemoveLocation(udg_SW_point[bj_forLoopAIndex])
Thật ra trigger sai chỗ nào ? Ai xem hộ mình cái, khó hĩu wa.
Mình sẽ diễn tả như thế này: có 2 loại creep QNAurin và HPAurin. Hai loại creep này sẽ nằm xen kẽ nhau - QN, HP, QN ... cứ thế đến con thứ 11.
Vào map mình làm trigger như sau để cho QN và HP xuất hiện xen kẽ nhau:
Trigger này set region của 11 con creep.
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
Set QNAurin[1] = QNAurin1 <gen>
Set QNAurin[2] = QNAurin2 <gen>
Set QNAurin[3] = QNAurin3 <gen>
Set QNAurin[4] = QNAurin4 <gen>
Set QNAurin[5] = QNAurin5 <gen>
Set HPAurin[1] = HPAurin1 <gen>
Set HPAurin[2] = HPAurin2 <gen>
Set HPAurin[3] = HPAurin3 <gen>
Set HPAurin[4] = HPAurin4 <gen>
Set HPAurin[5] = HPAurin5 <gen>
Set HPAurin[6] = HPAurin6 <gen>
Trigger này sẽ xuất hiện 11 con creep
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
For each (Integer A) from 1 to 5, do (Actions)
Loop - Actions
Unit - Create 1 QNAurin for Neutral Hostile at (Center of QNAurin[(Integer A)]) facing Default building facing degrees
Set QNBoss[(Integer A)] = (Last created unit)
For each (Integer B) from 1 to 6, do (Actions)
Loop - Actions
Unit - Create 1 AurinHP for Neutral Hostile at (Center of HPAurin[(Integer B)]) facing Default building facing degrees
Set HPBoss[(Integer B)] = (Last created unit)
Trigger này dùng để delay QNAurin
Events
Unit - A unit Dies
Conditions
Actions
For each (Integer A) from 1 to 5, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Dying unit) Equal to QNBoss[(Integer A)]
Then - Actions
Unit - Create 1 QNAurin for Neutral Hostile at (Center of QNAurin[(Integer A)]) facing Default building facing degrees
Set QNBoss[(Integer A)] = (Last created unit)
Else - Actions
Trigger này dùng để delay HPAurin
Events
Unit - A unit Dies
Conditions
Actions
For each (Integer B) from 1 to 6, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Dying unit) Equal to HPBoss[(Integer B)]
Then - Actions
Unit - Create 1 AurinHP for Neutral Hostile at (Center of HPAurin[(Integer B)]) facing Default building facing degrees
Set HPBoss[(Integer B)] = (Last created unit)
Else - Actions
Nếu như để 4 trigger này thì nó delay ko sai vị trí, nhưng nếu ta thêm vào dòng trigger Waiting 30 seconds lên trước create unit ở delay thì nó ko hs theo đúng vị trì mà nó wang con creep vào giữ map. Ai biết sao sửa lỗi này làm giúp mình.
Stork[gm];17734270 nói:Cho hỏi là có ai biết cách làm skill Entangle ở con gấu của syllabear ko? Cụ thể thế này: 20% chance là nó bị trói trong 3s, sau mỗi lần nó bị trói thì xuất hiện cooldown(hiện ở chính từ base skill passive này) cooldown 5s. Và sau khi cái skill đó đã cooldown xong thì mới được có cơ hội trói tiếp
Dùng time là dùng thế nào ? Chỉnh lại trigger cho mình đi.
Untitled Trigger 001
Events
Time - Every 1.00 seconds of game time
Conditions
(Unit is dead) Equal to True
Actions
Set Dem = (Dem + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Dem Equal to 30
Then - Actions
Unit - Create 1 Footman for Player 2 (Blue) at (Position of Unit) facing Default building facing degrees
Set Unit = (Last created unit)
Set Dem = 0
Else - Actions
Nhưng mình cần tới 2 biến đếm, 1 biến nó vẫn sai
với lại biến đếm phải có array lun @@Cho e hỏi trigger Spell này có leak hay lỗi gì hok, mà sao khi em cast spell thì gây lag cực độ và làm đứng lun game @@
Trigger 1 :
Trigger 2 :Mã:Agent curse Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Agent curse Actions Set SW_caster = (Casting unit) Set SW_point[1] = (Position of SW_caster) Set SW_point[2] = (SW_point[1] offset by 150.00 towards (Facing of SW_caster) degrees) Set SW_point[3] = (SW_point[2] offset by 900.00 towards (Facing of SW_caster) degrees) Set Dame = ((Real((Level of Agent curse for SW_caster))) x ((Real((Strength of SW_caster (Include bonuses)))) x 5.00)) Unit - Create 1 Agent curse for (Owner of SW_caster) at SW_point[2] facing SW_point[3] Set SW_dummy = (Last created unit) For each (Integer A) from 1 to 2, do (Actions) Loop - Actions Custom script: call RemoveLocation(udg_SW_point[bj_forLoopAIndex]) Trigger - Turn on Agent curse move <gen>
Mã:Agent curse move Events Time - Every 0.01 seconds of game time Conditions Actions Set SW_point[1] = (Position of SW_dummy) Set SW_point[2] = (SW_point[1] offset by 15.00 towards (Facing of SW_dummy) degrees) Unit - Move SW_dummy instantly to SW_point[2] Environment - Create a 0.01 second Temporary crater deformation at SW_point[1] with radius 200.00 and depth 10.00 Set SW_group[1] = (Units within 225.00 of SW_point[1] matching (((((Matching unit) is alive) Equal to True) and (((Owner of (Matching unit)) is an enemy of (Owner of SW_caster)) Equal to True)) and (((Matching unit) is in SW_group[2]) Equal to False))) Unit Group - Pick every unit in SW_group[1] and do (Actions) Loop - Actions Unit - Cause SW_caster to damage (Picked unit), dealing Dame damage of attack type Spells and damage type Normal Unit Group - Add (Picked unit) to SW_group[2] If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Distance between SW_point[2] and SW_point[3]) Less than or equal to 10.00 Then - Actions Unit - Kill SW_dummy Unit Group - Remove all units from SW_group[1] Unit Group - Remove all units from SW_group[2] For each (Integer A) from 1 to 3, do (Actions) Loop - Actions Custom script: call RemoveLocation(udg_SW_point[bj_forLoopAIndex]) Trigger - Turn off (This trigger) Else - Actions For each (Integer A) from 1 to 2, do (Actions) Loop - Actions Custom script: call RemoveLocation(udg_SW_point[bj_forLoopAIndex])
