| 01-16-2006, 10:13 AM | #1 |
I was wondering if it's possible to 'add' abilitys to items like adding them to heros. So say I have one item that gives the hero using it +6 damage. And I want to add the fire orb ability to the item, is this possible in any way with triggers or do I have to make a new item for each ability? |
| 01-16-2006, 10:21 AM | #2 |
You cant add abilities to items by triggers (you can have multiple abilities on 1 item tho). You could however just have 1 dummyability on the item and trigger the effects. For passive abilities just add them to the hero instead (using the spellbook trick) |
| 01-16-2006, 10:29 AM | #3 |
Well, its not possible directly, BUT! In most cases, you can add an ability directly to the hero without any side effects (unwanted buttons etc). Of course, you will need a system which detects which items on hero currently have these extra abilities and which don't, and treats item buying/dropping/trading accordingly. IMO - more trouble that its worth, but if you can't live without it, i think you can find a ready-made system somewhere. |
| 01-16-2006, 10:44 AM | #4 |
Darn shame :( I wish it was possible so I wouldn't have to do as much work :P Thanks anyway :D |
| 01-16-2006, 12:38 PM | #5 |
Or make every combination of item and stick them in an array :) |
| 01-16-2006, 12:56 PM | #6 | |
Quote:
Or, you could check out Vex's InvX or any other item system to see if any of them does what you need. |
| 01-16-2006, 02:47 PM | #7 |
you can't add abilities to items. But you can remove abilities from items, seriosly. Let's say your item has 4 abilities: a , b ,c and d Trigger: ![]() Acquire swordTrigger: ![]() -- Do this at sword level up --![]() set SwordLevel=SwordLevel+1![]() Unit - Drop (-- The item of type Sword held by the hero) from (--the hero--)![]() Unit - Give (Last droped item) to (--the hero--)![]() -- when the unit gets the item again, all the abilities are restored -- |
| 01-16-2006, 02:56 PM | #8 |
Wait up vexorian not so fast :) Basically what you are saying if the following is true: 1) There is a unit Hero 2) There is an item Item 3) Item has ability A 4) Item is carried by Hero Then if you do (unit-remove ability A from unit Hero) then it will disable item-given ability A? In other words, if my hero carries a, say, orb of darkness. Then unit-remove ability Orb of Darkness will stop the orb's effect? Does this work for active abilities too? So that i can, say, temporarily disable lightning from thunderlizard gem? |
| 01-16-2006, 03:00 PM | #9 |
yeah sure. Not that if a hero has more of an item of the same type or more than one item that is held by the hero use the ability you are removing that will affect them all |
| 01-17-2006, 05:29 PM | #10 |
You could use Vexorian's InvX system to give the ability to a gem (Gems go in items for bonus stuff) and make the gem go into the item you want to give the ability (You probably won't have a clue what i'm on about unless you've checked it out) and that would mean the ability stayed with the item rather than hero so maybe less work in the long run. PS: This post doesn't make sense but i'm too lazy to write it again^ |
