Hey guys, I got a problem with my skill learning system.
It learns all the skills correctly and preforms essentially what I want it to do, but it learns the spells 'Base Spell' rather than my 'Custom Spell.'
Anyone got any idea on how to fix this problem?
Here's my trigger..
Trigger:
Thorns Aura

Events


Unit - A unit Sells an item (from shop)

Conditions


(Item-type of (Sold Item)) Equal to Thorns Aura

Actions


Item - Remove (Sold Item)


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



If - Conditions




(Level of Thorns Aura (Aura) for (Buying unit)) Equal to 0



Then - Actions




Unit - Add Thorns Aura (Aura) to (Buying unit)




Wait 0.01 seconds




Unit - Set level of Thorns Aura (Aura) for (Buying unit) to 1




Game - Display to (Owner of (Buying unit)), at offset (0.00, 0.00) for 3.00 seconds the text: Your |cffffcc00Hero...



Else - Actions




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





If - Conditions






(Level of Thorns Aura (Aura) for (Buying unit)) Equal to 1





Then - Actions






Unit - Set level of Thorns Aura (Aura) for (Buying unit) to 2






Game - Display to (Owner of (Buying unit)), at offset (0.00, 0.00) for 3.00 seconds the text: Your |cffffcc00Hero...





Else - Actions






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







If - Conditions








(Level of Thorns Aura (Aura) for (Buying unit)) Equal to 2







Then - Actions








Unit - Set level of Thorns Aura (Aura) for (Buying unit) to 3








Game - Display to (Owner of (Buying unit)), at offset (0.00, 0.00) for 3.00 seconds the text: Your |cffffcc00Hero...







Else - Actions








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









If - Conditions










(Level of Thorns Aura (Aura) for (Buying unit)) Equal to 3









Then - Actions










Unit - Set level of Thorns Aura (Aura) for (Buying unit) to 4










Game - Display to (Owner of (Buying unit)), at offset (0.00, 0.00) for 3.00 seconds the text: Your |cffffcc00Hero...









Else - Actions










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











If - Conditions












(Level of Thorns Aura (Aura) for (Buying unit)) Equal to 4











Then - Actions












Unit - Set level of Thorns Aura (Aura) for (Buying unit) to 5












Game - Display to (Owner of (Buying unit)), at offset (0.00, 0.00) for 3.00 seconds the text: Your |cffffcc00Hero...











Else - Actions












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













If - Conditions














(Level of Thorns Aura (Aura) for (Buying unit)) Equal to 5













Then - Actions














Unit - Set level of Thorns Aura (Aura) for (Buying unit) to 6














Game - Display to (Owner of (Buying unit)), at offset (0.00, 0.00) for 3.00 seconds the text: Your |cffffcc00Hero...













Else - Actions














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















If - Conditions
















(Level of Thorns Aura (Aura) for (Buying unit)) Equal to 6















Then - Actions
















Unit - Set level of Thorns Aura (Aura) for (Buying unit) to 7
















Game - Display to (Owner of (Buying unit)), at offset (0.00, 0.00) for 3.00 seconds the text: Your |cffffcc00Hero...















Else - Actions
















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

















If - Conditions


















(Level of Thorns Aura (Aura) for (Buying unit)) Equal to 7

















Then - Actions


















Unit - Set level of Thorns Aura (Aura) for (Buying unit) to 8


















Game - Display to (Owner of (Buying unit)), at offset (0.00, 0.00) for 3.00 seconds the text: Your |cffffcc00Hero...

















Else - Actions


















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



















If - Conditions




















(Level of Thorns Aura (Aura) for (Buying unit)) Equal to 8



















Then - Actions




















Unit - Set level of Thorns Aura (Aura) for (Buying unit) to 9




















Game - Display to (Owner of (Buying unit)), at offset (0.00, 0.00) for 3.00 seconds the text: Your |cffffcc00Hero...



















Else - Actions




















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





















If - Conditions






















(Level of Thorns Aura (Aura) for (Buying unit)) Equal to 9





















Then - Actions






















Unit - Set level of Thorns Aura (Aura) for (Buying unit) to 10






















Game - Display to (Owner of (Buying unit)), at offset (0.00, 0.00) for 3.00 seconds the text: Your |cffffcc00Hero...





















Else - Actions






















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























If - Conditions
























(Level of Thorns Aura (Aura) for (Buying unit)) Equal to 10























Then - Actions
























Game - Display to (Owner of (Buying unit)), at offset (0.00, 0.00) for 3.00 seconds the text: |cff00ffffThorns Au...
























Player - Add 1 to (Owner of (Buying unit)) Current lumber