Hello, i need help...
i have ability like morphling(dota), manipulating stats(point of agility and strength)
I use base ability replenish and essence of blight,
i have problem when the spell is activated(autocast), there is no change the point of agility/strength, but if i click the spell, stats is change...
i want the stats going change when i autocast it...
anyone can hep me?????
this is my spell trigger
Agility Gain
Strength Gain
Learning the Spell
i'm sorry, my english is bad, but i know you're understand what i mean...
thank's
i have ability like morphling(dota), manipulating stats(point of agility and strength)
I use base ability replenish and essence of blight,
i have problem when the spell is activated(autocast), there is no change the point of agility/strength, but if i click the spell, stats is change...
i want the stats going change when i autocast it...
anyone can hep me?????
this is my spell trigger
Agility Gain
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to AGI
-
Actions
- Set STR_PLUS = (Strength of (Triggering unit) (Exclude bonuses))
- Set AGI_PLUS = (Agility of (Triggering unit) (Exclude bonuses))
- Set AGI_STR_Add[0] = (2 x (Level of AGI for (Triggering unit)))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (AGI_PLUS - AGI_STR_Add[0]) Greater than 0
- (STR_PLUS - AGI_STR_Add[0]) Greater than 0
-
Then - Actions
- Hero - Modify Agility of (Triggering unit): Add AGI_STR_Add[0]
- Hero - Modify Strength of (Triggering unit): Subtract AGI_STR_Add[0]
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (AGI_PLUS - AGI_STR_Add[0]) Less than or equal to 0
- (STR_PLUS - AGI_STR_Add[0]) Greater than 0
-
Then - Actions
- Hero - Modify Agility of (Triggering unit): Add AGI_STR_Add[0]
- Hero - Modify Strength of (Triggering unit): Subtract AGI_STR_Add[0]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
Strength Gain
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to STR
-
Actions
- Set STR_PLUS = (Strength of (Triggering unit) (Exclude bonuses))
- Set AGI_PLUS = (Agility of (Triggering unit) (Exclude bonuses))
- Set AGI_STR_Add[0] = (2 x (Level of AGI for (Triggering unit)))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (STR_PLUS - AGI_STR_Add[0]) Greater than 0
- (AGI_PLUS - AGI_STR_Add[0]) Greater than 0
-
Then - Actions
- Hero - Modify Agility of (Triggering unit): Subtract AGI_STR_Add[0]
- Hero - Modify Strength of (Triggering unit): Add AGI_STR_Add[0]
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (STR_PLUS - AGI_STR_Add[0]) Less than or equal to 0
- (AGI_PLUS - AGI_STR_Add[0]) Greater than 0
-
Then - Actions
- Hero - Modify Strength of (Triggering unit): Add AGI_STR_Add[0]
- Hero - Modify Agility of (Triggering unit): Subtract AGI_STR_Add[0]
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
Learning the Spell
-
Events
- Unit - A unit Learns a skill
-
Conditions
- (Learned Hero Skill) Equal to AGI
-
Actions
- Unit - Add STR to (Triggering unit)
- Unit - Set level of STR for (Triggering unit) to (Level of AGI for (Triggering unit))
i'm sorry, my english is bad, but i know you're understand what i mean...
thank's
Last edited: