Map is very lagging for playing.

Naxisty

New Member
Reaction score
0
I upload map look at and help me :( Okay i write triggers

EA Movement
Trigger:
  • Events
    • Time - Every 0.03 seconds of game time
    • Actions
      • For each (Integer MUI3) from 1 to MUI2, do (Actions)
        • Loop - Actions
          • Set EA_bPoint[MUI3] = (Position of EA_Dummy[MUI3])
          • Set EA_mPoint[MUI3] = (EA_bPoint[MUI3] offset by 25.00 towards EA_Angle[MUI3] degrees)
          • Set EA_Angle[MUI3] = (Angle from EA_cPoint[MUI3] to EA_mPoint[MUI3])
          • Unit - Move EA_Dummy[MUI3] instantly to EA_mPoint[MUI3]
          • Set EA_Distance[MUI3] = (Distance between EA_cPoint[MUI3] and EA_mPoint[MUI3])
          • Set EA_Timer[MUI3] = (EA_Timer[MUI3] + 4.13)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • EA_Timer[MUI3] Greater than or equal to 33.00
            • Then - Actions
              • Set EA_Level[MUI3] = (EA_Level[MUI3] + 1)
              • Set EA_Timer[MUI3] = 0.00
            • Else - Actions
          • Set EA_Targets[MUI3] = (Units within 125.00 of EA_mPoint[MUI3] matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Unit-type of (Matching unit)) Not equal to Arrow) and (((Matching unit) belongs to an enemy of (Owner of
          • Custom script: set udg_EA_HitUnit = FirstOfGroup(udg_EA_Targets[udg_MUI3])
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • ((Playable map area) contains EA_Dummy[MUI3]) Equal to False
                  • EA_Distance[MUI3] Greater than or equal to 2000.00
                  • EA_HitUnit Not equal to No unit
            • Then - Actions
              • Set Damage = (Intelligence of EA_cUnit[MUI3] (Include bonuses))
              • Set CritChance = (Real((Agility of EA_cUnit[MUI3] (Include bonuses))))
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Random real number between 1.00 and 100.00) Less than or equal to CritChance
                • Then - Actions
                  • Set MissChange = (Real((Agility of EA_HitUnit (Include bonuses))))
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (EA_HitUnit has buff Evade aura ) Equal to True
                      • (Random real number between 1.00 and 100.00) Less than or equal to MissChange
                    • Then - Actions
                      • Floating Text - Create floating text that reads (|CFF790000 + (Miss + |r)) above EA_HitUnit with Z offset 0.00, using font size 8.00, color (100.00%, 100.00%, 100.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 80.00 towards 45.00 degrees
                      • Floating Text - Change the lifespan of (Last created floating text) to 1.25 seconds
                      • Floating Text - Change the fading age of (Last created floating text) to 0.90 seconds
                      • Unit - Kill EA_Dummy[MUI3]
                      • Set EA_Dummy[MUI3] = No unit
                      • Set EA_Timer[MUI3] = 0.00
                      • Custom script: call RemoveLocation (udg_EA_cPoint[udg_MUI3])
                      • Set MUI1 = (MUI1 - 1)
                    • Else - Actions
                      • Unit - Create 1 Caster Dummy for (Owner of EA_Dummy[MUI3]) at EA_mPoint[MUI3] facing Default building facing degrees
                      • Unit - Add Stun to (Last created unit)
                      • Unit - Set level of Stun for (Last created unit) to EA_Level[MUI3]
                      • Unit - Order (Last created unit) to Human Mountain King - Storm Bolt EA_HitUnit
                      • Unit - Cause EA_cUnit[MUI3] to damage EA_HitUnit, dealing (0.00 + (2.00 x (Real(Damage)))) damage of attack type Normal and damage type Normal
                      • Floating Text - Create floating text that reads (|CFF790000 Critical + (- + ( + ((String((2 x Damage))) + |r)))) above EA_HitUnit with Z offset 0.00, using font size 8.00, color (100.00%, 100.00%, 100.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 80.00 towards 45.00 degrees
 

Attachments

  • archer wars.zip
    1.4 MB · Views: 168

Naxisty

New Member
Reaction score
0
Trigger:
  • Floating Text - Change the lifespan of (Last created floating text) to 1.25 seconds
    • Floating Text - Change the fading age of (Last created floating text) to 0.90 seconds
    • Set DamageDone = (DamageDone + Damage)
    • Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
    • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
    • Unit - Kill EA_Dummy[MUI3]
    • Set EA_Dummy[MUI3] = No unit
    • Set EA_Timer[MUI3] = 0.00
    • Custom script: call RemoveLocation (udg_EA_cPoint[udg_MUI3])
    • Set MUI1 = (MUI1 - 1)
    • Else - Actions
      • Set MissChange = (Real((Agility of EA_HitUnit (Include bonuses))))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (EA_HitUnit has buff Evade aura ) Equal to True
          • (Random real number between 1.00 and 100.00) Less than or equal to MissChange
        • Then - Actions
          • Floating Text - Create floating text that reads (|CFF790000 + (Miss + |r)) above EA_HitUnit with Z offset 0.00, using font size 8.00, color (100.00%, 100.00%, 100.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 80.00 towards 45.00 degrees
          • Floating Text - Change the lifespan of (Last created floating text) to 1.25 seconds
          • Floating Text - Change the fading age of (Last created floating text) to 0.90 seconds
          • Unit - Kill EA_Dummy[MUI3]
          • Set EA_Dummy[MUI3] = No unit
          • Set EA_Timer[MUI3] = 0.00
          • Custom script: call RemoveLocation (udg_EA_cPoint[udg_MUI3])
          • Set MUI1 = (MUI1 - 1)
        • Else - Actions
          • Unit - Create 1 Caster Dummy for (Owner of EA_Dummy[MUI3]) at EA_mPoint[MUI3] facing Default building facing degrees
          • Unit - Add Stun to (Last created unit)
          • Unit - Set level of Stun for (Last created unit) to EA_Level[MUI3]
          • Unit - Order (Last created unit) to Human Mountain King - Storm Bolt EA_HitUnit
          • Set Damage = (Intelligence of EA_cUnit[MUI3] (Include bonuses))
          • Set CritChance = (Real((Agility of EA_cUnit[MUI3] (Include bonuses))))
          • Unit - Cause EA_cUnit[MUI3] to damage EA_HitUnit, dealing (0.00 + (1.00 x (Real((Intelligence of EA_cUnit[MUI3] (Include bonuses)))))) damage of attack type Normal and damage type Normal
          • Floating Text - Create floating text that reads (|CFF790000 + (- + ( + ((String(Damage)) + |r)))) above EA_HitUnit with Z offset 0.00, using font size 8.00, color (100.00%, 100.00%, 100.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 80.00 towards 45.00 degrees
          • Floating Text - Change the lifespan of (Last created floating text) to 1.25 seconds
          • Floating Text - Change the fading age of (Last created floating text) to 0.90 seconds
          • Set DamageDone = (DamageDone + Damage)
          • Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
          • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
          • Unit - Kill EA_Dummy[MUI3]
          • Set EA_Dummy[MUI3] = No unit
          • Set EA_Timer[MUI3] = 0.00
          • Custom script: call RemoveLocation (udg_EA_cPoint[udg_MUI3])
          • Set MUI1 = (MUI1 - 1)
    • Else - Actions
    • Custom script: call DestroyGroup (udg_EA_Targets[udg_MUI3])
    • Custom script: set udg_EA_HitUnit = null
    • Custom script: call RemoveLocation (udg_EA_bPoint[udg_MUI3])
    • Custom script: call RemoveLocation (udg_EA_mPoint[udg_MUI3])
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • MUI1 Equal to 0
      • Then - Actions
        • Set MUI2 = 0
        • Trigger - Turn off (This trigger)
      • Else - Actions
[/wc3]
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top