Vastly intelligent whale-like being from the stars
massive code duplication?
Alright, I can add that, but it'll be permanent and irreversible at runtime.massive code duplication?
Fair enough...So I kind of have 5 abilities for each spell. One for each slot on the command UI...
I'd say yes, but I might need to look into it further. The attachments are just for events, really. Firing a spell twice consecutively would work fine - is it possible to fire the same spell concurrently? Does finish cast of death coil fire after it's possible to start casting again? I don't think so - the assumption I made when I wrote this. Let me know if you find otherwise. <3Does this function correctly when a spell is fired twice consecutively for a specific unit?
Thanks for the bug report. It was essentially a vJass bug to do with function interface evaluation. Turns out evaluating 0 typecasted to a function interface returns the last value that function interface returned, not 0.It bugged for me .__.
Unless it's my own fault again :'(
Attached map. Why does SpellStruct fire for the Blink spell?
No, targetX is an event response. It is the ground the spell was targetting. Think carrion swarm/flamestrike/blink/other point target spells.JASS:
How come I can't just do:
[ljass]local real x = this.targetX + this.SPED * Cos( blah blah )[/ljass]
When I do, spell no more work D:
Although this.targetX just call's [ljass]GetUnitX()[/ljass] doesn't it?