HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Adding an ability to an item

08-27-2005, 04:15 PM#1
sc_freek
Is it possible to add an ability to an item? I can't find a GUI trigger for it but perhaps it's possible to do in JASS?
08-27-2005, 04:23 PM#2
Vexorian
This will only work if a hero may only have one kind of that item.

Make the item add a spellbook ability that adds the abilities the item should add normally on level 1.

On level 2 of that spellbook ability make it add also the ability you want to add to the item with triggers.

Now whenever you want to add that ability to the item, increase the level of the spellbook ability for the hero that has the item.

Make sure you do that each time the hero picks the item, use a custom value to the item so you know which item has increased abilities.
08-27-2005, 04:47 PM#3
sc_freek
Well, I'm trying to get it to add an ability when you use the item on another item, like an enchanting sort of spell... Problem is that I have multiple items like this that I want with different effects added and have those effects stack...
08-27-2005, 04:52 PM#4
duckduck
make the item a spell book ability, and disable the abilities in map init.
when the item is enchanted, enlable the ability that should be added
08-27-2005, 04:56 PM#5
sc_freek
But then all items you have of the same type would get the abilities added from the enchant...
08-27-2005, 10:34 PM#6
Vexorian
Then you should use InvX, and I am being completelly serious about this, InvX is the only way at this moment
08-28-2005, 01:57 AM#7
sc_freek
could you give me the link?
08-28-2005, 07:09 PM#8
Thunder_Eye
http://www.thehelper.net/forums/showthread.php?s=4e162a9681895edb966b9c41a1a01a10&t=21404
08-29-2005, 01:07 AM#9
sc_freek
Thanks