CREDITS: Giving credits from hanky from it's tutorial on the dynamic indexing
FUNCTION: I have been add some simple stuff that you can remove that will not affect the real spell script (Have a 0.10 cast time and simple effects and dummy removing)... When the spell starts the effect it will release a storm (dummy with dizziness model) and their size has grown bigger while running also the radius of spell is grown and there has two layers the sucking run (from the outer layer that trigger to suck all nearby units and the whirling run (from the inner layer) that rotates all units that can dealt damage per interval (0.03) base on rotation speed (rotation speed or I mean total speed has increasing by 1% from a longer time). When the sucked units have been insert on the inner area it will going to whirl too or else if the cast is finish it will goes nothing, and when that cast finished all whirled units from there will thrown away base on the angle (angles between the dummy and the whirled units + 90 degrees I guess a better way of angle) and also speed/distance (these two elements I convert to negative value from a better way of moving), I forgot to tell that all whirled units (except from flying units) is flying above so I add the script adding/removing storm crow ability that commonly I seen from the flying spells. The impact damage and stun duration from throwing is basing on the current height of whirled units after the cast is finish and the speed, it has a 200 radius of AoE damage with stun against nearby units that damage can they dealt is just 25% of based damage (50% from structures). Also, this spell can dealt damage on the destructible (It was Checking if Invulnerable and Not just killing it), While the spell is running the mana of caster is draining that if it's mana have been deplete that spell run will terminate (I just using my custom mana system from spells). I don't see any problems but if ya'll see something then comment it then I will update this quickly. And also suggestion.
Keywords:
Sand, One Piece, Crocodile, Earth, Moving, Whirling, Rolling