HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Break the limit of item abilities!

10-23-2002, 02:55 AM#1
ESPER_PALE
As we all know, only 3 abilities of items can be available. So we can only make a custom item with +45 damage or +15 armor maximally.

Here is a demo map I made for implementing a "Special Item System". with it you can make items with unlimited abilities! and all the operations(acquire, drop, give) of special item can be done correctly!

The remove item bug it used is firstly found by my friend Danexx. And I use Game Cache for removing the effects of special items, but I have tested the map on unoffical bnet in multi-player game, it works well! I don't know why all the people say can not.
10-23-2002, 10:47 AM#2
SuperIKI
Good job. But why do the abilities stay when you give the hero an item and remove it with a seperate trigger when it's created?
If you just create and then remove, the abilities go away. If you use the two triggers, they stay.
I think that your map uses a war3 bug. Good job.
Bad, that your hero gets deselected after getting deleted and being restored from the game cache.
All in all: SUPERB!!!
10-23-2002, 11:54 PM#3
ESPER_PALE
I think the bug comes from the wrong order of calling the "Hero Acquires Item" trigger. When a item is given to a hero, all the things is done by the following order I guess:

step 1: Suspends the trigger who call the "Create Item For Hero" or "Give Item To Hero" action.

step 2: Runs the trigger "Hero Acquires Item"

step 3: Moves the manipulated item to the hero, and adds the item's bonus to the hero. (by native codes)

step 4: Resumes the caller trigger.

So if u delete the item at step 2, at step 3 native codes will fail to move the item, but the bonus adding operation will be done as normal.