Backstab problem again

sidove

Member
Reaction score
22
Hi I've got a back stab problem the player dosen't damage the target here's the code +rep for help.
Code:
Blade Embrace
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Blade Embrace (Shadowmancer)
        Or - Any (Conditions) are true
            Conditions
                (Angle from (Position of (Triggering unit)) to (Position of (Target unit of ability being cast))) Less than or equal to ((Facing of (Target unit of ability being cast)) - 200.00)
                (Angle from (Position of (Triggering unit)) to (Position of (Target unit of ability being cast))) Greater than or equal to ((Facing of (Target unit of ability being cast)) - 160.00)
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                And - All (Conditions) are true
                    Conditions
                        (Level of Blade Embrace (Shadowmancer) for (Triggering unit)) Equal to 1
                        (Random integer number between 1 and 100) Equal to 5
            Then - Actions
                Unit - Create 1 BladeEmbrace_Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
                Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
                Unit - Order (Last created unit) to Human Blood Mage - Banish Back_Target
                Set Back_Target = (Target unit of ability being cast)
                Special Effect - Create a special effect attached to the origin of Back_Target using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                Set Backstab = (Last created special effect)
                Unit - Cause (Triggering unit) to damage Back_Target, dealing (100.00 x (Real((Level of Backstab  for (Triggering unit))))) damage of attack type Normal and damage type Magic
                Floating Text - Create floating text that reads (String(((Level of Backstab  for (Triggering unit)) x 200))) above (Triggering unit) with Z offset 0.00, using font size 8.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                Set Bsdmg = (Last created floating text)
                Floating Text - Hide Bsdmg for (All players)
                Floating Text - Change Bsdmg: Disable permanence
                Floating Text - Change the lifespan of Bsdmg to 1.50 seconds
                Special Effect - Destroy Backstab
                Floating Text - Show Bsdmg for (All players)
            Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        And - All (Conditions) are true
                            Conditions
                                (Level of Blade Embrace (Shadowmancer) for (Triggering unit)) Equal to 2
                                (Random integer number between 1 and 100) Equal to 10
                    Then - Actions
                        Unit - Create 1 BladeEmbrace_Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
                        Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
                        Unit - Order (Last created unit) to Human Blood Mage - Banish Back_Target
                        Set Back_Target = (Target unit of ability being cast)
                        Special Effect - Create a special effect attached to the origin of Back_Target using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                        Set Backstab = (Last created special effect)
                        Unit - Cause (Triggering unit) to damage Back_Target, dealing (100.00 x (Real((Level of Backstab  for (Triggering unit))))) damage of attack type Normal and damage type Magic
                        Floating Text - Create floating text that reads (String(((Level of Backstab  for (Triggering unit)) x 200))) above (Triggering unit) with Z offset 0.00, using font size 8.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                        Set Bsdmg = (Last created floating text)
                        Floating Text - Hide Bsdmg for (All players)
                        Floating Text - Change Bsdmg: Disable permanence
                        Floating Text - Change the lifespan of Bsdmg to 1.50 seconds
                        Special Effect - Destroy Backstab
                        Floating Text - Show Bsdmg for (All players)
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                And - All (Conditions) are true
                                    Conditions
                                        (Level of Blade Embrace (Shadowmancer) for (Triggering unit)) Equal to 3
                                        (Random integer number between 1 and 100) Equal to 15
                            Then - Actions
                                Unit - Create 1 BladeEmbrace_Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
                                Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
                                Unit - Order (Last created unit) to Human Blood Mage - Banish Back_Target
                                Set Back_Target = (Target unit of ability being cast)
                                Special Effect - Create a special effect attached to the origin of Back_Target using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                                Set Backstab = (Last created special effect)
                                Unit - Cause (Triggering unit) to damage Back_Target, dealing (100.00 x (Real((Level of Backstab  for (Triggering unit))))) damage of attack type Normal and damage type Magic
                                Floating Text - Create floating text that reads (String(((Level of Backstab  for (Triggering unit)) x 200))) above (Triggering unit) with Z offset 0.00, using font size 8.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                                Set Bsdmg = (Last created floating text)
                                Floating Text - Hide Bsdmg for (All players)
                                Floating Text - Change Bsdmg: Disable permanence
                                Floating Text - Change the lifespan of Bsdmg to 1.50 seconds
                                Special Effect - Destroy Backstab
                                Floating Text - Show Bsdmg for (All players)
                            Else - Actions
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    If - Conditions
                                        And - All (Conditions) are true
                                            Conditions
                                                (Level of Blade Embrace (Shadowmancer) for (Triggering unit)) Equal to 4
                                                (Random integer number between 1 and 100) Equal to 20
                                    Then - Actions
                                        Unit - Create 1 BladeEmbrace_Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
                                        Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
                                        Unit - Order (Last created unit) to Human Blood Mage - Banish Back_Target
                                        Set Back_Target = (Target unit of ability being cast)
                                        Special Effect - Create a special effect attached to the origin of Back_Target using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                                        Set Backstab = (Last created special effect)
                                        Unit - Cause (Triggering unit) to damage Back_Target, dealing (100.00 x (Real((Level of Backstab  for (Triggering unit))))) damage of attack type Normal and damage type Magic
                                        Floating Text - Create floating text that reads (String(((Level of Backstab  for (Triggering unit)) x 200))) above (Triggering unit) with Z offset 0.00, using font size 8.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                                        Set Bsdmg = (Last created floating text)
                                        Floating Text - Hide Bsdmg for (All players)
                                        Floating Text - Change Bsdmg: Disable permanence
                                        Floating Text - Change the lifespan of Bsdmg to 1.50 seconds
                                        Special Effect - Destroy Backstab
                                        Floating Text - Show Bsdmg for (All players)
                                    Else - Actions
                                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                            If - Conditions
                                                And - All (Conditions) are true
                                                    Conditions
                                                        (Level of Blade Embrace (Shadowmancer) for (Triggering unit)) Equal to 5
                                                        (Random integer number between 1 and 100) Equal to 25
                                            Then - Actions
                                                Unit - Create 1 BladeEmbrace_Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
                                                Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
                                                Unit - Order (Last created unit) to Human Blood Mage - Banish Back_Target
                                                Set Back_Target = (Target unit of ability being cast)
                                                Special Effect - Create a special effect attached to the origin of Back_Target using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                                                Set Backstab = (Last created special effect)
                                                Unit - Cause (Triggering unit) to damage Back_Target, dealing (100.00 x (Real((Level of Backstab  for (Triggering unit))))) damage of attack type Normal and damage type Magic
                                                Floating Text - Create floating text that reads (String(((Level of Backstab  for (Triggering unit)) x 200))) above (Triggering unit) with Z offset 0.00, using font size 8.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                                                Set Bsdmg = (Last created floating text)
                                                Floating Text - Hide Bsdmg for (All players)
                                                Floating Text - Change Bsdmg: Disable permanence
                                                Floating Text - Change the lifespan of Bsdmg to 1.50 seconds
                                                Special Effect - Destroy Backstab
                                                Floating Text - Show Bsdmg for (All players)
                                            Else - Actions
                                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                    If - Conditions
                                                        And - All (Conditions) are true
                                                            Conditions
                                                                (Level of Blade Embrace (Shadowmancer) for (Triggering unit)) Equal to 6
                                                                (Random integer number between 1 and 100) Equal to 30
                                                    Then - Actions
                                                        Unit - Create 1 BladeEmbrace_Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
                                                        Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
                                                        Unit - Order (Last created unit) to Human Blood Mage - Banish Back_Target
                                                        Set Back_Target = (Target unit of ability being cast)
                                                        Special Effect - Create a special effect attached to the origin of Back_Target using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                                                        Set Backstab = (Last created special effect)
                                                        Unit - Cause (Triggering unit) to damage Back_Target, dealing (100.00 x (Real((Level of Backstab  for (Triggering unit))))) damage of attack type Normal and damage type Magic
                                                        Floating Text - Create floating text that reads (String(((Level of Backstab  for (Triggering unit)) x 200))) above (Triggering unit) with Z offset 0.00, using font size 8.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                                                        Set Bsdmg = (Last created floating text)
                                                        Floating Text - Hide Bsdmg for (All players)
                                                        Floating Text - Change Bsdmg: Disable permanence
                                                        Floating Text - Change the lifespan of Bsdmg to 1.50 seconds
                                                        Special Effect - Destroy Backstab
                                                        Floating Text - Show Bsdmg for (All players)
                                                    Else - Actions
                                                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                            If - Conditions
                                                                And - All (Conditions) are true
                                                                    Conditions
                                                                        (Level of Blade Embrace (Shadowmancer) for (Triggering unit)) Equal to 7
                                                                        (Random integer number between 1 and 100) Equal to 35
                                                            Then - Actions
                                                                Unit - Create 1 BladeEmbrace_Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
                                                                Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
                                                                Unit - Order (Last created unit) to Human Blood Mage - Banish Back_Target
                                                                Set Back_Target = (Target unit of ability being cast)
                                                                Special Effect - Create a special effect attached to the origin of Back_Target using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                                                                Set Backstab = (Last created special effect)
                                                                Unit - Cause (Triggering unit) to damage Back_Target, dealing (100.00 x (Real((Level of Backstab  for (Triggering unit))))) damage of attack type Normal and damage type Magic
                                                                Floating Text - Create floating text that reads (String(((Level of Backstab  for (Triggering unit)) x 200))) above (Triggering unit) with Z offset 0.00, using font size 8.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                                                                Set Bsdmg = (Last created floating text)
                                                                Floating Text - Hide Bsdmg for (All players)
                                                                Floating Text - Change Bsdmg: Disable permanence
                                                                Floating Text - Change the lifespan of Bsdmg to 1.50 seconds
                                                                Special Effect - Destroy Backstab
                                                                Floating Text - Show Bsdmg for (All players)
                                                            Else - Actions
 

