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.
Câu hỏi: Chiêu thức gì nhờ dummy giết creep?Cậu không tự gây dam cho nó được à?



Sai rồi bạn à,nếu ta cho expire time cho dummy,nó sẽ không bị remove khỏi map,mà nó vẫn còn là một dữ liệu tạm của map,gây ra leak,chắc chắn sẽ không hết được,và nếu kiểm tra bằng raw code thì ... bạn sai hoàn toàn rồi bạn nhé!
) , đó là tạo trigger check khi dummy chết thì remove khỏi game là ok, nhưng recommend vẫn là UnitClear của đại ka AzuhaSky 
Mình viết passive mà bạn
cho nó 18% để triệu hồi 5 thằng đứng thành hình ngôi sao rồi lao vào chém
Để mình miêu tả kĩ hơn:
1/ Mình lấy 1 skill passive có buff
2/Mình tạo 1 skill khác viết bằng trigger để triệu hồi 5 thằng kia,đồng thời move nó vào để chém(cần 2 triggers),đưa skill này cho dummy
3/ đặt điều kiện xảy ra:
event - unit is attacked
condition
- attacking unit has buff equal to true
- random number from 1 to 100 lesser or equal to 17%
action
- creat 1 dummy for caster at casterloc
- add 2 second of generic time to last created unit
- set lv of abilitydummy for last created unit to level of passive for caster
- order last created unit to < cast skill dummy > to attacked unit
cái vấn đề là mình đã set owner of unit của dummy được triệu hồi cho dummy cast spell và owner of dummy cast spell cho attacking unit tức là hero có buff,theo cách nói của booyvip thì đó là đệ của đệ của hero,thì tức là dù mình hay nó giết cũng đều ra tiền,nhưng mà không được bạn ạ
à,nếu chỉ cần lấy animation của dummy thôi,còn dam mình tự gây cho nó,thì được tiền đúng ko,nhưng ở đây dam caster gây lên người target là dummy,và mình set con này thành đệ hero rồi,nhưng vẫn ko cho tiền
Mình ko biết cách nào để chuyển attacking unit xuống trigger của dummy này được
spell này có 5 trigger![]()
Mình viết passive mà bạn
cho nó 18% để triệu hồi 5 thằng đứng thành hình ngôi sao rồi lao vào chém
Để mình miêu tả kĩ hơn:
1/ Mình lấy 1 skill passive có buff
2/Mình tạo 1 skill khác viết bằng trigger để triệu hồi 5 thằng kia,đồng thời move nó vào để chém(cần 2 triggers),đưa skill này cho dummy
3/ đặt điều kiện xảy ra:
event - unit is attacked
condition
- attacking unit has buff equal to true
- random number from 1 to 100 lesser or equal to 17%
action
- creat 1 dummy for caster at casterloc
- add 2 second of generic time to last created unit
- set lv of abilitydummy for last created unit to level of passive for caster
- order last created unit to < cast skill dummy > to attacked unit
cái vấn đề là mình đã set owner of unit của dummy được triệu hồi cho dummy cast spell và owner of dummy cast spell cho attacking unit tức là hero có buff,theo cách nói của booyvip thì đó là đệ của đệ của hero,thì tức là dù mình hay nó giết cũng đều ra tiền,nhưng mà không được bạn ạ
à,nếu chỉ cần lấy animation của dummy thôi,còn dam mình tự gây cho nó,thì được tiền đúng ko,nhưng ở đây dam caster gây lên người target là dummy,và mình set con này thành đệ hero rồi,nhưng vẫn ko cho tiền
Mình ko biết cách nào để chuyển attacking unit xuống trigger của dummy này được
spell này có 5 trigger![]()
Cho mình hỏi sao cái cài font của mình nó không hiện ra như hướng dẫn của anh Rex hay của Maiev nhỉ
nó không hiện mấy dòng đầu
và cũng k có Reiventing the Craft lun
View attachment 133397
Híc vấn đề là cái đấy mình cài làm hết rồi :(
Hình như vấn đề là ở cái WE nó lại hiện là 1.21b thì phải
Trong khi War của mình thì là 1.24b rồi
Không biết cài thế nào nữa @@
Cho mình hỏi sao cái cài font của mình nó không hiện ra như hướng dẫn của anh Rex hay của Maiev nhỉ
nó không hiện mấy dòng đầu
và cũng k có Reiventing the Craft lun
View attachment 133397
Ven
Events
Unit - A unit Is attacked
Conditions
((Attacking unit) has buff Unholy Aura) Equal to True
(Random integer number between 1 and 100) Less than or equal to (6 x (Level of Knight Aura for (Attacking unit)))
Actions
Trigger - Turn off (This trigger)
Unit - Create 1 ven for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing Default building facing degrees
[COLOR="Red"]Unit - Change ownership of (Last created unit) to (Owner of (Attacking unit)) and Change color[/COLOR]
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Set level of Knight Aura for (Last created unit) to (Level of Knight Aura for (Attacking unit))
Unit - Order (Last created unit) to Neutral Fire Lord - Soul Burn (Attacked unit)
Trigger - Turn on (This trigger)
Init Copy
Events
Map initialization
Conditions
Actions
Set SSIndex = 0
Set SSMax = 500
For each (Integer A) from 1 to SSMax, do (Actions)
Loop - Actions
Set SSDummyGroup[(Integer A)] = (Units in (Playable map area))
Unit Group - Remove all units from SSDummyGroup[(Integer A)]
Shadow Strike
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Vendetta
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
SSIndex Less than SSMax
Then - Actions
Set SSIndex = (SSIndex + 1)
Else - Actions
Set SSIndex = 1
Set SSCaster[SSIndex] = (Triggering unit)
Set SSTarget[SSIndex] = (Target unit of ability being cast)
Set SSPoint[SSIndex] = (Position of SSTarget[SSIndex])
Set SSDamage[SSIndex] = (Random real number between 2.00 and 4.00)
Unit Group - Add SSTarget[SSIndex] to SSGroup
For each (Integer SSInteger2) from 1 to 5, do (Actions)
Loop - Actions
Set SSPoint2[SSIndex] = (SSPoint[SSIndex] offset by 500.00 towards (72.00 x (Real(SSInteger2))) degrees)
Unit - Create 1 ShadowV for (Owner of SSCaster[SSIndex]) at SSPoint2[SSIndex] facing SSPoint[SSIndex]
Unit Group - Add (Last created unit) to SSDummyGroup[SSIndex]
[COLOR="Red"]Unit - Change ownership of (Last created unit) to (Owner of (Casting unit)) and Change color[/COLOR]
Special Effect - Create a special effect at SSPoint2[SSIndex] using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect at SSPoint2[SSIndex] using Abilities\Spells\Demon\DemonBoltImpact\DemonBoltImpact.mdl
Special Effect - Destroy (Last created special effect)
Animation - Change (Last created unit)'s animation speed to 300.00% of its original speed
Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 50.00% transparency
Custom script: call RemoveLocation (udg_SSPoint2[udg_SSIndex])
Custom script: call RemoveLocation (udg_SSPoint[udg_SSIndex])
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Shadow Strike Loop Copy <gen> is on) Equal to False
Then - Actions
Trigger - Turn on Shadow Strike Loop <gen>
Else - Actions
Shadow Strike Loop
Events
Time - Every 0.30 seconds of game time
Conditions
Actions
For each (Integer SSInteger) from 1 to SSMax, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(SSTarget[SSInteger] has buff Shadow Strike 2) Equal to True
Then - Actions
Set SSPoint[SSInteger] = (Position of SSTarget[SSInteger])
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of SSTarget[SSInteger]) Less than or equal to (SSDamage[SSInteger] x 2.00)
Then - Actions
Special Effect - Create a special effect at SSPoint[SSInteger] using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
Special Effect - Destroy (Last created special effect)
Unit - Kill SSTarget[SSInteger]
Unit Group - Pick every unit in SSDummyGroup[SSInteger] and do (Unit - Kill (Picked unit))
Unit Group - Remove SSTarget[SSInteger] from SSGroup
Else - Actions
Special Effect - Create a special effect attached to the chest of SSTarget[SSInteger] using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
Special Effect - Destroy (Last created special effect)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Life of SSTarget[SSInteger]) Less than or equal to (SSDamage[SSInteger] x 11.00)
Then - Actions
Special Effect - Create a special effect at SSPoint[SSInteger] using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
Special Effect - Destroy (Last created special effect)
Unit - Kill SSTarget[SSInteger]
Unit Group - Pick every unit in SSDummyGroup[SSInteger] and do (Unit - Kill (Picked unit))
Unit Group - Remove SSTarget[SSInteger] from SSGroup
Else - Actions
Unit Group - Pick every unit in SSDummyGroup[SSInteger] and do (Actions)
Loop - Actions
Set SSPoint2[SSInteger] = (SSPoint[SSInteger] offset by 150.00 towards (Random angle) degrees)
Unit - Move (Picked unit) instantly to SSPoint2[SSInteger], facing SSPoint[SSInteger]
Animation - Play (Picked unit)'s attack animation
Unit - [COLOR="Red"]Cause SSCaster[SSInteger] to damage SSTarget[SSInteger], dealing SSDamage[SSInteger] damage of attack type Chaos and damage type Divine[/COLOR]
Custom script: call RemoveLocation (udg_SSPoint2[udg_SSInteger])
Custom script: call RemoveLocation (udg_SSPoint[udg_SSInteger])
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(SSTarget[SSInteger] is dead) Equal to True
Then - Actions
Unit Group - Pick every unit in SSDummyGroup[SSInteger] and do (Unit - Kill (Picked unit))
Set SSCaster[SSInteger] = No unit
Set SSTarget[SSInteger] = No unit
Unit Group - Remove SSTarget[SSInteger] from SSGroup
Else - Actions
Unit Group - Pick every unit in SSDummyGroup[SSInteger] and do (Unit - Kill (Picked unit))
Set SSCaster[SSInteger] = No unit
Set SSTarget[SSInteger] = No unit
Unit Group - Remove SSTarget[SSInteger] from SSGroup
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(SSGroup is empty) Equal to True
Then - Actions
Trigger - Turn off (This trigger)
Else - Actions
Unit Leak
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Dying unit)) Equal to ShadowV
Then - Actions
Unit - Remove (Dying unit) from the game
Else - Actions
ghi chú:attacking unit là hero mình cần cho tiền,attacked unit là creep đang bị đánh
đấy,mình đã change owner of unit rồi,nhưng ko được,mình cũng không biết cách set dam của hero cho dummy 2 vì mình không tìm thấy mối liên quan giữa trigger ( mình chỉ dùng con dummy 1 cast spell là trung gian để trigger hoạt động thôi ).Vì vậy mà set dam của attacking unit cho dummy 2 thì system chắc chắn không biết được và sẽ không gây dam T____________T
Cho mình hỏi 2 vấn đề:
- Cách lấy damage base của hero (đã hỏi KuKulkan nhưng 2 ngày chưa thấy hồi âm)
- Cách làm 1 spell với mô tả sau:
+ Tạo illusion của hero đối phương
+ Illusion ko hiện máu, ko click được, di chuyển xuyên qua được
+ Illusion chạy theo target và attack (animation) sau x giây thì mất.
Thanks
Slide Dancing
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to |cff00FF00Slide Dancing|r
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
GUI Equal to 500
Then - Actions
Set GUI = 0
Else - Actions
Do nothing
Set GUI = (GUI + 1)
Set SD_Unit[GUI] = (Casting unit)
Set SD_UnitPoint[GUI] = (Position of SD_Unit[GUI])
Set SD_Point1[GUI] = (Position of SD_Unit[GUI])
Set SD_TargetPoint[GUI] = (Target point of ability being cast)
Set SD_Angel[GUI] = (Angle from SD_UnitPoint[GUI] to SD_TargetPoint[GUI])
Set SD_Distance[GUI] = 25.00
Trigger - Turn on Slide Dancing Move <gen>
Slide Dancing Move
Events
Time - Every 0.04 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Distance between SD_Point1[GUI] and SD_TargetPoint[GUI]) Greater than or equal to (SD_Distance[GUI] / 2.00)
Then - Actions
Set SD_Point2[GUI] = (SD_Point1[GUI] offset by SD_Distance[GUI] towards SD_Angel[GUI] degrees)
Unit - Move SD_Unit[GUI] instantly to SD_Point2[GUI]
Set SD_Point1[GUI] = SD_Point2[GUI]
Else - Actions
Trigger - Turn off Slide Dancing Move <gen>
Creep Respawn System !Mời tham khảo nhé!
---------- Post added at 11:50 ---------- Previous post was at 11:45 ----------
Đọc kỹ vấn đề mình đã nói đã nào! Bạn hãy tạo một chiêu thức cho dummy,VD cho là Storm Bolt,set damage của chiêu thức là 0,range use là 100,Animation là attack,Cooldown time là 0,Mana tiêu hao 0!
Sau đó,mình sẽ có trigger của chiêu passive đó nhé,tạo 5 dummy như bạn nói,add chiêu thức tạo cho dummy và order nó sử dụng vào target,sau đó tạo thêm trigger gây damage cho chiêu thức của dummy sd với trigger gây damage là Unit - Cause damage (First of Group(Onwer of (Triggering unit) matching (Matching unit) is a Hero)) to Mục tiêu sử dụng dealing .Sát thương. with attack type Kiểu tấn công and damage type Kiểu sát thương.Vậy thôi,rất đơn giản,không quá phức tạp!
bạn không hiểu ý mình nói rồi T______________T
Bạn thử làm spell như mình đi,rồi sẽ thấy nó hoạt động như thế nào,vấn đề ở đây dummy nó không chém 1 lần,mà chém liên tục trong 10s,vì vậy làm như cách của bạn nó còn rắc rối hơn !??