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.
Cho e hỏi tý trog war movement max là 522 tại sao khi e check -ms nó max ms nó lại chỉ có 400 ?_? zúp e vs thanks mấy bác
ai biết trigger mình đứng trên cao ko nhìn đc bên trong đen thui như vùng cấm như rosan trong dota ko
^
cái đó là cây che mất sight chứ trigger, vùng cấm gì![]()



Player - Turn Gives bounty On for Player 1 (Red)
Đây mọi người xem giúp sai chỗ nào, mình chịu rồi. Dummy Bay Mau là unit với model nào đó có ability base từ Unholy Aura của Undead để giảm ms enemy
Mã:Bay Mau Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Bay Mau Actions Set Unit_Skill[8] = (Casting unit) Set Real_Skill[3] = ((Real((Level of Bay Mau for Unit_Skill[8]))) x 5.00) Trigger - Turn on Bay Mau 2 <gen>Mã:Bay Mau 2 Events Time - Every 0.50 seconds of game time Conditions (Unit_Skill[8] has buff |cffEA151EBÉy M¸u|r ) Equal to True Actions Set Real_Skill[3] = (Real_Skill[3] - 0.50) Set Point_Skill[10] = (Position of Unit_Skill[8]) Unit - Create 1 Dummy Bay Mau for (Owner of Unit_Skill[8]) at Point_Skill[10] facing Default building facing degrees Set Dummy_Baymau[Integer_Baymau] = (Last created unit) Unit - Add Bay Mau to Dummy_Baymau[Integer_Baymau] Unit - Add a ((Real((Level of Bay Mau for Unit_Skill[8]))) x 5.00) second Generic expiration timer to Dummy_Baymau[Integer_Baymau] Set Point_Skill[11] = (Position of Dummy_Baymau[Integer_Baymau]) Set Group_Skill[4] = (Units within 350.00 of Point_Skill[11] matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an enemy of (Owner of Unit_Skill[8])) Equal to True))) Unit Group - Pick every unit in Group_Skill[4] and do (Actions) Loop - Actions Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - (5.00 x (Real((Level of Bay Mau for Unit_Skill[8]))))) Special Effect - Create a special effect attached to the chest of (Picked unit) using Objects\Spawnmodels\Human\HumanBlood\HumanBloodFootman.mdl Special Effect - Destroy (Last created special effect) Set Integer_Baymau = (Integer_Baymau + 1) If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions Real_Skill[3] Less than or equal to 0.00 Then - Actions Trigger - Turn off (This trigger) Custom script: call RemoveLocation(udg_Point_Skill[10]) Else - Actions Custom script: call RemoveLocation(udg_Point_Skill[11]) Custom script: call DestroyGroup(udg_Group_Skill[4])
@andybi: Nói chuyện bố láo thế kia thì ko ai giúp đâu.
Card ở đây ko là gì cả, đừng đem nó vào làm reward. Đây là topic hỏi đáp ko phải topic nhận request or blah blah blah...
1. Vào trigger bật bounty on cho tất cả player, sau đó vào chỉnh tiền nhận trong Gold Bounty Award của creep. Đối với hero thì xài trigger
Untitled Trigger 003
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Player Group - Pick every player in (All players) and do (Player - Turn Gives bounty On for (Picked player))




