| 07-22-2003, 12:08 AM | #1 |
i dont know if this is even possible... but this is what im trying to do: made items that summon a custom unit called catcher... its a wisp with the ability Possession. everything works untill here but here is what i dont know how to do. I dont want possession to always work. and i want it so as the enemy's health goes down, the chance of possession to work get higher. is there any way i can do that??? oh and if not then is there a way i can use possession with an item. so that the item has the ability possession...? I tryed making possession an item ability and adding it to an item but it doesnt work... |
| 07-22-2003, 05:14 AM | #2 |
Make a trigger that stores the owner of the target when a unit begins casting possession Make another trigger that goes off when a unit finishes casting possession, it'll make a random number between 1 and 100 and if the number is lower than (Targets current HP divided by targets max HP) it will give the targetted unit back to the original owner, which was stored above. If two units try to cast possession at the same time against two targets owned by different people and the first one to start casting fails, it will bug up and give that target to the player who owned the unit targetted by the second possesser... make sense? Hopefully you've only got one unit possessing... |
| 07-22-2003, 09:27 AM | #3 |
k thanx |