Angel_Island

Much long, many time, wow
Reaction score
56
If you want it to have 5% to backstab you should change this
Trigger:
  • (Random integer number between 1 and 100) Equal to 5

to this:
Trigger:
  • (Random integer number between 1 and 100) less than or equal to 5

because that one has only 1% to hit a backstab. If you want to always backstab when attacking from behind, remove that.
 

Pharaoh_

The epic journey will soon begin... Prepare!
Reaction score
136
Set the Back_Target in Actions before the "If/Then/Else"s.
Get the chance as "Level of ability*5", so it becomes all in one:

Trigger:
  • Blade Embrace
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Blade Embrace (Shadowmancer)
    • Actions
      • Set Point1 = (Position of (Triggering unit))
      • Set Point2 = (Position of (Target unit of ability being cast))
      • Set Back_Target = (Target unit of ability being cast)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Angle from (Point1)) to (Point2)) Less than or equal to ((Facing of (Target unit of ability being cast)) - 200.00)
          • (Angle from (Point1) to (Point2)) Greater than or equal to ((Facing of (Target unit of ability being cast)) - 160.00)
          • (Random Integer Number from 1 to 100) Less Than or Equal to (Level of (Blade Embrace) * 5)
        • Then - Actions
          • Unit - Create 1 BladeEmbrace_Dummy for (Owner of (Triggering unit)) at (Point1) facing Default building facing degrees
          • Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
          • Unit - Set level of Banish for (Last created unit) to ((Level of (Blade Embrace)) for (Triggering unit))
          • Unit - Order (Last created unit) to Human Blood Mage - Banish Back_Target
          • Special Effect - Create a special effect attached to the origin of Back_Target using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
          • Special Effect - Destroy (Last created special effect)
          • Unit - Cause (Triggering unit) to damage Back_Target, dealing (100.00 x (Real((Level of Backstab for (Triggering unit))))) damage of attack type Normal and damage type Magic
          • Floating Text - Create floating text that reads (String(((Level of Backstab for (Triggering unit)) x 200))) above (Triggering unit) with Z offset 0.00, using font size 8.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
          • Floating Text - Change (Last created Floating text): Disable permanence
          • Floating Text - Change (Last created floating text) fading age to 1.00 second
          • Floating Text - Change the lifespan of (Last created Floating Text) to 1.50 seconds
      • Custom script: call RemoveLocation (udg_Point1)
      • Custom script: call RemoveLocation (udg_Point2)
        • Else - Actions
 

