Chao
Setting sail for fail in the sea of lame.
- Reaction score
- 63
I thought this one would be easy!
Here's the flavour text to give you an idea:
Summons a ring of Hydra Wards to attack the Fel Warder's enemies. Summoned Ward is based on the level of Hydra's Force.
Level 1 - 6 Wards, 180-second cooldown, costs 400 mana.
Level 2 - 7 Wards, 150-second cooldown, costs 360 mana.
Level 3 - 8 Wards, 120-second cooldown, costs 320 mana.
Level 4 - 9 Wards, 90-second cooldown, costs 280 mana.
Aaand the code:
Of course, the "Do Nothing" at the end of this function will be continuing with the next "IF" statement re: the next level (since these are being kept even and the angular matter is something I wouldn't know how to deal with sans "For Each Integer A".)
Any ideas where I'm going wrong with this one?
Help would be mist appreciated!
Here's the flavour text to give you an idea:
Summons a ring of Hydra Wards to attack the Fel Warder's enemies. Summoned Ward is based on the level of Hydra's Force.
Level 1 - 6 Wards, 180-second cooldown, costs 400 mana.
Level 2 - 7 Wards, 150-second cooldown, costs 360 mana.
Level 3 - 8 Wards, 120-second cooldown, costs 320 mana.
Level 4 - 9 Wards, 90-second cooldown, costs 280 mana.
Aaand the code:
Trigger:
- Hydra Cairn
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Hydra Cairn 4 Elite
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Hydra Cairn 4 Elite for (Casting unit)) Equal to 1
- Then - Actions
- For each (Integer A) from 1 to 6, do (Actions)
- Loop - Actions
- Set MemSaverPoint = ((Position of (Casting unit)) offset by 325.00 towards (60.00 x (Real((Integer A)))) degrees)
- Unit - Create 1 ZAB_HydraLevel[(Level of Hydra's Force 4 for (Casting unit))] for (Owner of (Casting unit)) at MemSaverPoint facing Default building facing degrees
- Custom script: call RemoveLocation(udg_MemSaverPoint)
- Unit - Add a 20.00 second Generic expiration timer to (Last created unit)
- Loop - Actions
- For each (Integer A) from 1 to 6, do (Actions)
- Else - Actions
- Do nothing
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Of course, the "Do Nothing" at the end of this function will be continuing with the next "IF" statement re: the next level (since these are being kept even and the angular matter is something I wouldn't know how to deal with sans "For Each Integer A".)
Any ideas where I'm going wrong with this one?
Help would be mist appreciated!