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.
Theo mình chỉ nên kiểm tra 1 thứ : Dummy có ability locust, invulnerable; Cast Backswing = Cast Point = 0; Mana Initial Amount = Mana Maximum = ...(cỡ 1000Thứ nhất: Kiểm tra dummy của bạn có model không?Nếu không thì do không tìm thấy điểm gắn Attackment effect nên không show!
Thứ hai: Kiểm tra xem Scaling value của model và Select circle của model,giá trị của chúng phải >0!
Thứ ba: Kiểm tra lại toàn bộ trigger,xem thử sẽ có một số thiếu sót đối với trigger dẫn đến khi vào map sử dụng khiến trigger dừng tại một điểm,không chạy đến các lệnh còn lại!
)Mình chỉ mới xài Newgen được có vài tháng và vẫn chưa bao giờ thấy lỗi này cả. (Vừa thử lại cũng chả thấy nốt!)vấn đầ là trước khi dùng JNGP, mình để player 9 và 10 là cumputer binthu7o7nfg2. nhưng từ khi xài JNGP save map lại, vào game thì player 9 và player 10 Open.........
có ai bít tại sao k?
Demo map vào rồi từ từ tham khảo. Có 2 dạng cơ bản. BT và PAS.
http://www.mediafire.com/?zhai3exsob4h6jf
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to |cffFF00CCTiÕng Gäi Quª H¬ng|r
Actions
Set LavaUnit = (Triggering unit)
Set TempLavaUnit = (Position of LavaUnit)
Set TempLavaTarger = (Target point of ability being cast)
Set AngleWave = (Angle from TempLavaUnit to TempLavaTarger)
For each (Integer A) from 1 to ((Level of |cffFF00CCTiÕng Gäi Quª H¬ng|r for LavaUnit) x 5), do (Actions)
Loop - Actions
Unit - Create 1 Lava Dummy for (Owner of LavaUnit) at (TempLavaUnit offset by ((Real((Integer A))) x 175.00) towards AngleWave degrees) facing (Facing of LavaUnit) degrees
Set LavaDummy[(Integer A)] = (Last created unit)
Set TempLavaDummy[(Integer A)] = (Position of LavaDummy[(Integer A)])
Unit - Add a 2.00 second Generic expiration timer to LavaDummy[(Integer A)]
Set LavaGroup = (Units within 300.00 of TempLavaDummy[(Integer A)] matching ((((Matching unit) belongs to an enemy of (Owner of LavaUnit)) Equal to True) and (((Matching unit) is alive) Equal to True)))
Unit Group - Pick every unit in LavaGroup and do (Actions)
Loop - Actions
Unit - Cause LavaUnit to damage (Picked unit), dealing (((Real((Level of |cffFF00CCTiÕng Gäi Quª H¬ng|r for LavaUnit))) x 5.00) x (Real((Strength of LavaUnit (Exclude bonuses))))) damage of attack type Hero and damage type Defensive
Floating Text - Create floating text that reads ((String(((Real((Strength of LavaUnit (Include bonuses)))) x ((Real((Level of |cffFF00CCTiÕng Gäi Quª H¬ng|r for LavaUnit))) x 5.00)))) + damage) at (Position of (Picked unit)) with Z offset 0.00, using font size 10.50, color (100.00%, 32.00%, 32.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
Custom script: call RemoveLocation(udg_TempLavaUnit)
Custom script: call RemoveLocation(udg_TempLavaTarger)
Custom script: call RemoveLocation(udg_TempLavaDummy[GetForLoopIndexA()])
Custom script: call DestroyGroup(udg_LavaGroup)

Unit - Cause LavaUnit to damage (Picked unit), dealing ((Real((Strength of LavaUnit (Include bonuses)))) + ((Real((Level of |cffFF00CCTiÕng Gäi Quª H¬ng|r for LavaUnit)))) x 5.00)) damage of attack type Hero and damage type Defensive
Chính vì cái dòng dealing đó nằm trong For 1 > Lv spell x 5 nên nó mới chạy dòng dealing dame đó = Lv spell x 5 lần ( ví dụ: Spell Lv 1 thì tức là nó sẽ chạy dòng dealing dame 5 lần, spell Lv 2 thì dòng dealing lại chạy 10 lần, thay vì bạn cho nó mất 50 dame nhưng nó chạy tới 5 lần tức là 250 dame khá số dame bạn quy định) Nên mình mới hỏi có cách nào dời dòng dealing dame ra khỏi For 1 > Spell LV x 5 cho nó chỉ chạy 1 lần khi chạy trigger thôi.1) Ability Life Bonus và Mana Bonus. Chỉnh số lại.sao mình dơn không được vậy bạn??? up link khác cho mình đi.
Với lại cho mình hỏi: có ability nào mà cộng HP hay MP không?? Ví dụ: mình đang có HP: 3000/3000 thì có ability nào làm tăng lên 4000/4000 ấy. thanks.

