Ai có thể chỉ mình cách set rơi đồ cho quái trong 1 vùng ko , như kiểu mấy map rpg ý.
Check Gameplay ConstantChaos damage: 1 - 1 - 1 - 1 - 1 - 1 - 1 -1 - 1
8 số 1 này là thứ tự amor như thế nào ?
Jass được không bạn1. Em muốn làm Spell "Shockwave"(đơn giản là chưởng chỉ bắn thẳng, point target, lướt qua unit và damage theo đường thẳng) dưới dạng Trigger, ai giúp em với, nếu trong Forum đã có rồi thì gửi Link luôn cho em.
@boyvip : ko phải kiểu đó , mấy map rpg quái ko có trước mà là spawn ra
@flamedare : mình đã nói ở bài trước còn gì
Em có 4 câu hỏi:
1. Em muốn làm Spell "Shockwave"(đơn giản là chưởng chỉ bắn thẳng, point target, lướt qua unit và damage theo đường thẳng) dưới dạng Trigger, ai giúp em với, nếu trong Forum đã có rồi thì gửi Link luôn cho em.
2. Em muốn làm 1 spell kiểu Active-Deactive(KO phải AUTO spell), vậy Event khi bật spell là "Unit strat effect of ability" thì Event khi tắt spell là gì?
3. Nhân tiện hỏi luôn mẫu Trigger làm 1 Auto spell^^.
4. Trong Trigger, làm thế nào để add 1 buff cho 1 unit nào đó.
1_GUI hay MUI
(cái picked unit là unit trong khoảng AoE em đã set từ trc)Condition - (Distance between (Position of (Picked unit)) and (Position of xxCasterxx)) Less than or equal to 100.00
^
Shockwave GUI: nó chỉ gần giống Shockwave vì damage cả flying, immune...![]()
4_ Không. Muốn thêm thì tạo dummy mà cast vào
Cho mình hỏi lỗi này là sao vậy?
Ai trả lời hộ câu trên này vớiImport font VNGOVU việt hóa đc gần như hết map, sao khi dùng Floating Text mà dạng % + dòng chữ sinh lực nếu đúng thì phải là % sinh lực, nhưng nó lại ra % sinh lùc.
P/s: string + string.
Bạn có thể gửi demo map đc ko vì nói thật đây là lần đầu mình đụng tay vào Trigger có dính Buff.
chỉ 10 con units trong bán kính 500 của Hero và Hero đc invul sau 1 khoảng thời gian 10 con units và Hero trở lại bt.
bd
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Divine Shield
Actions
Set DS_CasterPoint = (Position of (Casting unit))
Set DS_UnitGroup = (Units within 500.00 of DS_CasterPoint matching ((((Matching unit) is alive) Equal to True) and ((((Matching unit) is A structure) Equal to False) and (((Owner of (Matching unit)) is an ally of (Owner of (Casting unit))) Equal to True))))
Custom script: call RemoveLocation( udg_DS_CasterPoint )
Set DS_BuffGroup = (Random 10 units from DS_UnitGroup)
Unit Group - Add (Casting unit) to DS_BuffGroup
Unit Group - Pick every unit in DS_BuffGroup and do (Actions)
Loop - Actions
Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Human\Resurrect\ResurrectCaster.mdl
Special Effect - Destroy (Last created special effect)
Unit - Make (Picked unit) Invulnerable
Wait 10.00 seconds
Unit Group - Pick every unit in DS_BuffGroup and do (Actions)
Loop - Actions
Unit - Make (Picked unit) Vulnerable
Custom script: call DestroyGroup(udg_DS_BuffGroup)
Custom script: call DestroyGroup(udg_DS_UnitGroup)
Events
Unit - A unit Acquires an item
Actions
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
Set Item1 = (Item carried by (Hero manipulating item) of type R×u §¸)
Set Item2 = (Item being manipulated)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item being manipulated)) Equal to R×u §¸
Item1 Equal to Item2
Then - Actions
Item - Remove (Item carried by (Hero manipulating item) of type R×u §¸)
Item - Remove (Item carried by (Hero manipulating item) of type R×u §¸)
Hero - Create |cffFFFF00Song r×u ®¸|r and give it to (Hero manipulating item)
Floating Text - Create floating text that reads Success ! at (Position of (Hero manipulating item)) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 0.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 2.00 seconds
Special Effect - Create a special effect attached to the origin of (Hero manipulating item) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Wait 0.20 seconds
Special Effect - Destroy (Last created special effect)
Else - Actions
ai trả lời giúp em cái này vớivậy còn cái nhiệm vụ như map anh rex thì sao zạ, em hỏi hoài mà sao hok ai trả lời![]()
Events
Unit - A unit Acquires an item
Actions
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
[COLOR="Red"]Set Item1 = (Item carried by (Hero manipulating item) in slot[integerA][/COLOR]
Set Item2 = (Item being manipulated)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
[COLOR="Red"](Item-type of Item1) Equal to R×u §¸[/COLOR]
[COLOR="Red"](Item-type of Item2) Equal to R×u §¸[/COLOR]
Item1 Not Equal to Item2
Then - Actions
[COLOR="Red"]Item - Remove (Item1 from (Hero manipulating item)
Item - Remove (Item2 from (Hero manipulating item) [/COLOR]
Hero - Create |cffFFFF00Song r×u ®¸|r and give it to (Hero manipulating item)
Floating Text - Create floating text that reads Success ! at (Position of (Hero manipulating item)) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 0.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 2.00 seconds
Special Effect - Create a special effect attached to the origin of (Hero manipulating item) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Wait 0.20 seconds
Special Effect - Destroy (Last created special effect)
Else - Actions