• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Stacking item abilities manually for a hero like carried items

Status
Not open for further replies.
Level 26
Joined
Feb 2, 2006
Messages
1,698
Hi,
is it possible to add item abilities to a hero like the hero would carry multiple items of the same time?
I want to add them manually in JASS:
JASS:
call UnitAddAbilityBJ( 'AItf', hero )

For example, a hero carries 6 claws +15 damage it will cause + 6 * 15 damage.
Now I want to add the item ability 6 more times. Is this possible in a simple way without any complicated bonus system based on code/triggers?
It seems that adding the same ability multiple times to a hero does not stack.

The purpose would be to register abilities per item type and to allow additional inventories.

I could change the ability values with the new natives but the solution seems rather complicated.
I just remember some "bonus stats" systems from the past which allowed you to manually add bonus stats like damage, health etc. but it is not quite the same as adding abilities.
For example, some items have Critical Strike or Evasion which do stack in a very specific way for items.
 
Status
Not open for further replies.
Top