BiGyElLoWhAt
New Member
- Reaction score
- 1
I want to be able to level up items, which I can do via triggers. Is there a way to create new items within the game to replace the old one, without having to physically make each item and all of it's upgrades, plus trigger in each upgrade individually?
I'm looking for something like this:
Event
unit acquires an item
condition
item equal to (item)
action
set item level = item level + 1
that sets up the int variable which will be used for stat adjustment and upgrade cost. I was thinking the easiest way to upgrade would be to sell the item to a shop for 0 gold, then buy the upgraded item for the upgrade cost.
soo...
Event
unit sells an item
condition
item equal to (item)
action
neutral passive add item (item) +1 to shops inventory
set price = 500*item level
and then one thing I don't understand, I've been told you can't edit unit data variably, but they definitely use variables in the data (at least in tooltips). I have a shop that sells various upgrades of an ability basically fan of knives, and the tooltip changed as I adjusted the damage. Can I set the damage buff of an item = base + item level? If so, how?
I'm looking for something like this:
Event
unit acquires an item
condition
item equal to (item)
action
set item level = item level + 1
that sets up the int variable which will be used for stat adjustment and upgrade cost. I was thinking the easiest way to upgrade would be to sell the item to a shop for 0 gold, then buy the upgraded item for the upgrade cost.
soo...
Event
unit sells an item
condition
item equal to (item)
action
neutral passive add item (item) +1 to shops inventory
set price = 500*item level
and then one thing I don't understand, I've been told you can't edit unit data variably, but they definitely use variables in the data (at least in tooltips). I have a shop that sells various upgrades of an ability basically fan of knives, and the tooltip changed as I adjusted the damage. Can I set the damage buff of an item = base + item level? If so, how?