Làm cái skill critical strike nó oánh nhà hiện dam màu đỏ -> mình k hiểu lắm, giúp mình cho trót đi b À mà cho mình hỏi thêm 1 câu: làm cái bảng hiện số ng đang chơi ntn???? Khi có ng out thì tự biến mất?????????
Cái Critcal đánh vào nhà hiện dmg đỏ mai mình làm trigger hoàn chỉnh cho cái bảng hiện số người chơi thì có trong topic tổng hợp các link hữu dụng rồi mà còn khi không có người thì tạo ra 1 trigger:Event : Player ... leveal game,action: remove ..................... ====================================================================== Bạn nào cho mình hỏi sao mình dùng Damage Area thì mình chọn Spells -- Normal thế mà vào game thì con cast của mình vẫn mất máu và cả của đồng đội ??? bạn nào fix được không
À mình nói lại xíu. Nhờ ai đó làm dùm mình cái Score Board, bên trong hiện: những ng đang chơi và số vàng, gỗ hiện tại của họ
Multiboard [spoil] Create Multiboard Events Time - Elapsed game time is 1.00 seconds Conditions Actions Set Mul_Group = (All players matching ((((Matching player) controller) Equal to (==) User) and (((Matching player) slot status) Equal to (==) Is playing))) Player Group - Pick every player in Mul_Group and do (Actions) Loop - Actions Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions Multiple ConditionsOr - Any (Conditions) are true Conditions (Picked player) Equal to (==) Player 1 (Red) ((Picked player) is an ally of Player 1 (Red)) Equal to (==) True Then - Actions Set Playe_int = (Playe_int + 1) Else - Actions Set Mul_Number_Player = (Number of players in Mul_Group) Multiboard - Create a multiboard with 5 columns and (Mul_Number_Player + 4) rows, titled Multiboard by |cff0... Do Multiple ActionsFor each (Integer A) from 1 to (Mul_Number_Player + 4), do (Actions) Loop - Actions Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Hide icons Multiboard - Set the display style for (Last created multiboard) item in column 2, row (Integer A) to Show text and Hide icons Multiboard - Set the display style for (Last created multiboard) item in column 3, row (Integer A) to Show text and Hide icons Multiboard - Set the display style for (Last created multiboard) item in column 4, row (Integer A) to Show text and Hide icons Multiboard - Set the display style for (Last created multiboard) item in column 5, row (Integer A) to Show text and Hide icons Multiboard - Set the width for (Last created multiboard) item in column 1, row 0 to 10.00% of the total screen width Multiboard - Set the width for (Last created multiboard) item in column 2, row 0 to 4.00% of the total screen width Multiboard - Set the width for (Last created multiboard) item in column 3, row 0 to 4.00% of the total screen width Multiboard - Set the width for (Last created multiboard) item in column 4, row 0 to 4.00% of the total screen width Multiboard - Set the width for (Last created multiboard) item in column 5, row 0 to 10.00% of the total screen width Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Name Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Lv Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to K Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to D Multiboard - Set the text for (Last created multiboard) item in column 5, row 1 to Score Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to |cffff0000Team 1|r Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to 0 Multiboard - Set the text for (Last created multiboard) item in column 3, row 2 to 0 Multiboard - Set the text for (Last created multiboard) item in column 1, row (3 + Playe_int) to |cff00ff00Team 2|r Multiboard - Set the text for (Last created multiboard) item in column 2, row (3 + Playe_int) to 0 Multiboard - Set the text for (Last created multiboard) item in column 3, row (3 + Playe_int) to 0 Do Multiple ActionsFor each (Integer A) from 1 to 5, do (Actions) Loop - Actions Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions ((Player((Integer A))) is in Mul_Group) Equal to (==) True Then - Actions Set Mul_Cols[(Integer A)] = ((Integer A) + 2) Multiboard - Set the text for (Last created multiboard) item in column 1, row Mul_Cols[(Integer A)] to (Player_Color[(Integer A)] + ((Name of (Player((Integer A)))) + |r)) Multiboard - Set the text for (Last created multiboard) item in column 2, row Mul_Cols[(Integer A)] to 0 Multiboard - Set the text for (Last created multiboard) item in column 3, row Mul_Cols[(Integer A)] to 0 Multiboard - Set the text for (Last created multiboard) item in column 4, row Mul_Cols[(Integer A)] to 0 Multiboard - Set the text for (Last created multiboard) item in column 5, row Mul_Cols[(Integer A)] to 0 Else - Actions Do Multiple ActionsFor each (Integer A) from 6 to 10, do (Actions) Loop - Actions Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions ((Player((Integer A))) is in Mul_Group) Equal to (==) True Then - Actions Set Mul_Cols[(Integer A)] = ((Integer A) + 3) Multiboard - Set the text for (Last created multiboard) item in column 1, row Mul_Cols[(Integer A)] to (Player_Color[(Integer A)] + ((Name of (Player((Integer A)))) + |r)) Multiboard - Set the text for (Last created multiboard) item in column 2, row Mul_Cols[(Integer A)] to 0 Multiboard - Set the text for (Last created multiboard) item in column 3, row Mul_Cols[(Integer A)] to 0 Multiboard - Set the text for (Last created multiboard) item in column 4, row Mul_Cols[(Integer A)] to 0 Multiboard - Set the text for (Last created multiboard) item in column 5, row Mul_Cols[(Integer A)] to 0 Else - Actions Multiboard - Minimize (Last created multiboard) Set Multiboard = (Last created multiboard) Custom script: call DestroyForce(udg_Mul_Group) [/spoil] [spoil] Change Value Events Time - Every 1.00 seconds of game time Conditions Actions Do Multiple ActionsFor each (Integer A) from 1 to 10, do (Actions) Loop - Actions Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions Hero[(Integer A)] Not equal to (!=) No unit Then - Actions Multiboard - Set the text for Multiboard item in column 2, row Mul_Cols[(Integer A)] to (String((Level of Hero[(Integer A)]))) Multiboard - Set the text for Multiboard item in column 3, row Mul_Cols[(Integer A)] to (String(Kills[(Integer A)])) Multiboard - Set the text for Multiboard item in column 4, row Mul_Cols[(Integer A)] to (String(Death[(Integer A)])) Multiboard - Set the text for Multiboard item in column 5, row Mul_Cols[(Integer A)] to (String(Score[(Integer A)])) Else - Actions [/spoil]
Ai bik lỗi wehack 433 là j hok.Ấn test map mà nó cứ hiện ra.Làm giúp mình cái Effect thế này nữa ,nếu có sẵn model như thế càng tốt.Tks - - - Updated - - - ặc dán link mà hok hiện ảnh http://upanh.com/blaine_magmar_fire_blast_upanh/v/8vya7fdo2nq.htm
1. cái này k fải dồn damg ursa, coi lại nhé pạn. 2. K MUI 3. Cái này thì mình biết làm r` :) Nhân tiện hỏi cách làm skill dồn damg này thì cho hỏi cách làm Aura - % máu mỗi giây như của Necrolyte luôn :)... toàn map và càng gần thì % máu mất mỗi giây càng nhiều, MUI giúp, GUI hay Jass cũng đc ( Jass đơn giản tí, nếu nâng cao hơn thì nhờ giải thích giúp )
Cái trigger này của em bị lỗi gì mà khi vào game dùng skill nó lag kinh khủng. Các bác xem giùm em với: Mã: Columns of Fire Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Columns of Fire Actions Trigger - Turn off (This trigger) Set Firelord_CoF_Caster = (Casting unit) Set Firelord_CoF_Point = (Position of Firelord_CoF_Caster) Set Firelord_CoF_PointCast = (Target point of ability being cast) Set Firelord_CoF_Damage = ((50.00 x (Real((Level of Columns of Fire for Firelord_CoF_Caster)))) + (2.00 x (Real((Intelligence of Firelord_CoF_Caster (Include bonuses)))))) For each (Integer A) from 1 to 5, do (Actions) Loop - Actions Set Firelord_CoF_Point2 = (Firelord_CoF_Point offset by (200.00 x (Real((Integer A)))) towards (Angle from Firelord_CoF_Point to Firelord_CoF_PointCast) degrees) Set Firelord_CoF_Group = (Units within 225.00 of Firelord_CoF_Point2 matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is Magic Immune) Equal to False) and (((((Matching unit) is alive) Equal to True) and (((Matching unit) is in Firelord_CoF_GroupDama Unit - Create 1 Dummy for (Owner of Firelord_CoF_Caster) at Firelord_CoF_Point facing Default building facing degrees Unit - Add a 2.00 second Generic expiration timer to (Last created unit) Unit - Add Columns of Fire Dummy to (Last created unit) Unit - Order (Last created unit) to Human Blood Mage - Flame Strike Firelord_CoF_Point2 Unit Group - Pick every unit in Firelord_CoF_Group and do (Actions) Loop - Actions Unit - Cause Firelord_CoF_Caster to damage (Picked unit), dealing Firelord_CoF_Damage damage of attack type Spells and damage type Normal Unit Group - Add (Picked unit) to Firelord_CoF_GroupDamage Destructible - Pick every destructible within 225.00 of Firelord_CoF_Point2 and do (Actions) Loop - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Destructible-type of (Picked destructible)) Equal to Summer Tree Wall Then - Actions Destructible - Kill (Picked destructible) Else - Actions EGUI Leak - Remove Firelord_CoF_Point2 EGUI Leak - Destroy Firelord_CoF_Group Unit Group - Remove all units from Firelord_CoF_GroupDamage EGUI Leak - Remove Firelord_CoF_Point EGUI Leak - Remove Firelord_CoF_PointCast Trigger - Turn on (This trigger)