-Okay not really kamehameha but in theory kinda, So I created a few spells where we can interact with them, by destroying the casted spells with another spell, but the only downside is that it's not consistent.
-I give HP to each spell created, but lots of times the spell with less HP ends up destroying the one with higher HP.
Here's one of my triggers in full
Cast
-So I label all of my HP as a String ID - MWL in Hashtable Spells for each of my spells, which I labeled as Unit-type: Missile.
Actual trigger
-Each cycle, my spell unit moves forward and gathers units and damages them. If the unit is another missile unit, it'll register it's Hashtable String MWL as Missile Life Decayer.
-I then subtract the 2 HP.
-I divide the Missile Life Decay to make sure theres enough time for both to subtract an adaquate amount of HP from each other
-(IDK if that actually works, it was just one of the things I tried to make this more accurate)
-The Missile already losses life from every cycle, but not much in the short run
Special Effect
This dosent really do anything important, but I just put it up there for the heck of it
Although I may be repeating myself, I just wanna reexplain my problem after showing the triggers
When I have 2 units cast this spell at each other, the one that was casted last ends up destroying the other one, but sometimes, it's HP is uninterrupted
Say the total range(HP) for the spell is 2000
Assuming the trigger works right, if it meets another missile with 1500
In Theory it should be at 500, but rather it simply goes all the way to 2000
Sometimes it works and it actually loses HP but I can't seem to be able to find the pattern
I tried the spells up close to each other and far away, results were quite random.
-I give HP to each spell created, but lots of times the spell with less HP ends up destroying the one with higher HP.
Here's one of my triggers in full
Cast
-So I label all of my HP as a String ID - MWL in Hashtable Spells for each of my spells, which I labeled as Unit-type: Missile.
Actual trigger
-Each cycle, my spell unit moves forward and gathers units and damages them. If the unit is another missile unit, it'll register it's Hashtable String MWL as Missile Life Decayer.
-I then subtract the 2 HP.
-I divide the Missile Life Decay to make sure theres enough time for both to subtract an adaquate amount of HP from each other
-(IDK if that actually works, it was just one of the things I tried to make this more accurate)
-The Missile already losses life from every cycle, but not much in the short run
Special Effect
This dosent really do anything important, but I just put it up there for the heck of it
Although I may be repeating myself, I just wanna reexplain my problem after showing the triggers
When I have 2 units cast this spell at each other, the one that was casted last ends up destroying the other one, but sometimes, it's HP is uninterrupted
Say the total range(HP) for the spell is 2000
Assuming the trigger works right, if it meets another missile with 1500
In Theory it should be at 500, but rather it simply goes all the way to 2000
Sometimes it works and it actually loses HP but I can't seem to be able to find the pattern
I tried the spells up close to each other and far away, results were quite random.