dr4k_nova
Youtube Master Race
- 11/12/10
em cần làm trigger rơi random item khi quái chết
sao không ai chỉ em vậy mong được giúp đỡ
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.
em cần làm trigger rơi random item khi quái chết
sao không ai chỉ em vậy mong được giúp đỡ
. .Mã:Unit kill random item Events Unit - A unit owned by Neutral Hostile Dies Conditions Actions Set Random = (Random integer number between 1 and 3) If (Random Equal to 1) then do (Item - Create Tome of Intelligence +2 at (Position of (Dying unit))) else do (Do nothing) If (Random Equal to 2) then do (Item - Create Tome of Strength +2 at (Position of (Dying unit))) else do (Do nothing) If (Random Equal to 3) then do (Item - Create Tome of Agility +2 at (Position of (Dying unit))) else do (Do nothing)

Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - ((Life of (Triggering unit)) x (số % bạn muốn trừ)))
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - ((Max life of (Triggering unit)) x (số % bạn muốn trừ)))
Unit - Cause (unit gây dam) to damage (unit mất máu), dealing (((số % bạn muốn trừ) / 100.00) x (Life of (unit mất máu))) damage of attack type Spells and damage type Normal

. .Mã:Unit kill random item Events Unit - A unit owned by Neutral Hostile Dies Conditions Actions Set Random = (Random integer number between 1 and 3) If (Random Equal to 1) then do (Item - Create Tome of Intelligence +2 at (Position of (Dying unit))) else do (Do nothing) If (Random Equal to 2) then do (Item - Create Tome of Strength +2 at (Position of (Dying unit))) else do (Do nothing) If (Random Equal to 3) then do (Item - Create Tome of Agility +2 at (Position of (Dying unit))) else do (Do nothing)
Actions
Set Random = (Random integer number between 1 and 100)
If (Random less than or Equal to 50) then do (Item - Create Tome of Intelligence +2 at (Position of (Dying unit))) else do (Do nothing)
If (Random less than or Equal to 3) then do (Item - Create Tome of Strength +2 at (Position of (Dying unit))) else do (Do nothing)

ai cho mình hỏi sao xin "whosyourdaddy" ( ai là bố ngươi) ở single thì ko bất tử được .Mình chơi qua mấy map RPG thì thấy điều này :)
Mình khi trước làm theo cái này, disable hiệu quả vài thứÝ mình là khi mà User chơi game, mà dùng Cheat, thì map sẽ phát hiện và end game.
.
1 cách đơn giản nhất làCho hỏi cách làm giới hạn item với các bạn.
Ví dụ thế này :
Mình có cái item Super Ultra Nova Gun, nhưng mình muốn là chỉ có 3 thằng Hero (chẳng hạn là Hero 1, 2, 3) dùng được.
Hero 4,5,6 sẽ ko dùng được.
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Super Nova Gun
(Unit-type of (Triggering unit)) Not equal to Hero 1
(Unit-type of (Triggering unit)) Not equal to Hero 2
(Unit-type of (Triggering unit)) Not equal to Hero 3
Actions
Hero - Drop (Item being manipulated) from (Triggering unit)
Skill nào chả được, lấy Berserk xem, casting time =4 và tạo trigger3.Mình muốn tạo 1 skill kiểu sudden death, delay 5s casting rồi rầm 1 cái là chết thì phải build base từ skill nào :(:(?