HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Please help

10-11-2003, 06:17 AM#1
Xzarol
A few questions. First of all, how do you go about leveling a trigger spell? By this I mean if I made a Bloodlust spell and then used triggers to temp, give the targeted unit vamp too, how would I make it detect what level the spell was? And also what would you guys like to see in a new Aos map? Also, what kind of unique heros can you guys think up? You know, like the Bloodmage from ToB.
10-11-2003, 05:27 PM#2
Shvegait
You can use a trigger to assign a Custom Value to the unit whenever Bloodlust is learned:

Event - A unit learns a skill
Condition - [Hero Skill Comparison] (Learned Hero Skill) = Archmage - Blizzard
Action - Set Custom Value of (Learning Hero) to (Custom Value of (Learning Hero)) + 1

To let the Hero Skill Comparison work with custom skills, convert the trigger to Custom Text. Then replace the 4 letter code (AHbz) with the 4 letter code of your custom spell (To find this, open up the Object Editor and in the View menu go to Display Values as Raw Data).

Then, in your trigger, use Custom Value of (Casting Unit) wherever you need the level of the spell.