Hello, can anyone help me with an item? I want to create an item that gives a bonus to damage or lowers armor etc. but I want it to work only against a specific unit.
Can you elaborate a bit on that please? What is the orb of lightning doing that others are not? the damage to summoned units?Difficult without a damage detection system. If for some reason you don't want to use one of those, the first thing that comes to mind is a modified orb of lightning that uses abilities with very strict targeting requirements (your specific unit would have a classification (like ancient) that nothing else does and that's all the orb of lightning abilities can target).
Yes, you can easily do that.
nvm, I just noticed you wanted it for specific unit
Open World Editor from your warcraft III directoryGo to object editor. You can find at the top bar of WE, and you can also open by pressing f6.In the object editor, there are lots of object data used in your map, including Units, Upgrades, Buffs, and Items among othersYou are looking for items. Just click on the items tab to see the list of items.Pick any item you. right click the item from the list and select "New Custom item". this option will create a new item that is an exact copy of the item previously selectedEdit the data of your item as you please
I'm not even sure how I would do that in damage detect system. Have you considered using the event "unit is attacked" and if the specific-unit is attacked, add the item ability you wanted. I.e. unit is attacked event with condition being specific unit? if the unit is different remove the ability?
clearly not the most effecient but might work lol
Orb of lightning has an ability, that has a chance to automatically cast an ability on the attacked unit. For example the normal Orb of Lightning has a let's say a 30% chance to purge the attacked unit. You could use this and replace purge with another single target ability, that can only be cast on the boss. So you could use finger of death for example and make it so it can only target the boss. You probaly need to use classifications there like Kaijyuu said.Can you elaborate a bit on that please? What is the orb of lightning doing that others are not? the damage to summoned units?
therehmmm, that is an interesting idea, I will try it, thank you very much for the idea
EDIT: I can't seem to find the trigger for editing the item's ability while the boss is being attacked. I am pretty sure that if I had the trigger for that, it would work.
Orb of lightning has an ability, that has a chance to automatically cast an ability on the attacked unit. For example the normal Orb of Lightning has a let's say a 30% chance to purge the attacked unit. You could use this and replace purge with another single target ability, that can only be cast on the boss. So you could use finger of death for example and make it so it can only target the boss. You probaly need to use classifications there like Kaijyuu said.
Kaijyuu also said, that the best solution is to use a Damage Detection System (DDS) and I agree.
Here are two DDS I can recommend:
GUI-Friendly Damage Detection v1.2.1: Easy to use and enough for this problem.
Damage Engine 3.6.1.0: More advanced with a lot of features, but still easy to use.