Name | Type | is_array | initial_value |
BA_Arrow | unit | No | |
BA_Arrow_Angle | real | No | |
BA_Arrowpt | location | No | |
BA_Arrows | group | No | |
BA_Creatept | location | No | |
BA_Damage | real | No | |
BA_Dealdmg | real | No | |
BA_Distance | integer | No | |
BA_Flame_Lvl | integer | No | |
BA_Hashtable | hashtable | No | |
BA_Movept | location | No | |
BA_SFX_Count | integer | No | |
BA_Startpt | location | No | |
BA_Targetpt | location | No | |
BA_To_Finish | integer | No | |
BA_Victims | group | No | |
TEST_HERO | unit | No | |
TEST_REVIVE | location | No |
1. SPELL IMPORTING
1.1 In this spell we used some things from Object Editor
The list of them is:
a) Dummy ( UNIT ) - unit
b) Dummy ( ARROW ) - unit
c) Flame ( DUMMY ) - ability
d) Burning Arrow - ability
e) Flamestrike Effect - effect
f) Burning Arrow - buff
1.2 I used many variables in this spell, so to don`t copy the one by one go to
"File" -> "Preferences" -> and tick "Automaticly create unknown variables while pasting trigger data"
1.3 Now we just need these triggers:
a) Hashtable (you can just copy these actions into your map initialization trigger)
b) BA Init
c) BA Loop
BE SURE YOU HAVE ALL OF THESE THINGS ON YOUR MAP, ELSE SPELL WON`T WORK
2. FEW WORDS ABOUT WORKING OF THE SPELL
2.1 DISTANCE CALCULATING
I used a pretty different method of calculating a distance (THX to calex3, because I`ve had my own idea, but
it wasnt perfect at all, so I improved it a little bit, like it was in his spell "Power Hook")
So how is it working:
Every 0.03 second arrow moves by 25. In BA Init trigger I used calculating:
Distance = 20 + 10 x level of ability
so on first level it`s distance will be 750 (30*25)
To calculate your distance simply do such calculating:
x/25 = d
where x is your number and d is the result distance.
2.2 INSTANT DAMAGE
I haven`t done anything hard with this damage calculating, so I hope you will find out it by yourself.
2.3 DOT DAMAGE AND RANGE OF FLAMESTRIKES
Damage of flamestrikes can be set in Object Editor in Flame ( DUMMY ) spell right fields, as well the range of
flamestrikes.
2.4 THE DISTANCE BETWEEN FLAMESTRIKES
Currently I have the distance between flamestrikes to 125 (my counter of this is set to 5, so the BA Loop trigger will
have to run 5 times to cast a flamestrike, so again a little bit calculating:
25*5 = 125
If you want to change this, to cast it more/less often, simply change that 5 in condition
(Load 5 of (Key (Picked unit)) from BA_Hashtable) Equal to 5