hero number of skills

andrei009

Member
Reaction score
1
How do i check the number of skills that my hero have?

i'm using this system to buy skills from shop , but i want to be able to buy only 5 skills for each hero (a player can have only one hero)

so , how do i check the number of skills learned?
 

vonDarkmoor

New Member
Reaction score
9
You can have it set so that whenever a hero buys a spell it runs a trigger that goes:

Sry for the crude trigger, i dont know how to type directly into the GUI tags
after a quick look at the system your using you could prolly integrate this into the system
Trigger:
  • if dummy item A
    • then
      • if hero have ability A
        • then
          • increase ability level
        • else
          • if integer[player number of owner of buying unit] less than 5
            • then
              • give hero ability A
              • add 1 to integer[player number of owner of buying unit]
            • else
              • message player[player number of owner of buying unit] "you cant buy any more spells"
    • else
      • if dummy item B
        • then
          • so on and so forth
 

Inflicted

Currently inactive
Reaction score
63
cant u just make a count that increases everytime an ability is learned or gained?

---

note that i havent checked that system on the link you gave in ur first post.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top