HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Add Skill on Item Purchase

04-07-2008, 11:10 PM#1
Valdez
Ok, let me try and explain how I want this to work.

When a Hero purchases a default item (Representing a skill). I want that ability to be added to his available learnable skills when they level up.

I already have the purchasing of the item and the series of actions and conditions leading up to adding the skill but I cannot find an Action that will add it to their learnable skills.

All units start without any skills btw.
04-07-2008, 11:28 PM#2
Vexorian
This is actually very easy, check this map out
Attached Files
File type: w3xEngineering Upgrade Test.w3x (20.6 KB)
04-07-2008, 11:50 PM#3
Valdez
That is how I'd like it to work but I don't quite understand everything that they did via that map.. So I'm not exactly shure if I can use it. I know your pretty much master of all spells but unless someone can explain how to do that without using Copy/Paste I think I will have to go back to the drawing board!
04-09-2008, 05:43 AM#4
Pyrogasm
This is how it works: you have 1 ability, let's call it "Base". Each hero has the ability Base in its list of "Hero spells" 4 times. Then you create all of your normal skills that you want to be levelable; finally you create a whole ton of Engineering Upgrade-based spells that transform "Base" into the normal abilities.

So for these upgrade abilities, the the ability changing field would look like this: Data - Ability Upgrade 1 - Base, Shockwave (Shockwave being the normal spell). And the rest of the upgrade slots are blank.

Then, when a hero buys an item, you simply add the appropriate Engineering Upgrade spell to the hero and transform one of the Bases into the bough spell.