• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Skill Requirement for obtaining other Skills.

Status
Not open for further replies.
Level 2
Joined
Jun 25, 2008
Messages
14
I'm selling Hero Skills through Neutral Shops. The skills are divided into Tier-1 and Tier-2. For simplicity's sake, lets assume all skills only has 1 Level. Lets also assume that there is 15 Tier-1 Skills, and the Hero must have ATLEAST 3 Tier-1 skills before purchasing Tier-2 Skills.

Is there a function which allows me to detect the NUMBER of Skills a Hero has?
Would it be any different if I were to add additional Levels to the skills?
 
Ye, or you buy the same spell twice.

''If unit has ability BLÖH (lvl1), then remove ability BLÖH (lvl1) and add ability BLÖH (lvl2)
Else add ability BLÖH (lvl1)

Edit: Sorry, forgot that blizzard doesn't have a condition for ''Unit has ability''. Why doesn't it?!
 
Status
Not open for further replies.
Back
Top