| 08-02-2008, 04:18 PM | #1 |
I know we can remove/add the ability. But if the unit is casting this spell, then it stop the ability, it also remove the buffs and so one ... So have you a tip with the object editor and a script ? I tried to add an ability with the same orders and cooldown 0 ,but it doesn't anything until you don't order to cast it. So it can be done for a non target spell, but that's all. PS : I also tried with the channel ability 'ANcl' and deactivate the spell for the owner of the unit. |
| 08-02-2008, 11:11 PM | #2 |
How about disable all of its other abilities then use UnitResetCooldown() then enable the other abilities again. |
| 08-03-2008, 12:03 AM | #3 |
remove needed ability then add it again and set lvl you need. |
| 08-03-2008, 12:50 AM | #4 |
But if it's a hero ability, the hero will no longer be able to level it up. |
| 08-03-2008, 01:25 AM | #5 | |
Quote:
|
| 08-03-2008, 01:28 AM | #6 |
It's possible to reset all unit abilities trough triggers, but not single abilities. Maybe there's a way, but I don't know them.... |
| 08-03-2008, 04:30 AM | #7 | |
Quote:
|
| 08-03-2008, 09:07 AM | #8 |
Yeah, i was just about to ask that; Whats the deal with messing with levelable hero skills on heroes? Can you add them and make them levelable, can you remove and then readd them and they still work, will removing them only remove the levels currently invested? Please shed some light =) |
| 08-03-2008, 09:46 AM | #9 |
Well, so there are no right anwsers yet. Deactivate an ability doesn't affect the cooldown. And remove/add suck as hell. I didn't try with a spellbook, i will test this silly way. |
| 08-03-2008, 03:28 PM | #10 |
First, get the level of the ability and save it. Remove the ability from the unit, and then just check if it is a hero ability (by keeping a list, how to do it doesn't matter). If it is a hero ability, you can just give the very amount of ability points (what we investigated first) and order the hero to learn it. That's enouogh. If it isn't just re-add ability. |
| 08-03-2008, 04:25 PM | #11 |
That still won't work, dude. If it's a hero ability and still has levels, and you remove/add an ability, IT CANNOT be manually leveled by going into the Learn section when you level up. The only way to do that is with the Engineering Upgrade trick, which is a pain in the ass. |
| 08-03-2008, 04:35 PM | #12 |
If you add an ability that the hero has never had before, then you can't level it up in the skill screen. But if you remove an ability the hero started with (from the OE) and then add it back, it still works fine. |
| 08-03-2008, 04:58 PM | #13 |
darkwulfv, you need to differentiate between abilities and hero skills. We can add and remove abilities at will but we can't do anything like that with hero skills. So, if you remove one of the abilities a hero has learned, it will just remove the ability, it won't prevent the hero from learning it again as a hero skill, since you can't remove it from his skill learn menu. |
| 08-03-2008, 05:33 PM | #14 |
You are all forgetting one small complication: item cooldowns |
| 08-03-2008, 05:46 PM | #15 | |
Quote:
If you have the solution plz attach a map. @For the others who said me again remove/add ability: Remove/add the spell is a fucking shit if the unit is casting this ability. We could make a system with a timer to remove/add ability when the casting is finishes, but so the reset won't be immediate. |
