• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Removing an ability after research another.

Status
Not open for further replies.
Level 2
Joined
Jul 17, 2009
Messages
5
Greetings.
I need some help with trigger. Look, I have an unit Burning Archer who can shoot Fire Arrows. It's some kind of powerful ability. A Graveyard allows to research another ability for Burning Archer called Arrows of Deadflames; it's a powerful ability too. In my battle-kind map, Burning Archer with two of these skills would be too hard to kill and simply will be overpowered.
Burning Archer start with ability Fire Arrows. When Arrows of Deadflames are researched, Fire Arrows ability should be removed from Burning Archer but not only from existing ones but from those which will be trained later too. And I really don't have idea how to do this... I mean, removing ability after research from existing ones is easy but from next ones not...
Thanks.
 
Level 7
Joined
Jan 28, 2012
Messages
266
you could do it by having two burning archers, one with fire arrows the other with arrows of deadflames, and then do an upgrade similar to the orc berserker upgrade.
You will then need to copy
an ability called berserker upgrade and and set the new unit to Burning archer (with dead flames) and set its techtree dependencies to your upgrade. and then give your new Berserker upgrade ability to the burning archers.
 
Level 2
Joined
May 3, 2008
Messages
18
Probably a better way to solve this is to give all abilities to your archer at start and disable your level 2,3,4 etc spells for wanted players at map initialization.
After doing that research make it so level 1 is disabled for the owner of resarching unit, and enable level 2, and so on...
 
Status
Not open for further replies.
Top