- Joined
- Oct 1, 2018
- Messages
- 63
Is there a way to save Abillitys in variables? Im playing around of how to make an Blue-Magican from Final Fantasy, wich learns abillitys from enemys in different ways.
Im not complet sure for now wich event i use in the end to learn the abillity, but thats not my problem. I just cannot dicide that for now.
My problem is, that there is no Variable-Type to save an "abillity being cast", nor an condition like "unit has (ability)". It would be very useful for Dialogs, wich questions the player if an abillity should be overwritten. (Buttonposition stuff)
My warcraft isnt patched, im still
waiting for lan. I dont know if such an Variable-Type exists in the patched version, so im asking for a way to work around.
Is it possible to save the abillity via Jass code into string variable or something?
Any good Idea could help me.
Im still brainstorming, hope there is any short way.
Edit:
Here is what i have got for now:
An Blue-Magican with the Abillity "Dragonic" (FFX).
Im using Thunderbolt as Dragonic.
The use of Dragonic allowes to learn abillitys from the target unit. If you cast it on Necromancer and dryad, you may notice, that each time the ability learned from them gets overwritten. This is exactly what i want, but the way how it works is far to long.
Here are my Triggers and Map.
Im not complet sure for now wich event i use in the end to learn the abillity, but thats not my problem. I just cannot dicide that for now.
My problem is, that there is no Variable-Type to save an "abillity being cast", nor an condition like "unit has (ability)". It would be very useful for Dialogs, wich questions the player if an abillity should be overwritten. (Buttonposition stuff)
My warcraft isnt patched, im still
waiting for lan. I dont know if such an Variable-Type exists in the patched version, so im asking for a way to work around.
Is it possible to save the abillity via Jass code into string variable or something?
Any good Idea could help me.
Im still brainstorming, hope there is any short way.
Edit:
Here is what i have got for now:
An Blue-Magican with the Abillity "Dragonic" (FFX).
Im using Thunderbolt as Dragonic.
The use of Dragonic allowes to learn abillitys from the target unit. If you cast it on Necromancer and dryad, you may notice, that each time the ability learned from them gets overwritten. This is exactly what i want, but the way how it works is far to long.
Here are my Triggers and Map.
Attachments
Last edited: