BarzahdX
Active Member
- Reaction score
- 18
I don't know why, on my old computer(an XP,) this trigger worked properly. Now on my new computer(Windows 7,) the game crashes when it triggers. I know it's a little poorly done or may appear sloppy, but it gets the job done.
Here's the trigger:
I'll need to test it again to see if it still works on my old computer, it's been awhile. I have WC3 running in compatibility mode of XP(Service Pack 3.)
Here's the trigger:
Trigger:
- Spirit Bond Damage
- Events
- (Unit - Hero[5] Takes damage)
- (Unit - Hero[6] Takes damage)
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Hero[5] has buff Spirit Bond ) Equal to True
- (Hero[6] has buff Spirit Bond ) Equal to True
- (Triggering unit) Equal to Hero[5]
- Then - Actions
- Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + ((Damage taken) / 2.00))
- Unit - Cause (Damage source) to damage Hero[6], dealing ((Damage taken) / 2.00) damage of attack type Hero and damage type Normal
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Hero[5] has buff Spirit Bond ) Equal to True
- (Hero[6] has buff Spirit Bond ) Equal to True
- (Triggering unit) Equal to Hero[6]
- Then - Actions
- Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + ((Damage taken) / 2.00))
- Unit - Cause (Damage source) to damage Hero[5], dealing ((Damage taken) / 2.00) damage of attack type Hero and damage type Normal
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
I'll need to test it again to see if it still works on my old computer, it's been awhile. I have WC3 running in compatibility mode of XP(Service Pack 3.)