I Have a skill called, Abnormal Frenzy which is based from an attribute bonus and is inside a spell book (agility spell book) I Initialized it to be disabled on the start of the game.
when the hero reaches a certain amount of agility then the spell would be enabled again but it seems like it does not work

when the hero reaches a certain amount of agility then the spell would be enabled again but it seems like it does not work
-
AAS1 Samurai Init
-
Events
-
Time - Elapsed game time is 0.04 seconds
-
-
Conditions
-
Actions
-
Player - Disable Abnormal Frenzy for Player 1 (Red)
-
Player - Disable Abnormal Frenzy for Player 2 (Blue)
-
-
-
AAS1 Samurai Learn
-
Events
-
Unit - A unit Learns a skill
-
-
Conditions
-
And - All (Conditions) are true
-
Conditions
-
(Learned Hero Skill) Equal to Agility Attribute
-
((Unit-type of (Triggering unit)) Equal to Samurai) or ((Unit-type of (Triggering unit)) Equal to Headhunter)
-
(Agility of (Triggering unit) (Include bonuses)) Greater than or equal to 23
-
-
-
-
Actions
-
Player - Enable Abnormal Frenzy for (Triggering player)
-
-