HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Gaining level with trigger spells

02-25-2004, 03:26 PM#1
Archean
How do I make a trigger spell gain in level like with the normal Blizzard spells?
So that when my hero raises a level you can purchase an improved version of the trigger spell.
can anyone help?
02-25-2004, 03:29 PM#2
BattleBotv8.2
So your creating a trigger enhanced spell and is not sure how to make it check the level?
02-25-2004, 03:34 PM#3
Archean
well, I can make trigger enhanced spells fine (some of them) but I can't make them have more then one lvl.
02-25-2004, 03:37 PM#4
BattleBotv8.2
Create 3 triggers, just modify the triggers, like more damage or do the effect more times or how ever you made the trigger. Then put this as a condiction.

[code]
Interger Comparisen;
Level of XSpell for XUnit Equals to XLevel

It should work then.
02-25-2004, 03:40 PM#5
Archean
so...
I have to create 3 different form of the trigger spells each more poweful then the other.

Then I do the integer thing? rigth?
02-25-2004, 03:42 PM#6
BattleBotv8.2
You dont need a interger varible for that.
02-25-2004, 03:44 PM#7
Archean
ok, thanks
02-25-2004, 05:59 PM#8
xGT4x
Or you can make one Trigger and For Example:
Code:
A: If Level of (yourability) for casting unit is equal to 1 then do Set Life of Triggering unit to (Life of Triggering unit + 50).
A: If Level of (yourability) for casting unit is equal to 2 then do Set Life of Triggering unit to (Life of Triggering unit + 100).
A: If Level of (yourability) for casting unit is equal to 3 then do Set Life of Triggering unit to (Life of Triggering unit + 150).
I know this is a bad example...