| 04-25-2008, 02:31 AM | #1 |
I have a trigger that adds 10 more stat points to the hero after it reincarnates (that spell), but the trigger isn't reading it right, any suggestions? Also, i tried using immolation and makes him invulernable and have a divine shield buff on him, but the trigger that makes him invulnerable isn't picking up the immolation either like the first question, dont know what event corresponds to these spells. |
| 04-25-2008, 02:34 AM | #2 |
show us trigger |
| 04-25-2008, 04:04 PM | #3 |
Sorry The immolation + invulerable, I figured out most of it, except for checking DivineMight: DivineMightCheck: I attempted to check if the user deactivated immolation use by checking for the buff...but it didn't go so well, even canceled out the 1st If-Then-Else which worked fine by itself. I'm kinda sure there's a easier way but I'm kinda bad at triggers. I had this for the revive one, didn't work at all. |
| 04-27-2008, 10:08 PM | #4 |
Well, for the immolation thing, the reason the unit isn't turning invulnerable is simply because those actions don't work. Instead, you should just add/remove the "Invulnerable (Neutral)" ability to/from the unit. In fact, there's an easy way to make that spell be MUI and work off of buffs, simply like this: Trigger: Trigger: As for why your revival trigger doesn't work, it's because Reincarnation doesn't trigger a spell cast/effect event. So... I don't really know a workaround. I think maybe Vexorian found a way to detect reincarnation events, but I don't know it off the top of my head. I'd try some searching. |
| 04-28-2008, 06:24 AM | #5 |
I think Vex's way was to detect if the unit was dying (0.405 health or less) then detect if they had the buff. |
