• 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.

Simple Talentsystem

Status
Not open for further replies.
Level 5
Joined
Feb 6, 2009
Messages
96
Hi everybody i wanted to add a simple talentsystem in my map...
which is simply where you can upgrade stuff like that your sommend creatures have more life... thats no problem!

But! Could somebody help me i want to make a talent that when you upgrade it increases the dmg of a spell or it decreases the mana/Cooldown of a spell

Frozenbrain:ned:
 
Level 5
Joined
Feb 6, 2009
Messages
96
what do you mean for units?
i know how i can increase dmg of units... i need to know how i can increase the dmg of spells by upgrades
 
Level 5
Joined
Feb 6, 2009
Messages
96
thank you very much garfield! thats what i wanted! :)

Edit:
I tried to copy it to my map but there is a warning what says that in the following trigger is a mistake

set udg_Upgrade_Level[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))] = ( udg_Upgrade_Level[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))] + 1 )
 
Last edited:
Level 20
Joined
Jul 6, 2009
Messages
1,885
thank you very much garfield! thats what i wanted! :)

Edit:
I tried to copy it to my map but there is a warning what says that in the following trigger is a mistake

set udg_Upgrade_Level[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))] = ( udg_Upgrade_Level[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))] + 1 )

I think you didn't make exactly same variable,it's an integer array variable with starting value as 1
 
Status
Not open for further replies.
Top