HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How do you level a trigger ability?

03-06-2004, 06:07 PM#1
PhaT
Hm, i dont think im saying it right, but what i mean is... for example i have a trigger which is, when i use an roar, it adds an ability which is phoenix fire to my character for 30 seconds, what im wondering, is once i get level 2 roar i want phoenix fire to get stronger or add a level 2 phoenix fire, how can i do this?
03-06-2004, 06:13 PM#2
ThyFlame
Make the pheonix fire damage into a variable, and then when you detect the spell being leveled, increase the damage in that variable.
03-06-2004, 08:22 PM#3
MysticGeneral
I don't believe ThyFlame understood well. If you have 3 levels of roar, make 3 different abilities of Phoenix Fire. Now, have a trigger check if a unit learns roar, set RoarLevel_Integer = RoarLevelInteger + 1. Now, when the person casts roar, do something like

[code]If then else
If
Ability being casted was roar
Then
If Then Else
If
RoarLevel_Integer = 1
Then
Add ability Phoenix Fire Level 1
If Then Else
If
RoarLevel_Integer = 2
blahblahblah
[code]
03-06-2004, 08:34 PM#4
linkmaster23
Thanks I think I just found another member to the FAQ Top Ten. The answer is check the level in Interger- Level of ABility for Casting unit, if its level 2 then do, else do. BLAH.
03-07-2004, 06:26 AM#5
PhaT
man u guys are great! thanks so much!