keychup
Active Member
- Reaction score
- 34
Error upon multiple units using the same spell [SOLVED]
SOLVED
Acknowledgements : NeuroToxin for introducing Hashtables (So that's what a Hashtable does)
If it's possible to shorten the triggers, or if any corrections need to be made to them let me know.
End Result: View attachment Sprite.w3x (May 22nd, 2011)
-------------------------------------------------------------------------------------------------------
SOLVED
Acknowledgements : NeuroToxin for introducing Hashtables (So that's what a Hashtable does)
If it's possible to shorten the triggers, or if any corrections need to be made to them let me know.
End Result: View attachment Sprite.w3x (May 22nd, 2011)
-------------------------------------------------------------------------------------------------------
So here's the deal.
The ability works fine when only one hero uses the ability. But for some reason when another unit uses that same ability the game either crashes or the ability won't work at all.
The solution would probably be to not let multiple units with that same ability be on the map.
I'd like someone to help me fix up this skill so that it does allow multiple units with the same ability on the map.
(I'm also looking for leaks and perhaps some tips on posting)
Here's the skill I need help with:
Union
Unite yourself to an allied unit. You cannot separate from your target while united. Increases both units' ATK, DEX and SPD. This effect can be cancelled and lasts for up to 15 seconds or until negated.
Level 1 - +10% ATK, +20% DEX, +5% SPD.
Level 2 - +20% ATK, +40% DEX, +10% SPD.
Level 3 - +30% ATK, +60% DEX, +15% SPD.
Level 4 - +40% ATK, +80% DEX, +20% SPD.
Level 5 - +50% ATK, +100% DEX, +25% SPD.
Cooldown: 15.0 seconds
Visual Effects:
Error Message: