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

[General] Can you simplify upgrading an item?

Status
Not open for further replies.
Level 4
Joined
Feb 7, 2015
Messages
67
Like Jampion said, use charges.
Create item abilities (with levels) every 10 multiples.
Ability A will give +1 damage every level
Ability B will give +10 damage every level
Ability C will give +100 damage every level
All three abilities give +0 damage at level 1.

Let's say item start with 0 charges. Hero picks item, give all three abilities to hero at level 1.
Hero levels up the item, increase ability A level by 1. If Ability A has reached level 11, reset ability A to level 1 and increase ability B by 1 level.

If somehow the item of yours must have charges, then create a dummy, preferably a tree. Or a doodad. Set ability level = hit point of the dummy. Link the two with arrays.

Description, unfortunately, cannot be changed (probably it can but i just don't know it).
It's much easier to create a spell book ability. When the item is used, it will open the spell book containing passive which describes the item's functionality. Or just use game message when item is clicked. :/
 
Last edited:
Level 16
Joined
Mar 25, 2016
Messages
1,327
Create item abilities (with levels) every 10 multiples.
Ability A will give +1 damage every level
Ability B will give +10 damage every level
Ability C will give +100 damage every level
All three abilities give +0 damage at level 1.
These item abilities cannot be leveled (they will always have the effect of level 1).
Here is an old system, that allows to change a unit's stats (attack damage, armor, ...)
[System] Bonus Mod & SetUnitMaxState
https://www.hiveworkshop.com/threads/system-bonus-mod-setunitmaxstate.65622/
I don't know if there is a newer/better system, since this one is graveyarded.
 
Status
Not open for further replies.
Top