- Joined
- Aug 15, 2007
- Messages
- 26
I need help looking over these spells, since I suspect their not working properly and almost certainly leaking? I'll download it into a map so you can test for yourself, but here are the triggers for the first spell:
Based on shockwave. I'm not certain if the damage-thing is working. Sometimes it hits several units more than once, I guess I could try fixing a unit group?
Anyways, damage is 0.25 str (0.50 str lvl 2, 0.75 str lvl 3) + 50 (100 lvl 2, 150 lvl 3 etc..)
Custom script: call RemoveLocation(udg_SW_loc2)" on the end?
And the second spell:
When activated (based on bloodlust, target only self) the hero gains a kind of crit based on his str. (lvl 1 .25 str lvl 2 .50 str etc). It seems to be working fine, just want to be sure.
Based on shockwave. I'm not certain if the damage-thing is working. Sometimes it hits several units more than once, I guess I could try fixing a unit group?
Anyways, damage is 0.25 str (0.50 str lvl 2, 0.75 str lvl 3) + 50 (100 lvl 2, 150 lvl 3 etc..)
-
Untitled Trigger 002
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Dummy Slam
-
Actions
- Set SW_Dummy = 0
- Set SW_Caster = (Triggering unit)
- Set SW_loc1 = (Position of SW_Caster)
- Set SW_Facing = (Facing of SW_Caster)
- Set SW_loc2 = (SW_loc1 offset by 150.00 towards SW_Facing degrees)
- Set SW_loc1 = SW_loc2
- Set SW_loc2 = (SW_loc1 offset by 150.00 towards SW_Facing degrees)
- Countdown Timer - Start SW_Timer as a Repeating timer that will expire in 0.10 seconds
-
Events
Custom script: call RemoveLocation(udg_SW_loc2)" on the end?
-
Untitled Trigger 003
-
Events
- Time - SW_Timer expires
- Conditions
-
Actions
- Unit - Create 1 Dummy for (Owner of SW_Caster) at SW_loc1 facing SW_Facing degrees
- Special Effect - Create a special effect at SW_loc1 using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Unit Group - Pick every unit in (Units within 150.00 of (Position of (Last created unit)) matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of SW_Caster)) Equal to True) and (((Matching unit) is alive) Equal to True)))) and do (Unit - Cause SW_Caster to damage (Picked unit), dealing (((Real((Strength of SW_Caster (Exclude bonuses)))) x 0.25) + (50.00 + (Real((Level of Dummy Slam for SW_Caster))))) damage of attack type Spells and damage type Normal)
- Unit - Add a 0.30 second Generic expiration timer to (Last created unit)
- Set SW_loc1 = SW_loc2
- Set SW_loc2 = (SW_loc1 offset by 150.00 towards SW_Facing degrees)
- Set SW_Dummy = (SW_Dummy + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- SW_Dummy Equal to 6
-
Then - Actions
- Countdown Timer - Pause SW_Timer
- Else - Actions
-
If - Conditions
- Wait 2.00 seconds
- Custom script: call RemoveLocation(udg_SW_loc1)
- Custom script: call RemoveLocation(udg_SW_loc2)
-
Events
And the second spell:
When activated (based on bloodlust, target only self) the hero gains a kind of crit based on his str. (lvl 1 .25 str lvl 2 .50 str etc). It seems to be working fine, just want to be sure.
-
Face to Face
-
Events
- Unit - A unit Is attacked
-
Conditions
- ((Attacking unit) has buff Face to Face ) Equal to True
- (Random integer number between 1 and 100) Less than 15
-
Actions
- Unit - Cause (Attacking unit) to damage (Attacked unit), dealing ((Real((Strength of (Attacking unit) (Exclude bonuses)))) x (0.25 x (Real((Level of Face to Face for (Attacking unit)))))) damage of attack type Hero and damage type Normal
- Special Effect - Create a special effect at (Position of (Attacked unit)) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
- Special Effect - Destroy (Last created special effect)
- Trigger - Turn off (This trigger)
- Wait 0.60 game-time seconds
- Trigger - Turn on (This trigger)
-
Events
Attachments
Last edited: