Witardo
W
Witardo
Hello, I am having problems making this skill, let's say I got 3 custom abillities:
- Constitution (Hero skill, which he lvls up and runs the trigger)
- Health bonus (Unit skill, giving +10 max HP each level of constitution)
- Armor bonus (Unit skill, giving +1 armor each 2 levels of constitution)
This is the trigger I'm trying to use, thought I've used many many other options:
I've got same problem with another spell called Wisdom which should increase max mana and I've even tried with stat bonuses (strenght bonus/intelligence bonus) and also not stacking/lvling up.
Can anyone help me?
- Constitution (Hero skill, which he lvls up and runs the trigger)
- Health bonus (Unit skill, giving +10 max HP each level of constitution)
- Armor bonus (Unit skill, giving +1 armor each 2 levels of constitution)
This is the trigger I'm trying to use, thought I've used many many other options:
-
Constitution
-

Events
-


Unit - A unit Learns a skill
-
-

Conditions
-


(Learned Hero Skill) Equal to Constitution
-
-

Actions
-


Set ConsCounter[(Player number of (Owner of (Triggering unit)))] = (ConsCounter[(Player number of (Owner of (Triggering unit)))] + 1)
-


Set ConsLevel[(Player number of (Owner of (Triggering unit)))] = (ConsLevel[(Player number of (Owner of (Triggering unit)))] + 1)
-


Quest - Display to (Player group((Owner of (Triggering unit)))) the Hint message: (Your Constitution is now Level + (String(ConsLevel[(Player number of (Owner of (Triggering unit)))])))
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Level of Constitution for (Triggering unit)) Equal to 1
-
-



Then - Actions
-




Unit - Add Health bonus to (Triggering unit)
-
-



Else - Actions
-




Unit - Set level of Health bonus for (Triggering unit) to ConsLevel[(Player number of (Owner of (Triggering unit)))]
-
-
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




ConsCounter[(Player number of (Owner of (Triggering unit)))] Equal to 2
-
-



Then - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






ConsLevel[(Player number of (Owner of (Triggering unit)))] Equal to 2
-
-





Then - Actions
-






Unit - Add Armor bonus to (Triggering unit)
-
-





Else - Actions
-






Unit - Set level of Armor bonus for (Triggering unit) to (ConsLevel[(Player number of (Owner of (Triggering unit)))] / 2)
-
-
-




Set ConsCounter[(Player number of (Triggering player))] = 0
-
-



Else - Actions
-
-
-
I've got same problem with another spell called Wisdom which should increase max mana and I've even tried with stat bonuses (strenght bonus/intelligence bonus) and also not stacking/lvling up.
Can anyone help me?
Last edited by a moderator:

