• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Item providing Stacking bonuses

Status
Not open for further replies.
Level 2
Joined
Apr 16, 2019
Messages
9
Hi y'all - I've always wanted to make a custom map. I've finally started building one and I'm super motivated to see all my ideas come to life. I have no experience in using the WC3 Editor so my first few days have been so frustrating (I feel like this should be much easier than it is).

I've hit a snag that's been driving me absolutely crazy. I've tried multiple methods - looked on forums, dl'd example maps, spied upon similar maps, etc. but nothing is working for me. AND I FEEL LIKE ITS SO SIMPLE.

Here it is: I have an item. Attack Damage +4. My unit purchases it. My unit now has 1x of said item.
Unit purchases another (the same item). But instead of creating a new item (2x of the same item in inventory) they stack. So now I have Attack Damage +4 (x2) in one item. This now gives my unit Attack Damage +8 and so forth.

HOW IS THIS SO HARD TO CONFIGURE?????? I've scoured all the triggers trying to do this simple thing and I'm having no luck. It's been 2 days already trying to accomplish this one thing and I'm about to take a break for my sanity.

Any help is appreciated^^

Thanks v/r Rob
 
Level 45
Joined
Feb 27, 2007
Messages
5,578
Welcome to the community! Items were never designed to work like that in wc3, so it's essentially impossible without some triggers to help you. There might be a system or two that gets close to what you need. It may be easiest, depending on how many such items you have in your map, to simple give every unit a levelable version of the attack damage bonus ability with N levels and set it to the appropriate level for each unit to the right amount when they pick up and drop items.

Easy Item Stack 'n Split v2.7.4 (I know this is just for consumables, not permanent items with bonuses, but it may still be helpful)
[General] - Stacking Item Bonus (testmap in here may prove useful if you look at the triggers, though I can't vouch for them being perfect)
Stacking Boots of Speed? (this is what I described with N levels above)
[code=jass] Custom Stat System (CSS) v1.5g (combine with item stacking maybe? idk, read about it)
BonusMod - Wc3C.net (this one might or might not compile on your computer, it seems to be a random per-system lua error so it's a crapshoot; I happen to be able to compile it)
 
Status
Not open for further replies.
Top