- Joined
- Apr 14, 2012
- Messages
- 2,901
I tried to make the Fury Swipes (passive spell) from Dota's Ursa Warrior.
it adds bonus damage to the hero's attack depending on the level.
I found it hard if I made it a passive spell so I made a non-passive spell based off "Berserk". I was told to use Bribe's GUI Unit Indexer and Damage Engine.
However, even if the bonus damage was 300.00, the damage was never dealt. I also have the GDD in my map. Is that the cause?
Here are the triggers:
Please help; I'm not good with long triggers that include custom values or multiple If-Then-Else's
it adds bonus damage to the hero's attack depending on the level.
I found it hard if I made it a passive spell so I made a non-passive spell based off "Berserk". I was told to use Bribe's GUI Unit Indexer and Damage Engine.
However, even if the bonus damage was 300.00, the damage was never dealt. I also have the GDD in my map. Is that the cause?
Here are the triggers:
-
Cast Fury Swipes
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Fury Swipes
-
Actions
- Set FurySwipeCount[(Custom value of (Triggering unit))] = 6
-
Events
-
Fury Swipes OnDamage
-
Events
- Game - DamageEvent becomes Equal to 1.00
- Conditions
-
Actions
- Set Int[1] = (Custom value of DamageEventSource)
- Set Int[2] = (Custom value of DamageEventTarget)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Fury Swipes for DamageEventSource) Equal to 1
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- FurySwipeCount[Int[1]] Greater than 0
-
Then - Actions
- Trigger - Turn off Damage Engine <gen>
- Unit - Cause DamageEventSource to damage DamageEventTarget, dealing 15.00 damage of attack type Chaos and damage type Normal
- Trigger - Turn on Damage Engine <gen>
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- FurySwipeCount[Int[1]] Equal to 1
-
Then - Actions
- Set FurySwipeCount[Int[1]] = 0
-
Else - Actions
- Set FurySwipeCount[Int[1]] = (FurySwipeCount[Int[1]] - 1)
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Fury Swipes for DamageEventSource) Equal to 2
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- FurySwipeCount[Int[1]] Greater than 0
-
Then - Actions
- Trigger - Turn off Damage Engine <gen>
- Unit - Cause DamageEventSource to damage DamageEventTarget, dealing 20.00 damage of attack type Chaos and damage type Normal
- Trigger - Turn on Damage Engine <gen>
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- FurySwipeCount[Int[1]] Equal to 1
-
Then - Actions
- Set FurySwipeCount[Int[1]] = 0
-
Else - Actions
- Set FurySwipeCount[Int[1]] = (FurySwipeCount[Int[1]] - 1)
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Fury Swipes for DamageEventSource) Equal to 3
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- FurySwipeCount[Int[1]] Greater than 0
-
Then - Actions
- Trigger - Turn off Damage Engine <gen>
- Unit - Cause DamageEventSource to damage DamageEventTarget, dealing 25.00 damage of attack type Chaos and damage type Normal
- Trigger - Turn on Damage Engine <gen>
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- FurySwipeCount[Int[1]] Equal to 1
-
Then - Actions
- Set FurySwipeCount[Int[1]] = 0
-
Else - Actions
- Set FurySwipeCount[Int[1]] = (FurySwipeCount[Int[1]] - 1)
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Fury Swipes for DamageEventSource) Equal to 4
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- FurySwipeCount[Int[1]] Greater than 0
-
Then - Actions
- Trigger - Turn off Damage Engine <gen>
- Unit - Cause DamageEventSource to damage DamageEventTarget, dealing 30.00 damage of attack type Chaos and damage type Normal
- Trigger - Turn on Damage Engine <gen>
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- FurySwipeCount[Int[1]] Equal to 1
-
Then - Actions
- Set FurySwipeCount[Int[1]] = 0
-
Else - Actions
- Set FurySwipeCount[Int[1]] = (FurySwipeCount[Int[1]] - 1)
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Events
Please help; I'm not good with long triggers that include custom values or multiple If-Then-Else's