HacAmChiTam1997
Mr & Ms Pac-Man
Cho hỏi cách làm chiêu phase shift trong Dota của puck ạ , giống như dota nhé , ko phải chiêu gốc từ night elf đâu
trigger 1
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to paladin 1
Actions
Unit Group - Add (Triggering unit) to Paladin1_Group
Set Paladin1_Duration[(Custom value of (Triggering unit))] = 0.00
Trigger - Turn on paladin 1 Copy <gen>
trigger 2
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in Paladin1_Group) Greater than 0
Then - Actions
Unit Group - Pick every unit in Paladin1_Group and do (Actions)
Loop - Actions
Set Paladin1_Caster = (Picked unit)
Set Paladin1_Index = (Custom value of Paladin1_Caster)
Set Paladin1_Point = (Position of Paladin1_Caster)
Set Paladin1_TargetGroup = (Units within 300.00 of Paladin1_Point)
Unit Group - Pick every unit in Paladin1_TargetGroup and do (Actions)
Loop - Actions
Set Paladin1_Target = (Picked unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Paladin1_Target is A structure) Equal to False
(Paladin1_Target is alive) Equal to True
Paladin1_Caster Not equal to Paladin1_Target
(Paladin1_Target belongs to an enemy of (Owner of Paladin1_Caster)) Equal to True
Then - Actions
Unit - Cause Paladin1_Caster to damage Paladin1_Target, dealing (1.00 x (Real((Level of paladin 1 for Paladin1_Caster)))) damage of attack type Spells and damage type Normal
Else - Actions
Set Paladin1_Duration[Paladin1_Index] = (Paladin1_Duration[Paladin1_Index] + 0.01)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Paladin1_Duration[Paladin1_Index] Greater than or equal to 1.00
Then - Actions
Unit Group - Remove Paladin1_Caster from Paladin1_Group
Else - Actions
Custom script: call DestroyGroup( udg_Paladin1_TargetGroup )
Custom script: call RemoveLocation( udg_Paladin1_Point )
Else - Actions
Trigger - Turn off (This trigger)
Bạn ơi share code tét dùm mình đã ko bik mà bạn chỉ thế sao mình bik đường^
chú bị ảo à
là reset all ability
=> Thay dòng này bằng
B1: Set level skill zô 1 biến
B2: Remove Skill
B3: Add skill
B4: Set lại Level [/B] :
bạn thử với phần patrol dùm mình với, rồi up hình minh họa ạ^
vô phần Abilities trong OE, lật cái mục nào (mình quên rồi) mà có abi là Select Hero, Select Unit,... (icon thường là dấu "?" màu đỏ), chọn chỗ "Hide Button" = True là xong
chỉ còn file map đã được protect có cách nào mở map ko :( ?có ai biết cách hide cái patrol button k ._. chỉ mình với.
nút đó thật sự vô dụng trong AoS