Hi.
I have put an item stacking system in my map and have given an item the abilities 'potion of clarity' and a modified 'scroll of speed'. The aim is to create a potion that restores mana with a reduction of speed but when I use the potion in tests 2 are consumed in a single click.
Is there something I'm missing in the object editor to prevent this?
Also, I'm very curious why the abilities used for items have levels. Is there a way to manipulate this and add levels to an ability when an item is used successively without triggering it?
For example, given the 'potion of clarity' effect gives mana over time, adding a level would increase the duration and amount of mana gained effectively stacking the potion's effect. So consuming 10 pots in quick succession would produce a much faster rate of mana gain.
EDIT:
I made a trigger to simulate the same effects while adding leveling but the auras keep disappearing and reappearing !!
I attached the map if you can't see the problem from the trigger, I sure can't. Why are the buffs disappearing ????
I have put an item stacking system in my map and have given an item the abilities 'potion of clarity' and a modified 'scroll of speed'. The aim is to create a potion that restores mana with a reduction of speed but when I use the potion in tests 2 are consumed in a single click.
Is there something I'm missing in the object editor to prevent this?
Also, I'm very curious why the abilities used for items have levels. Is there a way to manipulate this and add levels to an ability when an item is used successively without triggering it?
For example, given the 'potion of clarity' effect gives mana over time, adding a level would increase the duration and amount of mana gained effectively stacking the potion's effect. So consuming 10 pots in quick succession would produce a much faster rate of mana gain.
EDIT:
I made a trigger to simulate the same effects while adding leveling but the auras keep disappearing and reappearing !!
-
weedbonus
-
Events
- Unit - A unit Uses an item
-
Conditions
- (Item-type of (Item being manipulated)) Equal to Weed (nr)
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Brilliance Aura for (Triggering unit)) Equal to 0
-
Then - Actions
- Unit - Add Brilliance Aura to (Triggering unit)
- Unit - Add Dopey to (Triggering unit)
- Wait 20.00 seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of Brilliance Aura for (Triggering unit)) Equal to 1
-
Then - Actions
- Unit - Remove Brilliance Aura from (Triggering unit)
- Unit - Remove Dopey from (Triggering unit)
-
Else - Actions
- Wait until ((Level of Brilliance Aura for (Triggering unit)) Equal to 1), checking every 1.00 seconds
- Unit - Remove Brilliance Aura from (Triggering unit)
- Unit - Remove Dopey from (Triggering unit)
-
If - Conditions
-
Else - Actions
- Unit - Increase level of Brilliance Aura for (Triggering unit)
- Unit - Increase level of Dopey for (Triggering unit)
- Wait 20.00 seconds
- Unit - Decrease level of Brilliance Aura for (Triggering unit)
- Unit - Decrease level of Dopey for (Triggering unit)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
I attached the map if you can't see the problem from the trigger, I sure can't. Why are the buffs disappearing ????
Attachments
Last edited: