Master Spell Reflector

This bundle is marked as pending. It has not been reviewed by a staff member yet.
A template for making a Spell Reflector that works pleasingly for both Missile and Instant impact spells. Requires some JASS knowledge to use fully.

Changelog:
1.0 - initial release
1.1 - added local variables as recommended. Changed detection of chain lightning and finger of death based instant spells to use orderId instead of lightning effects.
1.2 - Added Breath of Fire and Breath of Frost to the list of instant spells that are detected by order Id [that have a non 0 projectile spell even though they aren't a projectile].
Contents

Master Spell Reflector (Map)

Reviews
Wrda
The configurable functions should be next to IsSpellInstant instead of being spread around. The indention is kind of messed up, sometimes too many spaces, some times inconsistent space where it should be. You could also cache GetTriggerUnit() and the...
The configurable functions should be next to IsSpellInstant instead of being spread around. The indention is kind of messed up, sometimes too many spaces, some times inconsistent space where it should be.
You could also cache GetTriggerUnit() and the rest, specially when the lines are quite long, not only it is faster (in terms of speed) but also clearer to see and you don't risk surpassing the character limit on a line. This one is only a minor problem.

This template enables pretty good possiblities to explore different types of spell reflections. It's almost good for approval.
 
Back
Top