You could do something like, when the ability is cast, replace it with a passive version of the ability that does nothing. Then when the hero is killed, replace the passive ability with the real one again.
You could do something like, when the ability is cast, replace it with a passive version of the ability that does nothing. Then when the hero is killed, replace the passive ability with the real one again.
Just give the ability an extremely long cooldown, and make a trigger that saves the level of the ability, removes, adds, and resets the level of the ability upon death. (Removing and adding an ability resets that ability's cooldown.)
Just thought I'd mention another option: (ab)using the Techtree requirement for a unit. Then, the ability works when your player is in control of that unit.
In this example, the unit is named "A nearby hero slain":
When you want to allow the player to use this ability, create this required unit for him in some secret place as locusted (so, similar to being a dummy). Then remove it when you want it disabled again.
Similar to Weep's option, what's good about this is that it keeps the actual ability cooldown (if you want one), as well.
I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
I would like to see it again like Ghan had it the first time with pagination though - without the pagination that view will not work but with pagination it just might...