À, do lỗi typing thôi, dư vài cái ngoặc. Phải thế này mới chính xác:Tks bạn nhiều :) nhưng cái dòng này nó bị gì zậy nó báo error.
call UnitDamageTarget(Holy_Light_C, Holy_Light_Target, I2R(GetUnitAbilityLevel( Holy_Light_C, 'AHhb')) * 30.00 ) + 85.00 ),, true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL, WEAPON_TYPE_WHOKNOWS)
Với lại giá trị 270 là gì thế bạn ?
call UnitDamageTarget(Holy_Light_C, Holy_Light_Target, (I2R(GetUnitAbilityLevel( Holy_Light_C, 'AHhb')) * 30.00 ) + 85.00 , true, false, ATTACK_TYPE_NORMAL, DAMAGE_TYPE_UNIVERSAL, WEAPON_TYPE_WHOKNOWS)

Chaos Blades Cast
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to (==) Karyu No Yokugeki
Actions
Floating Text - Create floating text that reads (Name of (Ability being cast)) above (Triggering unit) with Z offset 0.00, using font size 10.00, color (0.00%, 100.00%, 50.00%), and 0.00% transparency
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 25.00 towards 30.00 degrees
Floating Text - Change the lifespan of (Last created floating text) to 2.50 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.40 seconds
Wait 0.05 seconds
Set ChaosBladesAngleDir = (Facing of (Casting unit))
Set ChaosBladesAngle1 = (ChaosBladesAngleDir + 135.00)
Set ChaosBladesAngle2 = (ChaosBladesAngleDir + 225.00)
Set ChaosBladesDist = 100.00
Set ChaosBladesCaster = (Casting unit)
Set FireWingPoint1 = (Position of ChaosBladesCaster)
Animation - Play ChaosBladesCaster's Spell five animation
Animation - Change ChaosBladesCaster's animation speed to 50.00% of its original speed
Unit - Make ChaosBladesCaster Invulnerable
Unit - Turn collision for ChaosBladesCaster Off
Unit - Pause ChaosBladesCaster
Do Multiple ActionsFor each (Integer ChaosBladesInteger) from 1 to 5, do (Actions)
Loop - Actions
Unit - Create 1 blade for (Owner of (Triggering unit)) at (FireWingPoint1 offset by ChaosBladesDist towards ChaosBladesAngle1 degrees) facing ChaosBladesAngle1 degrees
Unit - Turn collision for (Last created unit) Off
Set FireWingPoint2A = (Position of (Last created unit))
Special Effect - Create a special effect at FireWingPoint2A using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Unit Group - Add (Last created unit) to ChaosBladesGrup1
Unit - Create 1 blade for (Owner of (Triggering unit)) at (FireWingPoint1 offset by ChaosBladesDist towards ChaosBladesAngle2 degrees) facing ChaosBladesAngle2 degrees
Unit - Turn collision for (Last created unit) Off
Set FireWingPoint2B = (Position of (Last created unit))
Special Effect - Create a special effect at FireWingPoint2B using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
Special Effect - Destroy (Last created special effect)
Unit Group - Add (Last created unit) to ChaosBladesGrup2
Set ChaosBladesDist = (ChaosBladesDist + 100.00)
Wait 0.01 seconds
Animation - Change ChaosBladesCaster's animation speed to 0.00% of its original speed
Trigger - Turn on Chaos Slice <gen>
Trigger - Turn on Chaos Fire <gen>
Wait 0.80 seconds
Trigger - Turn off Chaos Slice <gen>
Trigger - Turn on Chaos Dice <gen>
Wait 0.20 seconds
Trigger - Turn off Chaos Dice <gen>
Animation - Play ChaosBladesCaster's Spell four animation
Unit Group - Pick every unit in ChaosBladesGrup1 and do (Actions)
Loop - Actions
Set FireWingPoint2A = (Position of (Picked unit))
Unit - Move (Picked unit) instantly to FireWingPoint2A
Unit - Make (Picked unit) face ChaosBladesAngleDir over 0.00 seconds
Unit Group - Pick every unit in ChaosBladesGrup2 and do (Actions)
Loop - Actions
Set FireWingPoint2B = (Position of (Picked unit))
Unit - Move (Picked unit) instantly to FireWingPoint2B
Unit - Make (Picked unit) face ChaosBladesAngleDir over 0.00 seconds
Trigger - Run Chaos Fire <gen> (ignoring conditions)
Trigger - Turn off Chaos Fire <gen>
Wait 0.01 seconds
Animation - Change ChaosBladesCaster's animation speed to 100.00% of its original speed
Unit Group - Pick every unit in ChaosBladesGrup1 and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
Unit Group - Pick every unit in ChaosBladesGrup2 and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
Unit Group - Remove all units from ChaosBladesGrup1
Unit Group - Remove all units from ChaosBladesGrup2
Unit - Make ChaosBladesCaster Vulnerable
Unit - Turn collision for ChaosBladesCaster On
Unit - Unpause ChaosBladesCaster
Wait 5.00 seconds
Custom script: call RemoveLocation(udg_FireWingPoint1)
Custom script: call RemoveLocation(udg_FireWingPoint2A)
Custom script: call RemoveLocation(udg_FireWingPoint2B)
Custom script: call RemoveLocation(udg_FireWingPoint3A)
Custom script: call RemoveLocation(udg_FireWingPoint3B)
Custom script: call RemoveLocation(udg_FireWingPoint4A)
Custom script: call RemoveLocation(udg_FireWingPoint4B)
Custom script: call RemoveLocation(udg_FireWingPoint5A)
Custom script: call RemoveLocation(udg_FireWingPoint5B)
Chaos Fire
Events
Time - Every 0.05 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in ChaosBladesGrup1 and do (Actions)
Loop - Actions
Set FireWingPoint3A = (Position of (Picked unit))
Set FireWing_DG01 = (Units within 95.00 of FireWingPoint3A)
Unit - Create 1 blade burn for (Owner of ChaosBladesCaster) at FireWingPoint3A facing Default building facing (270.0) degrees
Unit Group - Pick every unit in FireWing_DG01 and do (Actions)
Loop - Actions
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is owned by Player 7 (Green)) Equal to (==) True
((Picked unit) is A structure) Equal to (==) False
Then - Actions
Unit - Cause ChaosBladesCaster to damage (Picked unit), dealing 14500.00 damage of attack type Normal and damage type Normal
Else - Actions
Do nothing
Custom script: call DestroyGroup( udg_FireWing_DG01 )
Unit Group - Pick every unit in ChaosBladesGrup2 and do (Actions)
Loop - Actions
Set FireWingPoint3B = (Position of (Picked unit))
Set FireWing_DG02 = (Units within 95.00 of FireWingPoint3B)
Unit - Create 1 blade burn for (Owner of ChaosBladesCaster) at FireWingPoint2B facing Default building facing (270.0) degrees
Unit Group - Pick every unit in FireWing_DG02 and do (Actions)
Loop - Actions
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is owned by Player 7 (Green)) Equal to (==) True
((Picked unit) is A structure) Equal to (==) False
Then - Actions
Unit - Cause ChaosBladesCaster to damage (Picked unit), dealing 14500.00 damage of attack type Normal and damage type Normal
Else - Actions
Do nothing
Custom script: call DestroyGroup( udg_FireWing_DG02 )
Chaos Slice
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit - Move ChaosBladesCaster instantly to (FireWingPoint1 offset by 5.00 towards ChaosBladesAngleDir degrees)
Unit Group - Pick every unit in ChaosBladesGrup1 and do (Actions)
Loop - Actions
Set FireWingPoint4A = (Position of (Picked unit))
Unit - Move (Picked unit) instantly to (FireWingPoint4A offset by 10.00 towards ChaosBladesAngleDir degrees)
Unit Group - Pick every unit in ChaosBladesGrup2 and do (Actions)
Loop - Actions
Set FireWingPoint4B = (Position of (Picked unit))
Unit - Move (Picked unit) instantly to (FireWingPoint4B offset by 10.00 towards ChaosBladesAngleDir degrees)
Chaos Dice
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in ChaosBladesGrup1 and do (Actions)
Loop - Actions
Set FireWingPoint5A = (Position of (Picked unit))
Unit - Move (Picked unit) instantly to (FireWingPoint1 offset by (Distance between FireWingPoint5A and FireWingPoint1) towards ChaosBladesAngle1 degrees)
Unit - Make (Picked unit) face (ChaosBladesAngle1 + 0.00) over 0.00 seconds
Set ChaosBladesAngle1 = (ChaosBladesAngle1 - 0.70)
Unit Group - Pick every unit in ChaosBladesGrup2 and do (Actions)
Loop - Actions
Set FireWingPoint5B = (Position of (Picked unit))
Unit - Move (Picked unit) instantly to (FireWingPoint1 offset by (Distance between FireWingPoint5B and FireWingPoint1) towards ChaosBladesAngle1 degrees)
Unit - Make (Picked unit) face (ChaosBladesAngle2 - 0.00) over 0.00 seconds
Set ChaosBladesAngle2 = (ChaosBladesAngle2 + 0.70)
Hỏi:
Nên làm một spell như nào thì tối ưu nhất ?
Dùng như kiểu MUI rồi loop ?
Hay mỗi spell dùng một timer riêng ?
Các system TimerUtils,GroupUtils...có chức năng tác dụng gì ?

Bạn SITUVN cho mình hỏi
mình đã import font + open map bằng jass new gen v5d nhưng sao vô Game Interface thì không thấy dòng font để chèn, giúp với! cảm ơn nhiều nhiều.
Hỏi: Có cách nào làm một player mất mất tầm nhìn (sight) của một unit thuộc owner của player đó không ? Mình chơi map impossible bosses ở ngay Level 1,khi con boss sử dụng chiêu thì toàn bộ các unit sẽ bị mất sight
XPD là gì vậy bạn, nói cụ thể hơn được không. Còn jassnewgen thì đương nhiên mình đã enable usmwe rồi bạn ạ!