Nó gây dam lên lv Spell x 5 chỗ chứ có phải 1 chỗ đâu mà sửa chả biết.Như trigger trên, thì dealing dame = [100% Strength + ( Lv của spell x 5)] x Lv spell x 5 vì dòng set Group và dealing nằm trong For từ 1 > Lv spell x5 nên khi dame nó sẽ dame tới Lv spell x 5 lần.
Ai có cách nào sửa lại cho dealing của nó còn là 100% Strength + ( Lv của spell x 5) thôi đc ko
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to |cffFF00CCTiÕng Gäi Quª H¬ng|r
Actions
Set LavaUnit = (Triggering unit)
Set TempLavaUnit = (Position of LavaUnit)
Set TempLavaTarger = (Target point of ability being cast)
Set AngleWave = (Angle from TempLavaUnit to TempLavaTarger)
For each (Integer A) from 1 to ((Level of |cffFF00CCTiÕng Gäi Quª H¬ng|r for LavaUnit) x 5), do (Actions)
Loop - Actions
Unit - Create 1 Lava Dummy for (Owner of LavaUnit) at (TempLavaUnit offset by ((Real((Integer A))) x 175.00) towards AngleWave degrees) facing (Facing of LavaUnit) degrees
Set LavaDummy[(Integer A)] = (Last created unit)
Set TempLavaDummy[(Integer A)] = (Position of LavaDummy[(Integer A)])
Unit - Add a 2.00 second Generic expiration timer to LavaDummy[(Integer A)]
Set LavaGroup = (Units within ......and [COLOR="Red"][B]((Matching unit) is in DamageGroup equal to false)[/B][/COLOR]
Unit Group - Pick every unit in LavaGroup and do (Actions)
Loop - Actions
[B][COLOR="Red"] Add (Picked Unit) to DamageGroup
Custom script: call DestroyGroup(udg_LavaGroup)
Custom script: call RemoveLocation(udg_TempLavaDummy[GetForLoopIndexA()]) [/COLOR][/B]
Custom script: call RemoveLocation(udg_TempLavaUnit)
Custom script: call RemoveLocation(udg_TempLavaTarger)
[COLOR="Red"][B]Unit Group - Pick every unit in DamageGroup and do (Actions)
Loop - Actions
Unit - Cause LavaUnit to damage (Picked unit), dealing (((Real((Level of |cffFF00CCTiÕng Gäi Quª H¬ng|r for LavaUnit))) x 5.00) x (Real((Strength of LavaUnit (Exclude bonuses))))) damage of attack type Hero and damage type Defensive
Floating Text - Create floating text that reads ((String(((Real((Strength of LavaUnit (Include bonuses)))) x ((Real((Level of |cffFF00CCTiÕng Gäi Quª H¬ng|r for LavaUnit))) x 5.00)))) + damage) at (Position of (Picked unit)) with Z offset 0.00, using font size 10.50, color (100.00%, 32.00%, 32.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
Remove all unit in DamageGroup[/B][/COLOR]

Với lại cho mình hỏi: có ability nào mà cộng HP hay MP không?? Ví dụ: mình đang có HP: 3000/3000 thì có ability nào làm tăng lên 4000/4000 ấy. thanks.
Thật ra nên làm theo cái trigger tôi chỉ, vì đơn giản sẽ có vị trí 1 unit nhận 2 lần damage.Ủa vậy à, cứ tưởng 1 chỗ xuất hiện Dummy thì nó dame kiểu Spell Lv x 5 lần![]()
Đó không phải là leak mà là chỗ đã sửa, bôi màu để dễ thấy thôi. Nếu anh Tom xem trigger phía trên sẽ thấy set Loc và Group ở trong loop nhưng remove ở ngoài ...@lonewolf020291: mấy chỗ màu đỏ trong spoiler là leak gì vậy?
Demo map vào rồi từ từ tham khảo. Có 2 dạng cơ bản. BT và PAS.
http://www.mediafire.com/?zhai3exsob4h6jf

bạn không hiểu rồiThứ nhất: Kiểm tra dummy của bạn có model không?Nếu không thì do không tìm thấy điểm gắn Attackment effect nên không show!
Thứ hai: Kiểm tra xem Scaling value của model và Select circle của model,giá trị của chúng phải >0!
Thứ ba: Kiểm tra lại toàn bộ trigger,xem thử sẽ có một số thiếu sót đối với trigger dẫn đến khi vào map sử dụng khiến trigger dừng tại một điểm,không chạy đến các lệnh còn lại!