| 02-19-2004, 02:56 AM | #1 |
I havent bothered with the editor scince at least patch 1.10, so things are a little screwey to me now (but thank god for that buff editing section). I created an ability based off of Frost Armor, and changed the buff art and whatnot, but I want to make it give "a chance to hex melee units that attack it (chance increases with level)". How do I do this? (I also want to get rid of the freezing thing, but I think I may have dealt with this) And a big n00bish question that I'm too lazy to figure out for myself, how do I increase the number of levels that a spell has (default is three on normal hero abilities). - yes I know thats very noobish, but I might as well get it out of the way now. -Thx. |
| 02-19-2004, 02:57 AM | #2 |
trigger the first one for the second u click like stats levels change it from 1 to 3 |
| 02-19-2004, 03:01 AM | #3 |
Run a check whenever a unit attacks another, If the unit has the frost armor buff, then pick a random number from <Percent to cast> to 100. If the number is less then or equal to <Percent to cast> then create an invisible unit with the Locust ability and hex. Order the invisible unit to Hex the attacking unit. |
| 02-19-2004, 03:08 AM | #4 |
What do u mean "run a check"? That rings a bell in the dark godforsaken caverns in my head, but i can't put my finger on it. Do you mean a generic unit event? |
| 02-20-2004, 09:56 PM | #5 |
Yes. Generic unit event - a unit is attacked. Condition - attacking unit is a melee attacker (unit classification check), that is, if you want it to apply only to melee attackers. Actions go as it has already been written. Just as a interesting fact, something that slightly resembles your problem: if you wanted to give a chance to hex when the buffed unit attacked, not was attacked, you could do this with one orb ability that can cast any spell you want on the target (originaly it casts slow, so it must be... orb of slow :ggani: ) |
