| 07-15-2003, 04:31 PM | #1 |
Hi! First time posting, but long time fan... :) I have a question: I'm trying to create a trigger for a custom spell. However, I need to know it's level... My initial plan was I will try using the event "Learned Hero Spell", and just set a variable whenever the player chooses to learn or upgrade the spell I want to monitor. However, there is no way to determine what spell I just learned. There is no such thing as: Learned Skill of Triggerring Unit == Custom Spell 001 The only possible choices are the preset ones, like Storm Bolt, Frost Nova, Blizzard, etc. Even if my custom spell is based on, say Frost Nova, using the preset Frost Nova for the condition checking does not work... Is there a way to solve this? Thanks :) |
| 07-15-2003, 08:27 PM | #2 |
Make the whole trigger and convert it to JASS. Replace the default spell to your own spells code. |
| 07-15-2003, 09:58 PM | #3 |
I see... Thanks for the tip :D Another quick question though... how do I know the spell code for my custom spells? |
| 07-15-2003, 11:12 PM | #4 |
Guest |
