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.
Cho hỏi tớ muốn CreateRandomUnit để tạo creep mà ko muốn nó hiện vị trí creep trên mini map thì làm sao T_T
Actions
Game - [U]Hide[/U] creep camps on the minimap //Game - Show/Hide Creeps Camp On Minimap
Game - [U]Enable[/U] ally color button and [U]Disable[/U] creep camp button //Game - Enable/Disable Minimap Buttons
Trong trigger làm sao check được unit target as ward?

@lucifekit
- ko phải "add" vào spellbook sau khi lên level hoặc learn, mà là "add" luôn từ trước, sau khi learn thì Player - Enable/Disable Ability và lên level thì Unit - Set Level of Ability For Unit
- Advanced \ Game Interface... tìm các Attack Type, Armor Type tương ứng: icon, tooltip,...
- Dùng Missile (Line)
- Set Ngũ Hành là damage hay visual ? damage thì ko đc.
- tất nhiên là khó và có thể nói là ko thể.
- Storm Spirit's Overload
- ???
,hoặc em làm thành arrow auto cast blizzard 1 wave được ko ạ?Trigger - Turn off (This trigger)
Set TempUnit = (Triggering unit)
Set TempUnit2 = (Damage source)
Set TempReal = (Damage taken)
-------- ----------Bach Doc Xuyen Tam-------------- --------
Set TempInt = (Level of Bach Doc Xuyen Tam for TempUnit2)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TempInt Greater than 0
(TempUnit has buff Bach Doc Xuyen Tam ) Equal to True
Then - Actions
Unit - Remove Bach Doc Xuyen Tam buff from TempUnit
Set TempReal = ((Damage taken) x ((Real((Level of Bach Doc Xuyen Tam for TempUnit2))) x 0.10))
Set TempDamageCong = (((Damage taken) x ((Real((Level of Bach Doc Xuyen Tam for TempUnit2))) / 10.00)) + (Damage taken))
Set TempDamage = (0 + ((Level of Bach Doc Xuyen Tam for TempUnit2) x 1))
Floating Text - Create floating text that reads (|c00FF0000 + ((String(TempDamageCong)) + |r)) above TempUnit with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Unit - Cause TempUnit2 to damage TempUnit, dealing TempReal damage of attack type Chaos and damage type Normal
For each (Integer B) from 1 to 6, do (Actions)
Loop - Actions
Floating Text - Create floating text that reads (|c00FF0000 + ((String(TempDamage)) + |r)) above TempUnit with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Unit - Cause TempUnit2 to damage TempUnit, dealing (Real(TempDamage)) damage of attack type Chaos and damage type Poison
Wait 0.75 seconds
Else - Actions
Trigger - Turn on (This trigger)
.Với temp damage= dame độc sát của chiêu
tempdamagecong= dame của mình * sát thương vật lý thêm vào,sẽ hiện ra trên đầu quái
tempreal= dame thêm vào<chỉ bao gồm STVL>
Chaos là attack của hệ mộc
Có phải cần thêmfunction InitTrig_OutBase takes nothing returns nothing
local region rectRegion = CreateRegion()
local trigger gg_trg_OutBase = CreateTrigger( )
call RegionAddRect(rectRegion, gg_rct_BaseTeam1)
call TriggerRegisterEnterRegion( gg_trg_OutBase,rectRegion, null )
call TriggerAddCondition( gg_trg_OutBase, Filter(function Trig_OutBase_Conditions))
call TriggerAddAction( gg_trg_OutBase, function Trig_OutBase_Actions )
endfunction
trước khi endfunction ko ? Có cần thêm wait gì trước khi RemoveRegion ko ?call RemoveRegion(rectRegion)
call DisableTrigger(gg_trg_OutBase)
call DestroyTrigger(gg_trg_OutBase)
set gg_trg_OutBase = null
set rectRegion = null
Hay là thế này: Cái kiểu đánh theo đường thẳng em làm thành auto cast shockwave/crushingwave rồi add effect,add dame coi bộ dễ hơn.Dùng trigger deal dame nó có drain life và mana không nhỉ?Mà dame dựa trên lực tay thì công thức tính thế nào nhỉ? hình như trong trigger không có value lực tay min max của unit?
-Ngũ hành là dame đó,sao lại không được ạ? Em set như này:
------Công----Thủ
Kim---Siege----Unarmor
Mộc--Chaos---Fortified
Thủy--Magic--Heavy<Large>
Hỏa---Hero---Hero
Thổ---Piercing--Divine
Mobs--Normal--Medium
Boss---Unknows-Light<Small>
Rồi set tỷ lệ dame ví dụ siege lên fortified-->1.25,nghĩa là đánh = nhân vật hệ kim lên hệ mộc thì tăng sức đánh,siege lên hero -->0.75,đánh hệ hỏa mất 25% sức đánh,siege lên light->0.25,đánh lên boss mất 75% sức đánh,còn các loại thủ/giáp khác để là 1 nghĩa là không ảnh hưởng,khi có skill hay đánh thường mình dùng trigger cho deal dame thì nó tự giảm cho mình?
-OverLoad->ok,hoặc em làm thành arrow auto cast blizzard 1 wave được ko ạ?
-Đã set force rồi mà khi test vẫn chỉ có WorldEdit và computer<normal>
. Tạo region, trigger unit vào region rồi xóa region, trigger luôn -> ????chi tiết hơn được không? (30 chars 30 chars)restric resourcer trading to ally ở game-map flag