| 12-19-2009, 04:06 PM | #1 |
i am encountering a weird problem. Say my hero has 20levels, and a player can completely learn all abilities by level 10. Meaning they used up all their points. But when i hit 11 after using up all ability points. I get an additional 1 point because i remove that ability A from the hero and replace it will a higher level ability A+1. I did this because i wanted the ultimate to scale by itself. I didn't wanted to set the ultimate ability to have different levels, if not people can learn it with points. I want it to scale by itself. But by using Remove Ability, it refunds me 1 additional point when i hit level 11 after the learn ability list is empty. Any idea how to solve this? Is really hard to explain >< I will try my best to explain my situation again if it is needed. Thanks in advance! |
| 12-19-2009, 04:23 PM | #2 |
If I got your giht, you are better off using the "engineering upgrade" to change the ultimate ability, and chnage available skill points and the ultimate ability level via triggers. |
| 12-19-2009, 06:49 PM | #3 |
An alternative would be to make the ultimate a passive ability without an icon, so that after it is learned it doesn't show up on the hero's command card. Instead, use a trigger to add the real ultimated ability when the dummy passive is learned. You then don't need to replace this ability with new abilities to upgrade it as the hero levels up, you can just give it multiple levels and level it up. |
| 12-19-2009, 07:05 PM | #4 | |
Quote:
|
| 12-20-2009, 01:46 AM | #5 |
I think I was having a similar problem concerning toggling between two abilities and maintaining the cooldown of the first one. My solution was to use SetPlayerAbilityAvailable, which works fine but is obviously not MUI for a player with multiple heroes of the same type. Is there a way to preserve cooldown even if the ability gets removed? I suppose I could get rid of cooldown and make the manacost high to prevent over abuse. |
| 12-20-2009, 03:04 AM | #6 |
Thanks all for the help! +rep to Anitarf. thats a really useful tips! EDIT: after testing it, when i remove the passive ability icon, it will turn green. Any idea which is the best ability i should base it on which will show research icon but not normal icon? |
| 12-20-2009, 09:09 AM | #7 |
You are not supposed to remove the icon path of the passive ability in the object editor. If you do this, the ability will still show on the hero after it is learnt but without an icon (which causes the green icon to appear). What you need to do is hide the ability itself to not show on the hero after it is learnt. And for this case, it is best to base it on attribute bonus. There is an option to make the ability not show in the command card. Or at least that's what I usually do, unless there's a better way for this? |
| 12-20-2009, 10:32 AM | #8 |
@TheWye Once again, awesome tip. It works perfectly and its the most simplest solution i can do. +rep! |
| 12-22-2009, 09:41 AM | #9 | |
Quote:
|
