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:
 
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
 
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:
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.
Back
Top