You create a behavior increasing the stats you want, health (called Life and found under Vitals) for instance, and make it stack infinitely. Each stack will grant 5 health, as you pointed out.
Then create a trigger that is called when the respective unit is created (Auto Turret). Count the number of attribute points (Strength in this instance) on your hero/caster unit and apply the behavior to the newly created unit. The stack count of the behavior corresponds to the number of attribute points.
This same trigger can be used for the two Strength and two Dexterity amplifiers.
The Wisdom is quite different, though. You have to set the duration of the ability Guardian Shield using the Catalog, and this must be done prior to the cast of the ability. If your Wisdom attribute doesn't fluctuate very much, e.g. it only changes when a user puts attribute points in it or equips an item, you may do a trigger that updates the affected abilities upon changing the Wisdom levels. However, if it does fluctuate a lot (e.g. abilities increase and decrease the levels of Wisdom) you should change the levels using the Catalog prior to casting the ability - that is if you are able to predict when this is going to happen.
I heard you can do these next 5 things through Triggers. How am I able to do this?
@admielke: Go
You create a behavior increasing the stats you want, health (called Life and found under Vitals) for instance, and make it stack infinitely. Each stack will grant 5 health, as you pointed out.
Then create a trigger that is called when the respective unit is created (Auto Turret). Count the number of attribute points (Strength in this instance) on your hero/caster unit and apply the behavior to the newly created unit. The stack count of the behavior corresponds to the number of attribute points.
This same trigger can be used for the two Strength and two Dexterity amplifiers.
The Wisdom is quite different, though. You have to set the duration of the ability Guardian Shield using the Catalog, and this must be done prior to the cast of the ability. If your Wisdom attribute doesn't fluctuate very much, e.g. it only changes when a user puts attribute points in it or equips an item, you may do a trigger that updates the affected abilities upon changing the Wisdom levels. However, if it does fluctuate a lot (e.g. abilities increase and decrease the levels of Wisdom) you should change the levels using the Catalog prior to casting the ability - that is if you are able to predict when this is going to happen.
@Kafoso: Go
Thanks! But what action would "Count the number of attribute points on your hero/caster unit and apply the behavior to the newly created unit."?
@admielke: Go
Attribute points are hidden behaviors (buffs) on your hero units, correct?
Then something like this should work:
In the above example heroes are stored in an array Hero[] of size 15. The index number corresponds to the respective player's number.
"Owner of (Created Unit)" returns the player number.
@Kafoso: Go
This is what I have and it doesn't work. When you said "from player (Owner of (Created unit))" isn't an option unless I passed it.