Name | Type | is_array | initial_value |
a | real | No | |
i | integer | No | |
i2 | integer | No | |
loc | location | No | |
r | real | No | |
RB_Duration | real | Yes | |
RB_Effect | effect | Yes | |
RB_Group | group | No | |
RB_Max | integer | No | |
RB_Unit | unit | Yes | |
RBM_Data | real | Yes | |
RBM_Max | integer | No | |
RBM_Unit | unit | Yes | |
s | string | No | |
u | unit | No | |
u2 | unit | No | |
x | real | No | |
x2 | real | No | |
y | real | No | |
y2 | real | No | |
zLoc | location | No |
_______________________________________
__________Repelling Bubble_____________
__________by XAOS_WIZARD_______________
__________or D4RK_G4ND4LF______________
__________Inspired by Cedi_____________
_______________________________________
The Spell works like this:
The caster and the target unit is added to an array
to check if there is any enemy in range.
If this is the case the enemy will be knocked back.
If the enemy has reached the max knockback distance
he will be pulled back to the caster again.
How to add this spell to your Map:
Copy the ability "Repelling Bubble"
Enable File\Preferences\General\"automatically create unknown variables while pasting trigger data"
Copy the triggers in the following order:
0. Ini (or just initialize the location in your own ini trigger)
1. RepellingBubbleLoop
2. RepellingBubbleCast
Notes:
There might occure some bugs like units stuck in obstacles
if you are going to remove the caster from the game
while the spell is running so don't do that.
This spell uses 2D-Arrays.
There is a tutorial about it in the tutorial section.
Everything you are allowed to change has some comments above it