| 12-27-2003, 08:02 PM | #1 |
I am still trying to find an use for that function, I tried these stuff: - It won't work to make an item ability to stack - It won't prevent the ability for being removed - It won't prevent a hero ability from being unlearned - It won't make an ability timer to last forever - It won't make an added hero ability learnable The only thing that I found is that it returns true if the unit has the ability |
| 12-27-2003, 09:00 PM | #2 |
Well, Blizzard uses it after adding the Call To Arms ability to the first Townhall. So to test it one could remove that line of code and then look what is different about the Townhall. |
| 12-27-2003, 09:22 PM | #3 |
Well, that is a start, perhaps this has something to do with the Militia nerf |
| 12-27-2003, 09:34 PM | #4 | |
Quote:
http://www.blizzard.com/support/?id=mwr0769p |
| 12-27-2003, 09:47 PM | #5 |
Well, they just removed that ability from the unit type Townhall and then add it manually to the Townhall that is created at map init. But the question is why that native needs to be used on that afterwards. Maybe that prevents the ability from disappearing when you start upgrading the Townhall and then cancel it. |
| 12-27-2003, 11:40 PM | #6 |
- It does not make a buff last forever. Note: If you see little point in the above fact, look at the implementation of UnitRemoveBuffBJ. |
