| 11-01-2003, 03:37 PM | #1 |
i'm trying to make a Trap hero. His skills will be lightning ward *hehe lame* net trap * casts ensnare nothing special* Lightning ward is proving to be tough though. What i want it to do is every couple seconds *a random number between 2-5* its gonna pick every unit in a region that belongs to an enemy player. Picks 1- level of skill and shots chain lightning at them. I'm unable to set it to check the level of the skill. I can't any way to do this. I even tried creating a variable thats an integer and every time they invest a point into the skill it adds one to the integer. If you know how i could fix that i'd appreciate help. Also its not that odvious. I was on the spell editor for about 2 hours last night trying to get this to work. Hero skills variables or whatnot has to be defined to a blizzard spell no custom things. And i couldn't find any ability variable types. Thats about all i found. If you can figure a solution i'd be happy. Oh yeah this is 4 triggers 1 to turn on the spell another to deactivate it and one that checks every couple of seconds than one that sets the level of the spell. |
| 11-01-2003, 04:30 PM | #2 |
The level of what skill? If it's the level of the ability that drops the lightning ward.... there are a couple ways to go about it... 1. make a different lightning ward for each level of the hero ability, and make a separate chain lightning ability for each of them. 2. make the lightning ward a hero and make a chain lightning hero ability and trigger it so when the lightning ward ability is used, it gives the lightning ward being created a number of skill points equal to the level of the ability (minus one, because heros start with 1 point) and learns lightning ward that number of times. If it's the hero level of the casting hero, I think you're going to have to go with something more like the second option... (EDIT) wait... why are you using triggers now?? |
