Some ability related questions.

SkyXyden

New Member
Reaction score
3
1) Is it possible to only give skill point to a hero at certain level? (EG: 1 pt at every 10 lvls)

2) Lets say theres a shop that sells skill, and I bought a skill from it. Can the skill be added to my spellbook (skill)?

3) Is there anyway to make an item ability's icon show up?

Help is much appreciated =)
 

Drunken_God

Hopes to get back into Mapmaking with SC2 :)
Reaction score
106
1) every level remove the point of the hero but only on 10,20 ... not
2) yes i thinks so maybe disable the ability from startup and enable it when you buy it from the shopt
3) hmm maybe use another ability or create an ability with icon but with no effect
 

Trithilon-V2

New Member
Reaction score
20
1:- Use a trigger which sets the skill point 0 every levelup.
when hero level is a multiple of 10, just set it to 1
2:- Yes...and interesting one.
make a new spellbook "A" with the same orderid as the main spellbook "B".
Add the ability to "A" and disable "A" for all player at map init.
When you purchase the ability just add the "A" spellbook...and voila you have the ability added to your own spellbook "B"
You can directly level the ability inside the spellbook using normal actions.
Moreover you can remove the ability by removing the spellbook "A" itself.
3:- Depends on what you want......btw making the ability a Unit Ability just might work.
 

SkyXyden

New Member
Reaction score
3
1:- Use a trigger which sets the skill point 0 every levelup.
when hero level is a multiple of 10, just set it to 1
2:- Yes...and interesting one.
make a new spellbook "A" with the same orderid as the main spellbook "B".
Add the ability to "A" and disable "A" for all player at map init.
When you purchase the ability just add the "A" spellbook...and voila you have the ability added to your own spellbook "B"
You can directly level the ability inside the spellbook using normal actions.
Moreover you can remove the ability by removing the spellbook "A" itself.
3:- Depends on what you want......btw making the ability a Unit Ability just might work.

1) every level remove the point of the hero but only on 10,20 ... not
2) yes i thinks so maybe disable the ability from startup and enable it when you buy it from the shopt
3) hmm maybe use another ability or create an ability with icon but with no effect

1) What happen if you over level and forget to add the point? Then it would be gone right

2) My current way now is to disable them with level 0 research. And then set research to level 1 when they buy the skill.

3) I'm using what drunken suggested, and setting it to normal ability would not make it appear
 

Immolation

Member
Reaction score
20
1)
Code:
TriggerTest
    Events
        Unit - A unit Gains a level
    Conditions
        (Leveling Hero) Equal to (Last created unit)
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of (Triggering unit)) Not equal to 10
            Then - Actions
                Hero - Modify unspent skill points of (Last created unit): Subtract 1 points
            Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Level of (Triggering unit)) Equal to 10
                    Then - Actions
                        Do nothing
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                (Level of (Triggering unit)) Not equal to 20
                            Then - Actions
                                Hero - Modify unspent skill points of (Last created unit): Subtract 1 points
                            Else - Actions
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    If - Conditions
                                        (Level of (Triggering unit)) Equal to 20
                                    Then - Actions
                                        Do nothing
                                    Else - Actions etc....

You could try to use If/Then/Elses :p
 

SkyXyden

New Member
Reaction score
3
1)
Code:
TriggerTest
    Events
        Unit - A unit Gains a level
    Conditions
        (Leveling Hero) Equal to (Last created unit)
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of (Triggering unit)) Not equal to 10
            Then - Actions
                Hero - Modify unspent skill points of (Last created unit): Subtract 1 points
            Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Level of (Triggering unit)) Equal to 10
                    Then - Actions
                        Do nothing
                    Else - Actions
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            If - Conditions
                                (Level of (Triggering unit)) Not equal to 20
                            Then - Actions
                                Hero - Modify unspent skill points of (Last created unit): Subtract 1 points
                            Else - Actions
                                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    If - Conditions
                                        (Level of (Triggering unit)) Equal to 20
                                    Then - Actions
                                        Do nothing
                                    Else - Actions etc....

You could try to use If/Then/Elses :p

Good idea. I shall try that =D
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top