tooltiperror
Super Moderator
- Reaction score
- 231
Would anyone mind criticizing my Spell, telling me if there's a bug, if it leaks, or if I need to fix something?
Swap places with an enemy unit, then deal 125 damage. Targets Land and Air units.
Trigger:
- Swap
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Swap
- Actions
- Set Caster = (Position of (Casting unit))
- Set Target = (Position of (Target unit of ability being cast))
- Set CasterUnit = (Casting unit)
- Set TargetUnit = (Target unit of ability being cast)
- Unit - Pause CasterUnit
- Unit - Pause TargetUnit
- Unit - Move TargetUnit instantly to Caster
- Unit - Move CasterUnit instantly to Target
- Unit - Make CasterUnit face Target over 0.00 seconds
- Unit - Make TargetUnit face Caster over 0.00 seconds
- Unit - Unpause TargetUnit
- Unit - Unpause CasterUnit
- Unit - Set life of TargetUnit to ((Life of TargetUnit) - 125.00)
- Special Effect - Create a special effect at Caster using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
- Wait 1.00 seconds
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation (udg_Target)
- Custom script: call RemoveLocation (udg_Caster)
- Events