I'm trying to create a way for Hero to learn and level up skills without the Hero Skill button. Also, to save Shop space, players only need to click the same skill repeatedly to level it up.
What I've created is selling the Skills as items and creating 3 versions of the skill, then triggering it to remove the item and add the skill to the Hero. When a skill levels up, it is supposed to remove the previous level and add the new level. However, the trigger only allows the Hero to learn the skill. Clicking it repeatedly does not level up the skill, which is what I'm trying to do.
Finally, if the skill is maxed, player is refunded with the gold used, and a message pops up saying the skill is at its maximum level.
Btw, is there a way to make it so that players don't need to buy the item and directly gain the skill?
What I've created is selling the Skills as items and creating 3 versions of the skill, then triggering it to remove the item and add the skill to the Hero. When a skill levels up, it is supposed to remove the previous level and add the new level. However, the trigger only allows the Hero to learn the skill. Clicking it repeatedly does not level up the skill, which is what I'm trying to do.
Finally, if the skill is maxed, player is refunded with the gold used, and a message pops up saying the skill is at its maximum level.
Btw, is there a way to make it so that players don't need to buy the item and directly gain the skill?
-
Brilliance Aura Pack
-
Events
- Unit - A unit Acquires an item
-
Conditions
- (Item-type of (Item being manipulated)) Equal to Brilliance Aura
-
Actions
- Item - Remove (Item being manipulated)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Learned Hero Skill) Not equal to Brilliance Aura 1
-
Then - Actions
- Unit - Add Brilliance Aura 1 to (Triggering unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Learned Hero Skill) Equal to Brilliance Aura 1
-
Then - Actions
- Unit - Remove Brilliance Aura 1 from (Triggering unit)
- Unit - Add Brilliance Aura 2 to (Triggering unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Learned Hero Skill) Equal to Brilliance Aura 2
-
Then - Actions
- Unit - Remove Brilliance Aura 2 from (Triggering unit)
- Unit - Add Brilliance Aura 3 to (Triggering unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Learned Hero Skill) Equal to Brilliance Aura 3
-
Then - Actions
- -------- The skill is at its Maximum Level and cannot be upgraded again. --------
- Player - Add 100 to (Owner of (Triggering unit)) Current lumber
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Events