Im trying to make a map like Custom hero arena but i'm having problem with learning that skill after entering a region.
So here are the Triggers:
its a custom item i made
C-Avatar is a custom ability i made if u havent figured it out already.
Im having a problem, that when a hero enters "finallygetskill" with 1 skill point i still have not learned that ability
So here are the Triggers:
Trigger:
- Set SkillItem[1] = Buy Avatar
its a custom item i made
Trigger:
- Avatar Copy
- Events
- Unit - A unit enters finallygetskill <gen>
- Conditions
- Actions
- -------- 1 --------
- For each (Integer A) from 1 to 6, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Item-type of (Item carried by (Triggering unit) in slot (Integer A))) Equal to SkillItem[1]
- Then - Actions
- Hero - Learn skill for (Triggering unit): C-Avatar
- Game - Display to (All players) the text: test
- Item - Remove (Item carried by (Triggering unit) of type SkillItem[1])
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Events
C-Avatar is a custom ability i made if u havent figured it out already.
Im having a problem, that when a hero enters "finallygetskill" with 1 skill point i still have not learned that ability