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.
Ồ vậy hả cám ơn anh nhiều,em sửa đây!
.
___________Auto Merge________________
.
Anh có thể làm ulti thàng bò cho em học tạp được ko,làm dựa vào Fissure khó quá
giải thích làm gì cho mệt
cứ post rồi người khác xem cũng hiểu
)Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Rogue Axe
Actions
Set MuiRA = (MuiRA + 1)
Set QuayLaiRA[MuiRA] = False
Set CasterRA[MuiRA] = (Casting unit)
Set CasterPointRA[MuiRA] = (Position of CasterRA[MuiRA])
Set TargetPointRA[MuiRA] = (Target point of ability being cast)
Set AngelRA[MuiRA] = (Angle from CasterPointRA[MuiRA] to TargetPointRA[MuiRA])
Unit - Create 1 GraphUnit_RA for (Owner of CasterRA[MuiRA]) at CasterPointRA[MuiRA] facing AngelRA[MuiRA] degrees
Set GraphUnitRA[MuiRA] = (Last created unit)
Unit - Set the custom value of GraphUnitRA[MuiRA] to MuiRA
Custom script: set udg_DamagedGroupRA[udg_MuiRA]=CreateGroup()
Unit Group - Add GraphUnitRA[MuiRA] to MoveGroupRA
Trigger - Turn on Rogue Axe Effect <gen>
Custom script: call RemoveLocation(udg_CasterPointRA[udg_MuiRA])
Events
Time - Every 0.04 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in MoveGroupRA and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
QuayLaiRA[(Custom value of (Picked unit))] Equal to False
Then - Actions
Set SpeedRA[(Custom value of (Picked unit))] = (SpeedRA[(Custom value of (Picked unit))] + 3)
Set PointGraphUnitRA[(Custom value of (Picked unit))] = (Position of GraphUnitRA[(Custom value of (Picked unit))])
Set MovePointRA[(Custom value of (Picked unit))] = (PointGraphUnitRA[(Custom value of (Picked unit))] offset by (Real(SpeedRA[(Custom value of (Picked unit))])) towards AngelRA[(Custom value of (Picked unit))] degrees)
Unit - Move GraphUnitRA[(Custom value of (Picked unit))] instantly to MovePointRA[(Custom value of (Picked unit))]
Unit - Make GraphUnitRA[(Custom value of (Picked unit))] face TargetPointRA[(Custom value of (Picked unit))] over 0.00 seconds
Set DamagingGroupRA[(Custom value of (Picked unit))] = (Units within 200.00 of MovePointRA[(Custom value of (Picked unit))] matching ((((Matching unit) is in DamagedGroupRA[(Custom value of (Picked unit))]) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of CasterRA[(Custom value of (Picked u
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in DamagingGroupRA[(Custom value of (Picked unit))]) Not equal to 0
Then - Actions
Set RandomUnitRA = (Random unit from DamagingGroupRA[(Custom value of (Picked unit))])
Unit - Cause GraphUnitRA[(Custom value of (Picked unit))] to damage RandomUnitRA, dealing (125.00 x (Real((Level of Rogue Axe for CasterRA[(Custom value of (Picked unit))])))) damage of attack type Spells and damage type Normal
Special Effect - Create a special effect attached to the chest of RandomUnitRA using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
Special Effect - Destroy (Last created special effect)
Unit Group - Add RandomUnitRA to DamagedGroupRA[(Custom value of (Picked unit))]
Set RandomUnitRA = No unit
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Distance between MovePointRA[(Custom value of (Picked unit))] and TargetPointRA[(Custom value of (Picked unit))]) Less than or equal to 50.00
Then - Actions
Set QuayLaiRA[(Custom value of (Picked unit))] = True
Custom script: call DestroyGroup(udg_DamagedGroupRA[GetUnitUserData(GetEnumUnit())])
Custom script: set udg_DamagedGroupRA[GetUnitUserData(GetEnumUnit())]=CreateGroup()
Custom script: call DestroyGroup(udg_DamagingGroupRA[GetUnitUserData(GetEnumUnit())])
Else - Actions
Custom script: call RemoveLocation(udg_PointGraphUnitRA[GetUnitUserData(GetEnumUnit())])
Custom script: call RemoveLocation(udg_MovePointRA[GetUnitUserData(GetEnumUnit())])
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
QuayLaiRA[(Custom value of (Picked unit))] Equal to True
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SpeedRA[(Custom value of (Picked unit))] Greater than 30
Then - Actions
Set SpeedRA[(Custom value of (Picked unit))] = (SpeedRA[(Custom value of (Picked unit))] - 3)
Else - Actions
Set PointGraphUnitRA[(Custom value of (Picked unit))] = (Position of GraphUnitRA[(Custom value of (Picked unit))])
Set CasterPointRA[(Custom value of (Picked unit))] = (Position of CasterRA[(Custom value of (Picked unit))])
Set MovePointRA[(Custom value of (Picked unit))] = (PointGraphUnitRA[(Custom value of (Picked unit))] offset by (Real(SpeedRA[(Custom value of (Picked unit))])) towards AngelRA[(Custom value of (Picked unit))] degrees)
Set AngelRA[(Custom value of (Picked unit))] = (Angle from MovePointRA[(Custom value of (Picked unit))] to CasterPointRA[(Custom value of (Picked unit))])
Unit - Move GraphUnitRA[(Custom value of (Picked unit))] instantly to MovePointRA[(Custom value of (Picked unit))]
Unit - Make GraphUnitRA[(Custom value of (Picked unit))] face CasterPointRA[(Custom value of (Picked unit))] over 0.00 seconds
Set DamagingGroupRA[(Custom value of (Picked unit))] = (Units within 200.00 of MovePointRA[(Custom value of (Picked unit))] matching ((((Matching unit) is in DamagedGroupRA[(Custom value of (Picked unit))]) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of CasterRA[(Custom value of (Picked u
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in DamagingGroupRA[(Custom value of (Picked unit))]) Not equal to 0
Then - Actions
Set RandomUnitRA = (Random unit from DamagingGroupRA[(Custom value of (Picked unit))])
Unit - Cause GraphUnitRA[(Custom value of (Picked unit))] to damage RandomUnitRA, dealing (125.00 x (Real((Level of Rogue Axe for CasterRA[(Custom value of (Picked unit))])))) damage of attack type Spells and damage type Normal
Special Effect - Create a special effect attached to the chest of RandomUnitRA using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
Special Effect - Destroy (Last created special effect)
Unit Group - Add RandomUnitRA to DamagedGroupRA[(Custom value of (Picked unit))]
Set RandomUnitRA = No unit
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Distance between MovePointRA[(Custom value of (Picked unit))] and CasterPointRA[(Custom value of (Picked unit))]) Less than or equal to 50.00
Then - Actions
Unit Group - Remove GraphUnitRA[(Custom value of (Picked unit))] from MoveGroupRA
Unit - Kill GraphUnitRA[(Custom value of (Picked unit))]
Set CasterRA[(Custom value of (Picked unit))] = No unit
Set GraphUnitRA[(Custom value of (Picked unit))] = No unit
Set QuayLaiRA[(Custom value of (Picked unit))] = False
Custom script: call RemoveLocation(udg_TargetPointRA[GetUnitUserData(GetEnumUnit())])
Custom script: call RemoveLocation(udg_CasterPointRA[GetUnitUserData(GetEnumUnit())])
Custom script: call DestroyGroup(udg_DamagedGroupRA[GetUnitUserData(GetEnumUnit())])
Custom script: call DestroyGroup(udg_DamagingGroupRA[GetUnitUserData(GetEnumUnit())])
Else - Actions
Custom script: call RemoveLocation(udg_CasterPointRA[GetUnitUserData(GetEnumUnit())])
Custom script: call RemoveLocation(udg_PointGraphUnitRA[GetUnitUserData(GetEnumUnit())])
Custom script: call RemoveLocation(udg_MovePointRA[GetUnitUserData(GetEnumUnit())])
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in MoveGroupRA) Equal to 0
Then - Actions
Trigger - Turn off (This trigger)
Else - Actions

, cuối cùng cũng tìm được góc của cái spell quái ác này 
, spell đảm bảo giống hệt
( trừ cái Icon nhé
)


P/S: Đừng hỏi cái chỗ tính angles nhé, hỏi lại chắc tự tử chết quáGood luck.Skil này mình mất 2 tiếng để làm..Mong các bạn cũng hiểu đc trong 2 tiếng...




, lách 1 tí cũng đâu có sao mà DotA chắc nó cũng thế thôi 







)
)