Angel_Island

Much long, many time, wow
Reaction score
56
Trigger:
  • (Random integer number between 1 and 100) Equal to 5

Pharaoh. You forgot to change it to less than or equal to 5 or it will be 1% chance.
 

Pharaoh_

The epic journey will soon begin... Prepare!
Reaction score
136
I know, i accidentaly posted the trigger before i had the time to edit it. :/
 

sidove

Member
Reaction score
22
Okey this is what the spell does (it's an active spell) it deals 100 X the level of the ability level you have when you your behind the target and has a X chance to disarm the target so I'm gonna change the stuff and then report back.

Edit: Didn't work here's the new code
Code:
Blade Embrace
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Blade Embrace (Shadowmancer)
        Or - Any (Conditions) are true
            Conditions
                (Angle from (Position of (Triggering unit)) to (Position of (Target unit of ability being cast))) Less than or equal to ((Facing of (Target unit of ability being cast)) - 200.00)
                (Angle from (Position of (Triggering unit)) to (Position of (Target unit of ability being cast))) Greater than or equal to ((Facing of (Target unit of ability being cast)) - 160.00)
    Actions
        Set Back_Target = (Target unit of ability being cast)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                And - All (Conditions) are true
                    Conditions
                        (Level of Blade Embrace (Shadowmancer) for (Triggering unit)) Equal to 1
                        (Random integer number between 1 and 100) Less than or equal to 5
            Then - Actions
                Unit - Create 1 BladeEmbrace_Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
                Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
                Unit - Order (Last created unit) to Human Blood Mage - Banish Back_Target
                Special Effect - Create a special effect attached to the origin of Back_Target using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                Special Effect - Destroy (Last created special effect)
                Unit - Cause (Triggering unit) to damage Back_Target, dealing (100.00 x (Real((Level of Backstab  for (Triggering unit))))) damage of attack type Normal and damage type Magic
                Floating Text - Create floating text that reads (String(((Level of Backstab  for (Triggering unit)) x 200))) above (Triggering unit) with Z offset 0.00, using font size 8.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                Floating Text - Hide Bsdmg for (All players)
                Floating Text - Change Bsdmg: Disable permanence
                Floating Text - Change the lifespan of Bsdmg to 1.50 seconds
                Floating Text - Show (Last created floating text) for (All players)
            Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        And - All (Conditions) are true
                            Conditions
                                (Level of Blade Embrace (Shadowmancer) for (Triggering unit)) Equal to 2
                                (Random integer number between 1 and 100) Less than or equal to 10
                    Then - Actions
                        Unit - Create 1 BladeEmbrace_Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
                        Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
                        Unit - Order (Last created unit) to Human Blood Mage - Banish Back_Target
                        Special Effect - Create a special effect attached to the origin of Back_Target using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                        Special Effect - Destroy (Last created special effect)
                        Unit - Cause (Triggering unit) to damage Back_Target, dealing (100.00 x (Real((Level of Backstab  for (Triggering unit))))) damage of attack type Normal and damage type Magic
                        Floating Text - Create floating text that reads (String(((Level of Backstab  for (Triggering unit)) x 200))) above (Triggering unit) with Z offset 0.00, using font size 8.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                        Floating Text - Hide Bsdmg for (All players)
                        Floating Text - Change Bsdmg: Disable permanence
                        Floating Text - Change the lifespan of Bsdmg to 1.50 seconds
                        Floating Text - Show (Last created floating text) for (All players)
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                And - All (Conditions) are true
                                    Conditions
                                        (Level of Blade Embrace (Shadowmancer) for (Triggering unit)) Equal to 3
                                        (Random integer number between 1 and 100) Less than or equal to 15
                            Then - Actions
                                Unit - Create 1 BladeEmbrace_Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
                                Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
                                Unit - Order (Last created unit) to Human Blood Mage - Banish Back_Target
                                Special Effect - Create a special effect attached to the origin of Back_Target using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                                Special Effect - Destroy (Last created special effect)
                                Unit - Cause (Triggering unit) to damage Back_Target, dealing (100.00 x (Real((Level of Backstab  for (Triggering unit))))) damage of attack type Normal and damage type Magic
                                Floating Text - Create floating text that reads (String(((Level of Backstab  for (Triggering unit)) x 200))) above (Triggering unit) with Z offset 0.00, using font size 8.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                                Floating Text - Hide Bsdmg for (All players)
                                Floating Text - Change Bsdmg: Disable permanence
                                Floating Text - Change the lifespan of Bsdmg to 1.50 seconds
                                Floating Text - Show (Last created floating text) for (All players)
                            Else - Actions
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    If - Conditions
                                        And - All (Conditions) are true
                                            Conditions
                                                (Level of Blade Embrace (Shadowmancer) for (Triggering unit)) Equal to 4
                                                (Random integer number between 1 and 100) Less than or equal to 20
                                    Then - Actions
                                        Unit - Create 1 BladeEmbrace_Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
                                        Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
                                        Unit - Order (Last created unit) to Human Blood Mage - Banish Back_Target
                                        Special Effect - Create a special effect attached to the origin of Back_Target using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                                        Special Effect - Destroy (Last created special effect)
                                        Unit - Cause (Triggering unit) to damage Back_Target, dealing (100.00 x (Real((Level of Backstab  for (Triggering unit))))) damage of attack type Normal and damage type Magic
                                        Floating Text - Create floating text that reads (String(((Level of Backstab  for (Triggering unit)) x 200))) above (Triggering unit) with Z offset 0.00, using font size 8.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                                        Floating Text - Hide Bsdmg for (All players)
                                        Floating Text - Change Bsdmg: Disable permanence
                                        Floating Text - Change the lifespan of Bsdmg to 1.50 seconds
                                        Floating Text - Show (Last created floating text) for (All players)
                                    Else - Actions
                                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                            If - Conditions
                                                And - All (Conditions) are true
                                                    Conditions
                                                        (Level of Blade Embrace (Shadowmancer) for (Triggering unit)) Equal to 5
                                                        (Random integer number between 1 and 100) Less than or equal to 25
                                            Then - Actions
                                                Unit - Create 1 BladeEmbrace_Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
                                                Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
                                                Unit - Order (Last created unit) to Human Blood Mage - Banish Back_Target
                                                Special Effect - Create a special effect attached to the origin of Back_Target using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                                                Special Effect - Destroy (Last created special effect)
                                                Unit - Cause (Triggering unit) to damage Back_Target, dealing (100.00 x (Real((Level of Backstab  for (Triggering unit))))) damage of attack type Normal and damage type Magic
                                                Floating Text - Create floating text that reads (String(((Level of Backstab  for (Triggering unit)) x 200))) above (Triggering unit) with Z offset 0.00, using font size 8.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                                                Floating Text - Hide Bsdmg for (All players)
                                                Floating Text - Change Bsdmg: Disable permanence
                                                Floating Text - Change the lifespan of Bsdmg to 1.50 seconds
                                                Floating Text - Show (Last created floating text) for (All players)
                                            Else - Actions
                                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                    If - Conditions
                                                        And - All (Conditions) are true
                                                            Conditions
                                                                (Level of Blade Embrace (Shadowmancer) for (Triggering unit)) Equal to 6
                                                                (Random integer number between 1 and 100) Less than or equal to 30
                                                    Then - Actions
                                                        Unit - Create 1 BladeEmbrace_Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
                                                        Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
                                                        Unit - Order (Last created unit) to Human Blood Mage - Banish Back_Target
                                                        Special Effect - Create a special effect attached to the origin of Back_Target using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                                                        Special Effect - Destroy (Last created special effect)
                                                        Unit - Cause (Triggering unit) to damage Back_Target, dealing (100.00 x (Real((Level of Backstab  for (Triggering unit))))) damage of attack type Normal and damage type Magic
                                                        Floating Text - Create floating text that reads (String(((Level of Backstab  for (Triggering unit)) x 200))) above (Triggering unit) with Z offset 0.00, using font size 8.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                                                        Floating Text - Hide Bsdmg for (All players)
                                                        Floating Text - Change Bsdmg: Disable permanence
                                                        Floating Text - Change the lifespan of Bsdmg to 1.50 seconds
                                                        Floating Text - Show (Last created floating text) for (All players)
                                                    Else - Actions
                                                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                            If - Conditions
                                                                And - All (Conditions) are true
                                                                    Conditions
                                                                        (Level of Blade Embrace (Shadowmancer) for (Triggering unit)) Equal to 7
                                                                        (Random integer number between 1 and 100) Less than or equal to 35
                                                            Then - Actions
                                                                Unit - Create 1 BladeEmbrace_Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
                                                                Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
                                                                Unit - Order (Last created unit) to Human Blood Mage - Banish Back_Target
                                                                Special Effect - Create a special effect attached to the origin of Back_Target using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                                                                Special Effect - Destroy (Last created special effect)
                                                                Unit - Cause (Triggering unit) to damage Back_Target, dealing (100.00 x (Real((Level of Backstab  for (Triggering unit))))) damage of attack type Normal and damage type Magic
                                                                Floating Text - Create floating text that reads (String(((Level of Backstab  for (Triggering unit)) x 200))) above (Triggering unit) with Z offset 0.00, using font size 8.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                                                                Floating Text - Hide Bsdmg for (All players)
                                                                Floating Text - Change Bsdmg: Disable permanence
                                                                Floating Text - Change the lifespan of Bsdmg to 1.50 seconds
                                                                Floating Text - Show (Last created floating text) for (All players)
                                                            Else - Actions
 
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