• 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.

Permanent Item stacking

Status
Not open for further replies.
Level 5
Joined
May 24, 2017
Messages
93
I have seen in Warcraft 3 maps that some permanent items can be stacked in 1 hero inventory slot but the hero still gets the buffs from all the items. How is this done? For example: 15 Claws of Attack in 1 slot and the hero gets a damage bonus of 225 which is 15 times 15.
 
Level 5
Joined
May 24, 2017
Messages
93
I have looked for a system but can only find systems that combine charges for consumables like potions like work once. But claws of attack while charged only give one 15 damage buff.
 
Level 30
Joined
Feb 18, 2014
Messages
3,623
You can simply replace the item if the hero already has it by creating multiples versions of it E.g :

A unit Acquires an item

Item type of Item being manipulated Equal to Claws of Attack +5

If condition Hero manipulating item has an item of type Claws of Attack +5 Equal to True

Then remove item carried by hero manipulating item of type Claws of Attack +5
Add Claws of Attack +10 to the hero manipulating item
 
Level 5
Joined
May 24, 2017
Messages
93
Check how items stack using the new stacking system built into Warcraft III. This has to be enabled in gameplay constants.
I found what your talking about but, it just stacks the claws of attack. It does not give a bonus to damage for each one in the stack. It only gives a bonus for each slot no matter the number of charges.
 
Status
Not open for further replies.
Top