| 11-16-2007, 09:32 PM | #1 |
I need help for a trigger with my map, this is what i need: i need it so that when the boss gets to 1 hp ((like right before he is about to die)) it stops and then i can do events after that so basicly i jsut need it to stop him from diging and getting damage when he gets down to 1 hp. oh yeah before i forget can someone tell me how to remove abilitys from hereos like in my map if you have a shield you can do the ability "Shield Bash" but if you dont have it you can't how do i make it that if you have no shield that ability doesnt show up in your ability list thing and if you do have a shield it does |
| 11-16-2007, 10:00 PM | #2 |
erm, what about detecting any incoming damage, and if the incoming damage is more than the remaining hp set the incoming damage to zero and do some other actions |
| 11-16-2007, 11:37 PM | #4 |
umm how do u do that? :D |
| 11-16-2007, 11:47 PM | #5 |
Deaod is close, but wrong. register the boss for a damage event. if the damage being delt to it is greater than its current HP, set its HP above the delt damage. if its max HP may be less than the damage delt, you will need to add to a units max HP, then start a 0 timeout timer, in the callback, restoring normal max HP. |
| 11-17-2007, 10:50 AM | #6 |
To the boss: Why don't you maka him just invulnerable? In case you don't want him to be invulnerable but not to be able to take damage than you could add 100% evasion and a spellshield without cool-down. To the ability: I would suggest making use of the techtree-requirement field, so you add the thing required on picking up a shield and remove it on drop. (don't use upgrades since those can't be removed/downgraded) |
| 11-17-2007, 03:37 PM | #7 |
thanks all |