Tien
Events
Map initialization
Conditions
Actions
Player - Turn Gives bounty On for Player 1 (Red)
Player - Turn Gives bounty On for Player 2 (Blue)
Player - Turn Gives bounty On for Player 3 (Teal)
Player - Turn Gives bounty On for Player 4 (Purple)
Player - Turn Gives bounty On for Player 5 (Yellow)
Player - Turn Gives bounty On for Player 6 (Orange)
Player - Turn Gives bounty On for Player 7 (Green)
Player - Turn Gives bounty On for Player 8 (Pink)
Player - Turn Gives bounty On for Player 9 (Gray)
Player - Turn Gives bounty On for Player 10 (Light Blue)
Player - Turn Gives bounty On for Player 11 (Dark Green)
Player - Turn Gives bounty On for Player 12 (Brown)
Player - Turn Gives bounty On for Neutral Hostile
Player - Turn Gives bounty On for Neutral Victim
Player - Turn Gives bounty On for Neutral Extra
Player - Turn Gives bounty On for Neutral Passive
[code/]
^
cái bước đầu thì đc rồi đấy nhưng bước sau code như thế nào ?
Untitled Trigger 001
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Dying unit) belongs to an ally of Player 1 (Red)) Equal to True
Then - Actions
Set Integer2 = (Integer2 + 1)
Else - Actions
Set Integer = (Integer + 1)
Untitled Trigger 001
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer Equal to 100
Then - Actions
Game - Victory Player 1 (Red) (Show dialogs, Show scores)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer2 Equal to 100
Then - Actions
Game - Victory Player 7 (Green) (Show dialogs, Show scores)
Else - Actions
Đây mọi người xem giúp sai chỗ nào, mình chịu rồi. Dummy Bay Mau là unit với model nào đó có ability base từ Unholy Aura của Undead để giảm ms enemy
Mã:Bay Mau Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Bay Mau Actions Set Unit_Skill[8] = (Casting unit) Set Real_Skill[3] = ((Real((Level of Bay Mau for Unit_Skill[8]))) x 5.00) Trigger - Turn on Bay Mau 2 <gen>Mã:Bay Mau 2 Events Time - Every 0.50 seconds of game time Conditions (Unit_Skill[8] has buff |cffEA151EBÉy M¸u|r ) Equal to True Actions Set Real_Skill[3] = (Real_Skill[3] - 0.50) Set Point_Skill[10] = (Position of Unit_Skill[8]) Unit - Create 1 Dummy Bay Mau for (Owner of Unit_Skill[8]) at Point_Skill[10] facing Default building facing degrees Set Dummy_Baymau[Integer_Baymau] = (Last created unit) Unit - Add Bay Mau to Dummy_Baymau[Integer_Baymau] Unit - Add a ((Real((Level of Bay Mau for Unit_Skill[8]))) x 5.00) second Generic expiration timer to Dummy_Baymau[Integer_Baymau] Set Point_Skill[11] = (Position of Dummy_Baymau[Integer_Baymau]) Set Group_Skill[4] = (Units within 350.00 of Point_Skill[11] matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an enemy of (Owner of Unit_Skill[8])) Equal to True))) Unit Group - Pick every unit in Group_Skill[4] and do (Actions) Loop - Actions Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - (5.00 x (Real((Level of Bay Mau for Unit_Skill[8]))))) Special Effect - Create a special effect attached to the chest of (Picked unit) using Objects\Spawnmodels\Human\HumanBlood\HumanBloodFootman.mdl Special Effect - Destroy (Last created special effect) Set Integer_Baymau = (Integer_Baymau + 1) If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions Real_Skill[3] Less than or equal to 0.00 Then - Actions Trigger - Turn off (This trigger) Custom script: call RemoveLocation(udg_Point_Skill[10]) Else - Actions Custom script: call RemoveLocation(udg_Point_Skill[11]) Custom script: call DestroyGroup(udg_Group_Skill[4])
Cái này là giới hạn chỉ cho mua tối đa 2 con Peasant thôi mà :(
Mình muốn mua bao nhiêu Peasant cũng dc, nhưng chỉ 1 lúc có 2 con sửa dc nhà thôi ấy????????????????
Worker Begin
Events
Unit - A unit Begins channeling an ability
Conditions
(Ability being cast) Equal to Repair (Human)
Actions
Set Worker_Count[0] = (Player number of (Owner of (Triggering unit)))
Set Worker_Count[Worker_Count[0]] = (Worker_Count[Worker_Count[0]] + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Worker_Count[Worker_Count[0]] Less than or equal to 2
Then - Actions
Else - Actions
Unit - Order (Triggering unit) to Stop
Game - Display to (All players) the text: Can not use more th...
Worker End
Events
Unit - A unit Stops casting an ability
Conditions
(Ability being cast) Equal to Repair (Human)
Actions
Set Worker_Count[0] = (Player number of (Owner of (Triggering unit)))
Set Worker_Count[Worker_Count[0]] = (Worker_Count[Worker_Count[0]] - 1)
Đây mọi người xem giúp sai chỗ nào, mình chịu rồi. Dummy Bay Mau là unit với model nào đó có ability base từ Unholy Aura của Undead để giảm ms enemy